Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add --force option to conan remote remove #3417
This PR adds
This is useful to write idempotent scripts.
For our use specific use case, we want to ensure that we pull from only our own private remotes. The
The corresponding documentation PR can be found here: conan-io/docs#791
referenced this pull request
Aug 28, 2018
Thanks for this PR, I think it makes sense and could be merged, waiting for @lasote feedback.
In any case, I would like to ask if you know that defining a "remotes.txt" files in a repo or zip file (local or remote via http), with the remotes you want, then those remotes are defined, removing previous existing remotes. The advantage of this method is that is the same also for developers machines, and can be extended to include profiles, and other conan configuration too. If not, please check
Yes, agree that
Thanks for the feedback!
@lasote the motivation for
@memsharded thanks for pointing to the
Discussing with @marco-m, we just realized that a better way might be to solve our initial issue (that is to write an idempotent script that results in pre-specified list of remotes) is adding a
We feel that this would be a much better solution than this PR. If you agree, then please reject this one we will submit a new one.
I do not oppose to having the functionality of this PR too, but yes, this can be closed until someone really wants this specific functionality. Many thanks!