[Rpm-maint] [rpm-software-management/rpm] Add rpm-sort utility for sorting RPM versions (PR #2249)

Neal Gompa (ニール・ゴンパ) notifications at github.com
Thu Nov 17 13:07:12 UTC 2022


> Yes it happens a lot, in one highly specific corner. Which is often best served by having that specific corner handle it because it has its own wrinkles that do not apply elsewhere, like version comparing the name here.
> 
> In principle, Debian versioning isn't _that_ different from rpm. If 'sort -V' is good enough (if not perfect) for them then it should be close enough for government work for us too. Not that I have looked at the details, maybe the details differ more than it seems on the outset.
> 

It works accidentally. If `~` is used, it doesn't sort downward (which dpkg and rpm support). And of course, rpm has `^` now, which `sort -V` definitely doesn't know.

I'd rather have an `rpmsort` that I could call directly...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2249#issuecomment-1318607855
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2249/c1318607855 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221117/72d963fe/attachment.html>


More information about the Rpm-maint mailing list