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
--patch-only
option for show
and outdated
commands
#10589
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
ef47b08
Show --outdated --direct --PATCH-ONLY
94b579d
add patch-only option to composer/pcre 1.0.1 ~ 2.0.0 PCRE…
7513372
fix typo
stregubov 40c4473
Merge branch 'main' into patch-only
stregubov 9d3a7ff
Fix implementation, remove invalid po short option name
Seldaek 380f10b
Prevent misuse
Seldaek File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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.
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 looks wrong.
~
is not a semver operator, and thus behaves differently on 0.x series to^
.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.
Yeah it's correct for >=1 versions if you were not trimming (you need
~1.2.0
to restrict to 1.2.x,~1.2
would behave like^1.2
which is not what you want here), but for 0.x we need to ensure there are at least 3 dots in the version, e.g.~0.1.2.0
would be fine for a 0.1.2 version, effectively pinning it to that version if the package has only 3 digits. If version was0.1.2.3
tho it'd allow patch level releases to e.g.0.1.2.*