add some more documentation for non-inclusive version ranges#24025
add some more documentation for non-inclusive version ranges#24025cosmicexplorer wants to merge 2 commits intospack:developfrom
Conversation
|
As mentioned in the linked comment at #20258 (comment):
Currently considering the ramifications of making |
2cfbc82 to
1c229c0
Compare
The problem with this are packages that do not follow semver. For instance, cube has releases for 4.4, 4.4.2 etc., where 4.4 < 4.4.2. I guess we could also map those to 4.4.0 even though that is not the correct upstream version. |
|
We may have to discriminate between |
eee2143 to
917215a
Compare
917215a to
9c79fd1
Compare
9c79fd1 to
6b00fb2
Compare
9c7e94d to
b390944
Compare
7716b5e to
5de74d1
Compare
5de74d1 to
1d8acff
Compare
d157a89 to
826610e
Compare
826610e to
d83afaa
Compare
|
Just redid this PR entirely to completely avoid modifying spec syntax or any logic in |
|
Just moved a paragraph about version ranges from |
- provide code samples for version constraints
|
This is now largely obviated by the work to make e.g. |
Problem
#26422 removes the
\.99+suffix many packages append to version strings in order to support non-inclusive range bounds e.g.1.2 <= v < 2: previously we had recommended the use of@1.2:1.2.999for this, but we now recommend using@1.2:1. However, some packages still contain this\.99+workaround, and our documentation doesn't explicitly describe the new recommendation.Solution
\.99+bounds that remained after Remove .99 when possible #26422.\.99+is deprecated.Result
We should be able to reserve
.99components for actual versions named.99instead of using it as a workaround.