Subject: bug#28446: closed (Re: bug#28446: [email-masked] should select 4.1.x, not 4.13.x)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 13 May 2018 11:32:01 +0000

Your bug report

#28446: [email-masked] should select 4.1.x, not 4.13.x

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
28446: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28446
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#28446: [email-masked] should select 4.1.x, not 4.13.x
From: [email-masked] (Ludovic Courtès)
To: Mark H Weaver <[email-masked]>
Cc: Ricardo Wurmus <[email-masked]>, [email-masked]
Date: Sun, 13 May 2018 13:31:08 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Mark H Weaver <[email-masked]> skribis:

> Ricardo Wurmus <[email-masked]> writes:
>
>>> Currently, the package specification "[email-masked]" selects version
>>> 4.13.  It should instead select version 4.1.
>>
>> We consider everthing following the “@” 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’.

Subject: [email-masked] should select 4.1.x, not 4.13.x
From: Mark H Weaver <[email-masked]>
To: [email-masked]
Date: Wed, 13 Sep 2017 11:07:32 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Currently, the package specification "[email-masked]" selects version
4.13.  It should instead select version 4.1.

      Mark