-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] "recommended flow" for updating a dependency in a lockfile without pulling other dependencies? #16811
Comments
Hi @wuziq Thanks for your question. The missing pieces could be this WIP here: conan-io/docs#3799 There could be some different approaches:
I'd say the second one would be more nicely explicit, because if you use the |
I'm not clear on the second approach.
Let's say app requires lib_a/[some range], and I want to test app with a different version of lib_a within the range. Here, does "the lockfile" refer to the existing lockfile for app, and does "the new package" refer to the new version of lib_a?
Sorry if I'm totally off base, but, in this scenario, I assume the two developers have created lockfiles for their versions of lib_a, then uploaded their new versions to a remote, and then made their lockfiles available to the developers of app. Is that correct? If so, is this approach not possible with |
Then there is a lockfile, that contains something like:
Lets work with revisions (though versions will be similar). If we have 2 different developers that do simultaneous and different changes to The first job does something like
This lockfile can now be used to build or check In parallel, the other job will do its own
Now the job can proceed to build/check Then, the 2 concurrent CI jobs can build and test both If using the |
Thank you! |
Thanks to you for the feedback @wuziq ! There has been extended discussion in #16819 if you want to have a look, and based on it I will also add more sections to my ongoing work here conan-io/docs#3799 |
What is your question?
The documentation for evolving lockfiles says:
I could be missing something obvious, but I didn't see other approaches on the page or anywhere else. (Clicking "Next" on the page just takes me to the "Dependencies conflicts" page.)
In any case, what ARE the recommended flows for updating a dependency in a lockfile "without necessarily pulling many other dependencies that could have got new versions too"?
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: