[Rpm-maint] [rpm-software-management/rpm] Add support for sorting '+' higher than base verion (#88)

Igor Gnatenko notifications at github.com
Sat Sep 10 09:48:02 UTC 2016


Currently plus separator is equal to others (1.0 == 1+0). We want to
introduce "meaning" for this separator.

1.1+20160101 means 1.1 version (base) and patches which were applied at
that date on top of it.

* 1.1+201601 > 1.1
* 1.1+201601 < 1.1.1

Second case might be fulfilled with tilde separator, but it's not obvious
and doesn't fulfil first case.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/88

-- Commit Summary --

  * Add support for sorting '+' higher than base verion

-- File Changes --

    M lib/rpmvercmp.c (18)
    M tests/rpmvercmp.at (48)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/88.patch
https://github.com/rpm-software-management/rpm/pull/88.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/88
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160910/71b91499/attachment.html>


More information about the Rpm-maint mailing list