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

Fabien Dubosson fabien.dubosson at gmail.com
Sun May 3 11:35:15 UTC 2015


> In case you were not aware of it, pacman provides an executable named "vercmp"
> to compare versions. It also provides a vercmp manpage to explain how ALPM's
> version comparison function works.
> 
> $ vercmp 2.1_1 2.1.1_0
> -1

I wasn't aware, thanks for the tip!

> The underscore system seems to work as expected. I was afraid that it would
> trigger alphanumeric comparisons (e.g. 2.3_0 > 2.24_0) but it does not:
> 
> $ vercmp 2.r3_0 2.r24_0
> -1

Good idea to think about and test this point.

++ Fab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/arch-haskell/attachments/20150503/b5d405ff/attachment.sig>


More information about the arch-haskell mailing list