Skip to content

Extract approximate version ordering into versionx - #1507

Merged
msuozzo merged 1 commit into
google:mainfrom
msuozzo:push-xrrxxtpvxtvq
Sep 1, 2026
Merged

Extract approximate version ordering into versionx#1507
msuozzo merged 1 commit into
google:mainfrom
msuozzo:push-xrrxxtpvxtvq

Conversation

@msuozzo

@msuozzo msuozzo commented Aug 26, 2026

Copy link
Copy Markdown
Member

Moves compareVersions (semver-strict with a loose segment-wise fallback)
into a dedicated internal/versionx for use in the SQLite snapshot logic.
The ordering remains approximate and intransitive across mixed
semver/non-semver sets. The package comment details which of each
ecosystem's ordering rules the fallback matches and where it diverges,
checked against the worked examples in each spec, and the test table
pins both.

@msuozzo
msuozzo requested a review from wbxyz August 26, 2026 15:52
@msuozzo
msuozzo force-pushed the push-xrrxxtpvxtvq branch 2 times, most recently from 7cf36b9 to 5965d3d Compare August 31, 2026 16:05
Moves compareVersions (semver-strict with a loose segment-wise fallback)
into a dedicated internal/versionx for use in the SQLite snapshot logic.
The ordering remains approximate and intransitive across mixed
semver/non-semver sets. The package comment details which of each
ecosystem's ordering rules the fallback matches and where it diverges,
checked against the worked examples in each spec, and the test table
pins both.
@msuozzo
msuozzo merged commit 6347060 into google:main Sep 1, 2026
9 checks passed
@msuozzo
msuozzo deleted the push-xrrxxtpvxtvq branch September 1, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants