Skip to content

Conversation

@immqu
Copy link
Contributor

@immqu immqu commented Nov 24, 2025

This PR implements the libversion comparison algorithm described in https://github.com/repology/libversion/blob/master/doc/ALGORITHM.md#core-algorithm.
Also, the PR adds a configuration option that allows to enable the libversion comparison as a fallback. The configuration disables the version check and uses the libversion algorithm when the version cannot be parsed correctly (see test_versions::test_libversion_fallback_config

Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
@immqu
Copy link
Contributor Author

immqu commented Nov 24, 2025

This idea was discussed in package-url/vers-spec#15

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.

1 participant