-
Notifications
You must be signed in to change notification settings - Fork 994
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
conan install failing with stacktrace #15496
Comments
The
It seems that we should try to hide it from the The reason is that locking packages shouldn't be really necessary ever. Locking the recipe-revisions, that identify all the "source" origins, including the versions and the hashes of the input source code should be more than enough to achieve full reproducibility. Note that:
I will do a PR to hide the argument from the CLI help |
@memsharded your comment makes perfect sense. We just liked the added confidence in point-pointing dependencies exactly down to the prev. This way If I, in 6 months time, checkout a git commit from today I can be absolutely certain what dependencies gets pulled and linked. Can we somehow enforce single prev's in our remote? I know this indicates flaws in our process, but we all know that developers can be a difficult herd to manage. :-) Regards |
From https://docs.conan.io/2/knowledge/guidelines.html
This is not something Conan specific, but a general best practice in devops. It is not possible to protect in the server side against multiple package-revisions. The package-revisions are still a potentially useful feature against system failures, that allows to recover and move forward under some exceptional circumstances, this is why they haven't been fully removed from Conan and server. If you want to protect against this, there would be several approaches:
|
This was automatically closed by #15499, please feel free to re-open or submit a new ticket to continue the conversation if you have any further question. Thanks! |
What is your question?
conan 2.0.16
I have a lockfile created with
--lockfile-packages
. Inhere I have a dependency on libcurl:The package has been build and is in my remote, but not in my local cache.
Then I call install to get the dependencies installed.
When calculating what to download from my remote I see this in my graph root:
which looks fine. The rrev matches!
Later in the output I see:
The rrev, package id and prev matches what I have built and uploaded. But it has "None" at the end of the line?
It then finishes with a trace:
Any clue about what's going on?
Regards
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: