Skip to content

Commit dde2e9d

Browse files
authored
Merge pull request package-url#443 from immqu/lexicographic
add lexicographic vers scheme
2 parents 02da87d + dfc53e7 commit dde2e9d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

VERSION-RANGE-SPEC.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,8 @@ These are generic schemes, to use sparingly for special cases:
658658
non-negative integers, and ignoring leading zeros. Interpretation of the
659659
version should stop at the first character that is not a digit or a dot.
660660

661+
- **lexicographic**: a generic versioning scheme that compares versions based on lexicographic order, interpreted as UTF-8.
662+
661663
- **semver**: a generic scheme that uses the same syntax as ``semver``. It follows the MAJOR.MINOR.PATCH format and is defined in the Semantic Versioning Specification 2.0.0, see https://semver.org/spec/v2.0.0.html.
662664

663665
- **datetime**: a generic scheme that uses a timestamp for comparison. The timestamp must adhere to RFC3339, section 5.6, see https://www.rfc-editor.org/rfc/rfc3339#section-5.6.

0 commit comments

Comments
 (0)