Proper error message using conan remote disable/enable if remote doesn't exist
See original GitHub issueUsing Conan 1.19 you will be able to enable or disable remotes with conan remote enable/disable remote_name
. If the remote does not exist there is no error message. There should be one error message in this case.
To help us debug your issue please explain:
- I’ve read the CONTRIBUTING guide.
- I’ve specified the Conan version, operating system version and any tool that can be relevant.
- I’ve explained the steps to reproduce the error or the motivation/use case of the question/suggestion.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
conan remote — conan 1.53.0 documentation
Adding the --force argument to conan remote add will always work, and won't raise an error. If an existing remote exists with that...
Read more >Troubleshooting Git - GitLab Docs
Here are some tips on troubleshooting and resolving issues with Git. Broken pipe errors on git push. 'Broken pipe' errors can occur when...
Read more >Conan search failures - Nexus Repository Manager
Disable it by using conan remote disable, Then try again. Here is a successful search of the public repository, labeled Conan-center in my ......
Read more >Known Issues - JFrog - JFrog Documentation
Disabling the Contextual Analysis on a Docker repository causes the enabling switch to disappear from the UI and HTTP 500 errors. 3.52.4. Xray ......
Read more >FAQ - Docs
x.x downloads; How to migrate from Gogs/GitHub/etc. to Gitea; Where does Gitea store what file ... If that doesn't exist, you can try...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
From Slack’s discussion with @lasote it was decided that passing the output into
Remotes
would be unnecessarily complex. Up until there is an output refactor that would include work on the output verbosity - it’s better to leave it simple. Given that the current PR is sufficient. 🙂Note that in the current implementation the wildcard case does not throw an error if nothing was picked. 🙂
About the output, the
Remotes
class doesn’t have theoutput
as an attribute. Is the right approach to pass it down as a function parameter? Wouldn’t it be too much? Or returning an output? Again, a bit wacky.