bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28446: address@hidden should select 4.1.x, not 4.13.x


From: Ludovic Courtès
Subject: bug#28446: address@hidden should select 4.1.x, not 4.13.x
Date: Sun, 13 May 2018 13:31:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Mark H Weaver <address@hidden> skribis:

> Ricardo Wurmus <address@hidden> writes:
>
>>> Currently, the package specification "address@hidden" selects version
>>> 4.13.  It should instead select version 4.1.
>>
>> We consider everthing following the address@hidden a version string prefix.  
>> Since
>> versions are arbitrary strings “4.1” is considered a valid prefix of
>> “4.13”.  If a user supplied the version string “4.1.” they would get the
>> appropriate package.

I pushed a fix that I think does what we want as
348987d3d12ebaf11fdbcc3dbd56585e7d69a1f5.

Basically ‘version-prefix?’ splits a version string at dots and compares
whole components.

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]