[arch-haskell] RFQ: Proposal for new versioning of packages

Magnus Therning magnus at therning.org
Thu Apr 30 06:01:19 UTC 2015


On 30 April 2015 at 07:55, Fabien Dubosson <fabien.dubosson at gmail.com> wrote:
>> So, instead of dealing with a pair of `(pgkver, pkgrel)` we now have a
>> triple of `(pkgver,xrev,pkgrel)`.  The issue then becomes how to
>> convert this triple into a pair.  In particular, how to do it so the
>> version ordering rules that `pacman` uses results in the wanted
>> behaviour.
>
> The `pkgrel' must be an integer incremented by 1, but there are no
> defined format for `pkgver'. So why not using `pkgver_xrev-pkgrel' in
> which `pkgver_xrev' is the `pkgver' defined in the PKGBUILD? It is
> allowed to do so, will be strictly incrementing and respecting PKGBUILD
> rules.
>
> PS: underscores are allowed (https://wiki.archlinux.org/index.php/PKGBUILD#pkgver)

The issue I'm worried about is that of trailing zeroes.  Is 2.1_1 < 2.1.1_0?

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus


More information about the arch-haskell mailing list