From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#28446: linux-libre@4.1 should select 4.1.x, not 4.13.x Date: Sun, 13 May 2018 13:31:08 +0200 Message-ID: <87zi13lrlv.fsf@gnu.org> References: <87tw06d4cr.fsf@netris.org> <87ingc2p51.fsf@elephly.net> <87vak6gk60.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fHpEQ-00082I-Af for bug-guix@gnu.org; Sun, 13 May 2018 07:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fHpEP-0006rq-Ip for bug-guix@gnu.org; Sun, 13 May 2018 07:32:02 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fHpEP-0006rk-F2 for bug-guix@gnu.org; Sun, 13 May 2018 07:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fHpEP-0004E4-A5 for bug-guix@gnu.org; Sun, 13 May 2018 07:32:01 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87vak6gk60.fsf@netris.org> (Mark H. Weaver's message of "Tue, 26 Sep 2017 00:26:15 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 28446-done@debbugs.gnu.org Hello, Mark H Weaver skribis: > Ricardo Wurmus writes: > >>> Currently, the package specification "linux-libre@4.1" selects version >>> 4.13. It should instead select version 4.1. >> >> We consider everthing following the =E2=80=9C@=E2=80=9D a version string= prefix. Since >> versions are arbitrary strings =E2=80=9C4.1=E2=80=9D is considered a val= id prefix of >> =E2=80=9C4.13=E2=80=9D. If a user supplied the version string =E2=80=9C= 4.1.=E2=80=9D they would get the >> appropriate package. I pushed a fix that I think does what we want as 348987d3d12ebaf11fdbcc3dbd56585e7d69a1f5. Basically =E2=80=98version-prefix?=E2=80=99 splits a version string at dots= and compares whole components. Thanks, Ludo=E2=80=99.