-
Notifications
You must be signed in to change notification settings - Fork 708
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
Refactor cabal-install solver config log output #10854
base: master
Are you sure you want to change the base?
Conversation
e602461
to
8c1868b
Compare
Any chance you could add examples of what the new output looks like? Say, in the PR description. |
c8f419c
to
5a2528d
Compare
-- FIXME: This is not a very robust way to split the package name and version. | ||
-- I should rather retrieve the package name and version from the QPN ... |
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.
This is going to break on boot package names like base-4.14.0.0/installed-4.14.0.0
.
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, need to fix that.
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.
@Bodigrim Can you give an example of it breaking on boot package names? The cabal-install:unit-tests
tests have instances of names like that and the tests pass fine.
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 implement the rendered using structured types. Taking shortcuts is how bugs manifest.
According to this comment this seems like a precursor to #9159 . |
The original change in #9159 was split into a refactoring change and a fix for #4251. Now the refactoring change is in #9159, and the fix for #4251 is in #9541. #9541 contains #9159, because the fix depends on the refactoring. #9560 has also been merged since #9541 was written and helps address #4251. Do you know how this fix compares now? |
5a2528d
to
78733cd
Compare
Current version of this PR aims to minimize the differences in the Still need to provide a information about how this version improves the solver output compared to the current output. |
Includes: * Apply some of @grayjay and @mpickering comments * Fix haskell#4251 Co-Authored-By: Erik de Castro Lopo <[email protected]>
These fixes are require due to improvements in solver error reporting.
78733cd
to
b7b0c64
Compare
The changes between the output on This is the only difference I could find in the
New:
I suppose the main benefit of this PR is that in the file |
I have had a look at #9159 (against Update: I am not able find any significant differences between the behavior of the code in this PR and in #9541 . |
Includes:
This is the PR #9541 rebased and fixed to build.
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significant
in the changelog file.