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

2015-04-29 Thread Fabien Dubosson
> The issue I'm worried about is that of trailing zeroes. Is 2.1_1 < 2.1.1_0? Seems so: === $ mkdir TEMP; cd TEMP $ cat << EOL > PKGBUILD pkgname=dummy pkgver=2.1.1_0 pkgrel=1 pkgdesc="dummy package" arch=(any) url="http://"; license=('GPL') source=() md5sums=() packag

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

2015-04-29 Thread Magnus Therning
On 30 April 2015 at 07:55, Fabien Dubosson 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 `pa

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

2015-04-29 Thread Fabien Dubosson
> 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 `pkg

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

2015-04-29 Thread Magnus Therning
On 30 April 2015 at 01:10, Xyne 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-

Re: [arch-haskell] GHC 7.10, and popular packages like Pandoc

2015-04-29 Thread Magnus Therning
On 30 April 2015 at 01:01, Xyne wrote: > On 2015-04-17 18:07 +0200 > Dawid Loubser wrote: > >>Magnus, you're a rock star! > > A little late to the party but +1 on this. Magnus, your work is great! Thank > you! Thank you, thank you very much! ;) /M -- Magnus Therning OpenP

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

2015-04-29 Thread Xyne
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

Re: [arch-haskell] GHC 7.10, and popular packages like Pandoc

2015-04-29 Thread Xyne
On 2015-04-17 18:07 +0200 Dawid Loubser wrote: >Magnus, you're a rock star! A little late to the party but +1 on this. Magnus, your work is great! Thank you! ___ arch-haskell mailing list arch-haskell@haskell.org http://mail.haskell.org/cgi-bin/mailman

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

2015-04-29 Thread Magnus Therning
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

Re: [arch-haskell] Cblrepo and dependencies

2015-04-29 Thread Magnus Therning
On 29 April 2015 at 12:01, SP wrote: > On 27/04/15 12:02, Magnus Therning wrote: >> What reasons would that be? > > Maybe some file damage by accident. Also accidentally or under > misconception that this would fix something. It is an operation > supported by pacman, so the package should, _ideall

Re: [arch-haskell] Cblrepo and dependencies

2015-04-29 Thread SP
On 27/04/15 12:02, Magnus Therning wrote: > What reasons would that be? Maybe some file damage by accident. Also accidentally or under misconception that this would fix something. It is an operation supported by pacman, so the package should, _ideally_, cater for it. > Yes, I understand that, but