-
Notifications
You must be signed in to change notification settings - Fork 254
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
Adding an argument to pass a lockfile #294
Conversation
resolves #271 This would be appreciated to help enable more workflows which depend on the reliability of lock files. I have not looked at the test code but I given the work I've seen from the Conan team, it's well above my python skills 🙊
To link issues so I can find them again... I was looking at implementing https://github.com/conan-io/conan/issues/7802, but I encountered this impediment |
Hi @prince-chrismc, |
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
I certainly agree that this is a tricky situation, I do not see any other features that collide currently so I think it's important to address that. As the PR stands it's the Conan client itself that will report an error if other settings are passed. Could a solution be to fail at the cmake level (when conflict args are passed)? I think "invalidate" and "override" are very confusing for a consumer, and may be a nasty surprise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exactly the feature I was looking for, and it turns out it's under review. would be nice to have this soon merged
An other general note, or question: I wonder if there could not, and should not, be a dependency to the lockfile, if one is used, so in case the lockfile gets updated, conan install will be called again ... ? |
additional note, or what are the general thought to this topic |
what is the status of this PR, when will it be merged? |
Hi @a4z, |
as far as I see, @prince-chrismc addressed that in 5cc18ea |
Hi @a4z, |
I am only familiar with the basic usage, but if there's any issue I'll do my best to address them |
Hi @prince-chrismc, cc @a4z |
I agree, this was very difficult to add to the current workflow, perhaps it could be a seperate In the meantime, I have an implementation https://github.com/prince-chrismc/user-management/blob/d58a17baa6e64c706154984f8791c7f1269192b1/backend/cmake/conan-setup.cmake#L16-L30 in case any one else is missing this feature |
OK thanks for the info! since I do not need all the flexibility in my project because I know exactly what to call, it might be more easy to wite a I understand that providing all the possible combinations that conan gives is maybe a too hard and work intensive task, especially when looking to upcoming iterations of conan and the future conan 2 |
Yes, I think we are going in that direction, split current |
Hi @prince-chrismc, @a4z |
Thanks for the ping Carlos! Looking forward exploring the new features of 016!! |
resolves #271
This would be appreciated to help enable more workflows which depend on the reliability of lock files.
I have not looked at the test code but I given the work I've seen from the Conan team, it's well above my python skills 🙊
I am namely opening this to show there is interest for this feature in hopes it might make the 0.16 release that's around the corner!