-
Notifications
You must be signed in to change notification settings - Fork 462
pkg: print portable solutions grouped by platform #12620
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
pkg: print portable solutions grouped by platform #12620
Conversation
|
Related to #11868 |
|
Here's an example of the message printed after solving: |
| @@ -29,6 +29,7 @@ val extend : t -> t -> t | |||
| val with_defaults : t | |||
|
|
|||
| val pp : t -> 'a Pp.t | |||
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.
Is this function still used?
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.
Yep, it's still used in places where only a single Solver_env.t is printed.
b41334d to
25fbabd
Compare
The message that prints after solving lists each package in the solution. When a solution is portable, it's possible (though hopefully rare) that the version of a package included in a solution will be different depending on the platform. This led to multiple versions of the same package appearing in the message for non-obvious reasons, which some found confusing. This commit changes the message when portable lockdirs are enabled, such that the packages common to all platforms are printed together, and each set of platform-specific dependencies is printetd separately from the common dependencies. Signed-off-by: Stephen Sherratt <[email protected]>
25fbabd to
0ff4e15
Compare
The message that prints after solving lists each package in the solution. When a solution is portable, it's possible (though hopefully rare) that the version of a package included in a solution will be different depending on the platform. This led to multiple versions of the same package appearing in the message for non-obvious reasons, which some found confusing. This commit changes the message when portable lockdirs are enabled, such that the packages common to all platforms are printed together, and each set of platform-specific dependencies is printetd separately from the common dependencies. Signed-off-by: Stephen Sherratt <[email protected]>
The message that prints after solving lists each package in the solution. When a solution is portable, it's possible (though hopefully rare) that the version of a package included in a solution will be different depending on the platform. This led to multiple versions of the same package appearing in the message for non-obvious reasons, which some found confusing.
This commit changes the message when portable lockdirs are enabled, such that the packages common to all platforms are printed together, and each set of platform-specific dependencies is printetd separately from the common dependencies.