0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-02-28 10:34:06 +00:00
renovatebot_renovate/lib/modules/versioning/pvp
renovate[bot] 55845508b6
chore(deps): update eslint monorepo to v9 (major) (#33573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-20 11:31:13 +00:00
..
index.spec.ts feat(manager): add Cabal/Haskell manager using Hackage/PVP (#33142) 2025-01-13 21:51:35 +00:00
index.ts feat(manager): add Cabal/Haskell manager using Hackage/PVP (#33142) 2025-01-13 21:51:35 +00:00
range.spec.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
range.ts chore(deps): update eslint monorepo to v9 (major) (#33573) 2025-02-20 11:31:13 +00:00
readme.md feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
types.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
util.spec.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00
util.ts feat(versioning): add PVP versioning scheme (#32298) 2024-12-06 10:21:07 +00:00

Package Versioning Policy is used with Haskell. It's like semver, except that the first two parts are of the major version. That is, in A.B.C:

  • A.B: major version
  • C: minor

The remaining parts are all considered of the patch version, and they will be concatenated to form a number, i.e. IEEE 754 double. This means that both 0.0.0.0.1 and 0.0.0.0.10 have patch version 0.1.

The range syntax comes from Cabal, specifically the build-depends section.

This module is considered experimental since it only supports ranges of forms:

  • >=W.X && <Y.Z
  • <Y.Z && >=W.X