-
Notifications
You must be signed in to change notification settings - Fork 989
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
package ID modes taking into account revisions #5363
package ID modes taking into account revisions #5363
Conversation
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.
Very nice. Some things to comment:
- I forgot why in the previous approach you did the recalculation of the packageID and why do you think it is no longer necessary.
- How does all this play with graph-locks?
- A detail: The value
Package_ID_unknown
gets printed sometimes, for example in the info, I think we should improve the printer to print "Package ID unknown: Cannot be calculated" or similar.
I would like to move this to 1.17 if it can be kept as simple as it looks. (point 1)
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.
Please submit docs and changelog and we can merge ASAP to integrate into the locks branch
Changelog: Feature: Define 2 new modes and helpers for the package binary ID:
recipe_revision_mode
andpackage_revision_mode
, that take into account the revisions. The second one will use all the information from dependencies, resulting in fully deterministic and complete package IDs: if some dependency change, it will be necessary to build a new binary of consumersDocs: conan-io/docs#1345