Open
Conversation
Collaborator
Author
|
I labeled this with |
eaf420e to
3d7e479
Compare
It is expected that the solver will make an effort to resolve packages that fit the options, even though it is not required to. Create a test where multiple builds exist with different values for a var and add an option to the solver for a specific value. A build exists with that value so the solver should pick it. Signed-off-by: J Robert Ray <jrray@jrray.org>
3d7e479 to
ccb7100
Compare
Collaborator
Author
|
spk/crates/spk-cli/common/src/flags.rs Line 291 in 2946a9a This is the only place in the codebase (outside of test code) that calls Solver::update_options. The test suite still passes if this line is removed (on the main branch).
The new test in this PR demonstrates that setting options, at least in this trivial case, doesn't seem to do anything. Using |
Collaborator
|
From the meeting today:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It is expected that the solver will make an effort to resolve packages that fit the options, even though it is not required to. Create a test where multiple builds exist with different values for a var and add an option to the solver for a specific value. A build exists with that value so the solver should pick it.