Skip to content

Fix: version comparison for RPM#2160

Open
Kraemii wants to merge 1 commit intomainfrom
normalize-rpm
Open

Fix: version comparison for RPM#2160
Kraemii wants to merge 1 commit intomainfrom
normalize-rpm

Conversation

@Kraemii
Copy link
Member

@Kraemii Kraemii commented Mar 12, 2026

In case two RPM versions are compared and have a different separator they are checked lexicographical. In reality they should not be compared and are interchangeable. To solve issues with this, we now normalize the version string to only contain a single '.' as a separator.

SC-1572

@Kraemii Kraemii requested a review from a team as a code owner March 12, 2026 13:55
@github-actions
Copy link

github-actions bot commented Mar 12, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA dff7d21.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@github-actions github-actions bot added the patch_release creates a patch release label Mar 12, 2026
In case two RPM versions are compared and have a different separator they are checked lexicographical.
In reality they should not be compared and are interchangable.
To solve issues with this, we now normalize the version string to only contain a single '.' as a separator.
@github-actions github-actions bot added patch_release creates a patch release and removed patch_release creates a patch release labels Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch_release creates a patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants