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

Magnus Therning magnus at therning.org
Thu Apr 30 08:59:32 UTC 2015


On 30 April 2015 at 10:21, Nicola Squartini <tensor5 at gmail.com> wrote:
> Sorry, keep replying to one person only instead of the mailing list.
>
> How about the other way around:
>
> if xrev == 0                  --> haskell-zlib-0.5.4.2-76-x86_64.pkg.tar.xz
> if xrev == n && n > 0  --> haskell-zlib-0.5.4.2-76.n-x86_64.pkg.tar.xz

There are implementation details in `cblrepo` that make things a lot
easier if the release number is reset when a package is added (an
update is treated as an addition of an already existing package).  As
it is now the algorithm doesn't keep track of packages that are
updated, but with your scheme it would have to (the release number
must be carried over).  Furthermore, if the algorithm is modified in
that way there is no need to even include the x-revision at all, it
can all be "hidden" in a bump of the release number.

/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