[Rpm-maint] [rpm-software-management/rpm] Wrong version comparison (Issue #2574)
Fabio Valentini
notifications at github.com
Sun Jul 16 12:56:49 UTC 2023
originally filed here:
https://pagure.io/rpmdevtools/issue/113
As I said in that ticket, I don't think this is a bug. It's a result of concatenating date + commit hash without separator character - hexadecimal commit hashes start with different number of decimal digits - so even a number that should sort lower lexicographically will sort higher just because the number parsed from the string has more digits.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2574#issuecomment-1637077974
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2574/1637077974 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230716/f00d885b/attachment.html>
More information about the Rpm-maint
mailing list