-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Fix #4251: Simplify verbose "rejecting" message in solver
This commit makes the following changes: - Enhancements to the codebase: * Adds several TODO/FIXME/HELP comments, laying the groundwork for improved solver output as described in RFC 4251 ; * Refactors the `showMessages` function to split the logic of building the output (now as a `Message'` enumeration) and the string representation of it (now formatted by `displayMessage'`). - Modifications to the solver output: * If the `-v3` or `--minimize-conflict-set` flags are not set, it now prompts the user to consider using them in cases of the "Could not resolve dependencies: ..." error ; * The message "(has the same characteristics that caused the previous version to fail: ...)" has been rephrased to "all other available packages. They are excluded due to the same constraint that caused the last version attempted to fail: ..." ; * Package lists are now grouped by name. For example, instead of displaying `aeson-1.0.2.1, aeson-1.0.2.0, aeson-1.0.1.0, ...`, it now shows `aeson: 1.0.2.1, 1.0.2.0, 1.0.1.0, ...`.
- Loading branch information
1 parent
747af13
commit 84700a2
Showing
2 changed files
with
130 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters