Skip to content

Canonical vers - #219

Draft
immqu wants to merge 5 commits into
mainfrom
canonical-vers
Draft

immqu wants to merge 5 commits into
mainfrom
canonical-vers

Conversation

@immqu

@immqu immqu commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Currently, non-canonical syntax is accepted or normalized. This PR aligns VERS parsing with the canonical-input requirements that mandate using canonical inputs instead of normalizing them silently.
VersionRange.from_string() now rejects non-canonical inputs previously accepted or normalized and canonical parsing tests are added.

Addresses #196

References:

Signed-off-by: Immanuel Kunz <immanuel.kunz@aisec.fraunhofer.de>
Signed-off-by: Immanuel Kunz <immanuel.kunz@aisec.fraunhofer.de>
Signed-off-by: Immanuel Kunz <immanuel.kunz@aisec.fraunhofer.de>
Signed-off-by: Immanuel Kunz <immanuel.kunz@aisec.fraunhofer.de>
Signed-off-by: Immanuel Kunz <immanuel.kunz@aisec.fraunhofer.de>

This branch has not been deployed

No deployments
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