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

Nicola Squartini tensor5 at gmail.com
Thu Apr 30 08:21:09 UTC 2015


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

Nicola

On Thu, Apr 30, 2015 at 8:10 AM, Xyne <xyne at archlinux.ca> wrote:

> On 2015-04-29 22:11 +0200
> Magnus Therning wrote:
>
> >I've slowly been working away on some way to deal with the addition of
> >x-revisions in Cabal files.  My plan at the moment is to include it in
> >the `pkgrel` in this way
> >
> >  haskell-zlib-0.5.4.2-76-x86_64.pkg.tar.xz
> >
> >becomes
> >
> >  haskell-zlib-0.5.4.2-0.76-x86_64.pkg.tar.xz
> >
> >given that the x-revision is 0.
> >
> >This of course has the slight drawback that everyone will have to
> >re-install all packages :(
> >
> >I'd love to hear if anyone has a better suggestion, in particular if
> >it means not having to re-install.  (I think I've found a way that
> >won't require a re-build.)
> >
> >/M
>
> The pkgrel should be an integer that is incremented by 1 with each release
> so it should not be included there. I don't know what x-revisions are but
> perhaps you can (ab)use the PKGBUILD "epoch" to managed them:
> https://wiki.archlinux.org/index.php/PKGBUILD#epoch
>
> If not, can you explain what they are and how they are used?
>
> Regards,
> Xyne
> _______________________________________________
> arch-haskell mailing list
> arch-haskell at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/arch-haskell
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/arch-haskell/attachments/20150430/afb43965/attachment.html>


More information about the arch-haskell mailing list