-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: total ordering for the dependency provider (#892)
This should fix the total ordering issues by rewriting how ordering works for the case where the name, version, build number are the same, lets call this set of candidates X. The old method violated total ordering, with specifically that though `a > b`, ` b > c`, actually `a < c` which was incorrect. The new method compares the dependencies alphabetically and early-outs on the first version that wins, this seems to work consistently enough. But we shouldn't rely on this behavior. fixes: #888 --------- Co-authored-by: Bas Zalmstra <[email protected]>
- Loading branch information
1 parent
bc48aaa
commit 6032945
Showing
15 changed files
with
583 additions
and
535 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
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
Oops, something went wrong.