Support tilde in semver constraints #172
Labels
carvel-accepted
This issue should be considered for future work and that the triage process has been completed
enhancement
This issue is a feature request
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Describe the problem/challenge you have
I want to support 1.2.x for a given version, including pre-releases, but given something like this:
It's hard to figure out where to put the <, since
1.3.0-build.x
is considered less than 1.3.0Changing it to something like:
Causes you to miss the high numbers of
1.2.x
.Describe the solution you'd like
~
exists in several upstream semver libraries, so you can do something like:And it'll work for all patch versions of 1.2, but exclude anything in 1.3 or higher.
Anything else you would like to add:
While this is extremely unlikely in the exemplified upstream product (TAP), I wanted to capture this in case the scenario becomes increasingly likely. Pretty sure my use case is satisified by just picking something like 1000 for the patch release (I'm actually just using 1.2.9 now since that also seems likely to work)
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: