Resolve reissued packages to the newest revision - #8
Open
hsbt wants to merge 1 commit into
Open
Conversation
ruby/actions publishes a fixed package under a revisioned name such as ruby-3.4.5-1-x64-mswin64_140 (SIGNING.md). Substring resolution then reported "3.4.5" as ambiguous between the original and its reissue. When all matches share the version and platform and differ only in the numeric revision, pick the highest; everything else stays ambiguous. Co-Authored-By: Claude Fable 5 <[email protected]>
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.
ruby/actions#137 introduces reissued mswin packages published under revisioned names such as
ruby-3.4.5-1-x64-mswin64_140(see itsSIGNING.md). With such a package installed alongside the original, substring resolution reported3.4.5as ambiguous forrb useandrb uninstall, and typing more of the version cannot disambiguate. When every match shares the version and platform and differs only in the trailing numeric revision,Resolvenow picks the highest revision. Different versions, prereleases, and dev snapshots stay ambiguous, and a superseded package remains reachable by its full name.Generated with Claude Code