GNU bug report logs - #60725
support the special '~' character in our version parser

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Wed, 11 Jan 2023 03:24:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 60725 <at> debbugs.gnu.org:


Received: (at 60725) by debbugs.gnu.org; 11 Jan 2023 19:00:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 14:00:10 2023
Received: from localhost ([127.0.0.1]:43841 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFgKY-0008Ne-Ar
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 14:00:10 -0500
Received: from mail-qt1-f182.google.com ([209.85.160.182]:44831)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1pFgKT-0008LO-0Z; Wed, 11 Jan 2023 14:00:08 -0500
Received: by mail-qt1-f182.google.com with SMTP id fa5so9182081qtb.11;
 Wed, 11 Jan 2023 11:00:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=1FJHQXG+S1P7xJvhPKuZ+R3kPXvbcWLASOscx6BgTQE=;
 b=Jj9V6jdenhcAYpIEct+Lru9MxFNA0Fgk/LYUotBpj+Eet6ImMC2bD4W0F5gnJmy7vv
 WanzwTdsG+gRMaXIT8p0y55a494UldUc15DEdbavPZ0px336V3LyqDL00bGyA0npdKMM
 wk1cgeRahu+7ONFclbR8k3kivMyUcTjxou+tlVq/UNn/o4Xu1TpdHcmhEuuDAwfk3G39
 Mrcfn9ymrTlFAscd6MWepaHXxhPk41iJnUY6FtIQYhPHr3eV+V/G+6tiHVR4TplcrchN
 s7UrcLoEAAz7F5eWNjJdDxBnZI0dlTTD+jaPd3DvGA/xxR8a0Bk5ttfGn7i05vPwxGFp
 UXog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=1FJHQXG+S1P7xJvhPKuZ+R3kPXvbcWLASOscx6BgTQE=;
 b=5d/4BswaL10T5we8Kj2H5OCojbnLyw3QV/hgZ2876/gvJGMZyK8sX7s/wAEpnxPyX9
 SvqxR61R+rmfpGAdUii9fnctHhi8HOkvWiE+Z2cfnfGOexceIGgSzlhIhPdWYNmO0QpN
 g8nuHI9BYC8u2JywIMfIIpesnkbIwhkXeO+c4iJP5R9dDJGJx5PoJcAEp4wzvGPUXypo
 KSH9a5vpGiOv09huCtaHljSGvFTXCf9gLTK1F4KgX6LIPl2tsMzJZ+dxuyMa//p8xfnN
 LX5lqumLYaMPp3zP98waopodHQWw1pGqR44t+stK/K7OmzT4nO3qVP2QN9l4w7twHvHL
 7kIw==
X-Gm-Message-State: AFqh2kp9P1uLCNJL6fYrTGFkW1ixgGxCafJd5UmvsjSFzqpPn4HTGmbW
 C9ro5mb7ZrFYRmGYxxi9M2MqC5uMxx+FCw==
X-Google-Smtp-Source: AMrXdXtMpzbr0w2sS0/orCYQ4cedQnCia+QSmlaiVciu8m28rKudvZCT8f00qXVIvyfWxdajGGAs1g==
X-Received: by 2002:a05:622a:4089:b0:3a7:f552:fd60 with SMTP id
 cg9-20020a05622a408900b003a7f552fd60mr12487860qtb.41.1673463599030; 
 Wed, 11 Jan 2023 10:59:59 -0800 (PST)
Received: from hurd (dsl-159-79.b2b2c.ca. [66.158.159.79])
 by smtp.gmail.com with ESMTPSA id
 p23-20020ac87417000000b003ae7bf5c1d8sm627184qtq.25.2023.01.11.10.59.58
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 11 Jan 2023 10:59:58 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Jelle Licht <jlicht@HIDDEN>
Subject: Re: bug#60725: guix lint thinks 2019111-0.7e76d75 is older than
 20191111
References: <878ri9kb3v.fsf@HIDDEN> <87ilhdkxv3.fsf@HIDDEN>
 <87358hjifv.fsf@HIDDEN> <87cz7lkum8.fsf@HIDDEN>
Date: Wed, 11 Jan 2023 13:59:57 -0500
In-Reply-To: <87cz7lkum8.fsf@HIDDEN> (Jelle Licht's message of "Wed, 11 Jan
 2023 15:34:39 +0100")
Message-ID: <87mt6oj3rm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60725
Cc: 60725 <at> debbugs.gnu.org, GNU Debbugs <control <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

Jelle Licht <jlicht@HIDDEN> writes:

> Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:
>
>> retitle 60725 support the special '~' character in our version parser
>> thanks
>>
>> Jelle Licht <jlicht@HIDDEN> writes:

[...]

>> That's not currently the case with Guix.  Guix package version strings
>> are documented has having the requirement to be 'monotonically
>> increasing', so '43.rc3' as used by GNOME is seen by Guix as newer than
>> '43', the final release.
>
> I agree with your assesment, but note that my example (again) had one
> "1" less, in which case Guix does the right thing :-).

Ah! I failed to correctly read that version number again, eh!

-- 
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#60725; Package guix. Full text available.

Message received at 60725 <at> debbugs.gnu.org:


Received: (at 60725) by debbugs.gnu.org; 11 Jan 2023 14:34:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 09:34:42 2023
Received: from localhost ([127.0.0.1]:41999 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFcBe-0002eG-0p
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 09:34:42 -0500
Received: from mail1.fsfe.org ([217.69.89.151]:57168)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jlicht@HIDDEN>)
 id 1pFcBc-0002e4-Ae; Wed, 11 Jan 2023 09:34:40 -0500
From: Jelle Licht <jlicht@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501;
 t=1673447679;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=sS9SLJx3tiaWv1HDkzp/fsPSBuabwJW1V7F7YcjztiM=;
 b=a7arrbfnH0HP9AJboeI++LA+NfAQkvvKaAVJUu1hq04r6jHpwMAq9okOrYzmVEoDSGny1g
 iq4dDXxx4DqSpGYCVvg9u2FPlt2Lx/bqSkodIJHHkaRsq87S3AKXWWfHoez4ttCCiWYWrq
 y2D/VQhGs5Xm7bov//r+FeuDajTN4oc=
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: bug#60725: guix lint thinks 2019111-0.7e76d75 is older than
 20191111
In-Reply-To: <87358hjifv.fsf@HIDDEN>
References: <878ri9kb3v.fsf@HIDDEN> <87ilhdkxv3.fsf@HIDDEN>
 <87358hjifv.fsf@HIDDEN>
Date: Wed, 11 Jan 2023 15:34:39 +0100
Message-ID: <87cz7lkum8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60725
Cc: 60725 <at> debbugs.gnu.org, GNU Debbugs <control <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:

> retitle 60725 support the special '~' character in our version parser
> thanks
>
> Jelle Licht <jlicht@HIDDEN> writes:
>
>> Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:
>>
>>> Hi Guix,
>>>
>>> If you run 'guix lint emacs-enh-ruby-mode', it'll print this:
>>>
>>> --8<---------------cut here---------------start------------->8---
>>> emacs-enh-ruby-mode@HIDDEN: can be upgraded to 20191111
>>> --8<---------------cut here---------------end--------------->8---
>> In this particular case, 2019111 seems to have been a typo in the first
>> place.  (It misses out on a '1' in our package record).
>
> Thanks!  With this typo fixed, 'guix lint' doesn't suggest a downgrade
> anymore.
>
>> AFAIK, any sane versioning scheme would assert that 20191111 > 2019111-anything.
>
> That's not currently the case with Guix.  Guix package version strings
> are documented has having the requirement to be 'monotonically
> increasing', so '43.rc3' as used by GNOME is seen by Guix as newer than
> '43', the final release.

I agree with your assesment, but note that my example (again) had one
"1" less, in which case Guix does the right thing :-).

>
> I'll keep this bug open (and retitle it), because implementing ~ would
> be useful (GNOME makes use of that scheme, and it's understood by rpm,
> dpkg, pkg-config, etc.).

Fixing our versioning code so  "123" > "123-alpha2" will also bring us
(more) in line with Semantic Versioning.

- Jelle




Information forwarded to bug-guix@HIDDEN:
bug#60725; Package guix. Full text available.
Changed bug title to 'support the special '~' character in our version parser' from 'guix lint thinks 2019111-0.7e76d75 is older than 20191111' Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 60725 <at> debbugs.gnu.org:


Received: (at 60725) by debbugs.gnu.org; 11 Jan 2023 13:43:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 08:43:11 2023
Received: from localhost ([127.0.0.1]:41953 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFbNm-0007Ur-Lc
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 08:43:11 -0500
Received: from mail-vs1-f49.google.com ([209.85.217.49]:39709)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1pFbNj-0007UN-J1; Wed, 11 Jan 2023 08:43:08 -0500
Received: by mail-vs1-f49.google.com with SMTP id i185so15722269vsc.6;
 Wed, 11 Jan 2023 05:43:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=ZT4+45brDXv5VAsWInokGSpZgvcK+8yk34BBNHWmF8I=;
 b=HEnQjJ4ndJcEDKYK5X4olQGoMsJE6/wlQ99w1dirVqFaJJDrfkqW+iMII8eBulhvmA
 RFWC/Tx97SgOoIOLQ1ys8QE0d37SHf5UQQDGY5efrScO3OjxGAZBjrB+N5tD2hXIcO72
 j6iSFNeukNCI0uibxxGP5wwAVDmzhwW2iYsVc5pnr0RCBZos0fXO8h26JH/Hvyq3Ah+/
 t/4p7gg0Mni/6Z5Cyjp9tDAuae13bx/BAgwhJd+B5Yc5vW5KhyCEVFU8PMY2KZrOXzmR
 TzyGuyG6lVBMU5HQpm63CCqKewLzgXbyvkD08/49okJbzeDwhO6fbxarURnWT9tVPzC5
 Qv0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=ZT4+45brDXv5VAsWInokGSpZgvcK+8yk34BBNHWmF8I=;
 b=XZEe1588dyCMNybXcYVWaHqpwFdi9ZeP60GVFmE1kRpUlBv5wEhEdRwnzTHqKfdH+q
 c888cH/fb3/xXBE13767i6Cs717n7IToodTdc6OU9simo/4wFpndDx90vGU0g8Iet9pH
 XOuZbGfcaTRenPWlxgYR55E+Ez4dyChOeVfW21ha260bTzcGcHSpkjAZILk5cCDAnIDz
 NE1nB9UI4eceGMTvcXttxZmU2Am5kL/vSEWCBrI5j48RQDVA1mrI1vRUt0MsdmheIWL7
 zJdfzQ3LCPWZv7vhho75rtje+RGOk07XHHgk6NuQq8HDFE3kPwDaqWmnNMoXTPvt51Sl
 lhhw==
X-Gm-Message-State: AFqh2kr+96mHcZSBhfcoRrWC2LuGju+JE9LX4JuCYOG1Q361pXu2BpLs
 KV/GvgRYqD+VHzOXdww7ct02VnXBhGYeiw==
X-Google-Smtp-Source: AMrXdXuhu55HrNy5zrmK4MBcD2KmNUm4LuNBIGpFHHXxZJSp3eZWwDK3QeNuRMm2KaIfATCtYFVQdg==
X-Received: by 2002:a67:5e83:0:b0:3ce:e81e:323f with SMTP id
 s125-20020a675e83000000b003cee81e323fmr1366372vsb.18.1673444581509; 
 Wed, 11 Jan 2023 05:43:01 -0800 (PST)
Received: from hurd (dsl-159-79.b2b2c.ca. [66.158.159.79])
 by smtp.gmail.com with ESMTPSA id
 br31-20020a05620a461f00b006fa2cc1b0fbsm8956758qkb.11.2023.01.11.05.43.00
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 11 Jan 2023 05:43:01 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Jelle Licht <jlicht@HIDDEN>
Subject: Re: bug#60725: guix lint thinks 2019111-0.7e76d75 is older than
 20191111
References: <878ri9kb3v.fsf@HIDDEN> <87ilhdkxv3.fsf@HIDDEN>
Date: Wed, 11 Jan 2023 08:43:00 -0500
In-Reply-To: <87ilhdkxv3.fsf@HIDDEN> (Jelle Licht's message of "Wed, 11 Jan
 2023 14:24:32 +0100")
Message-ID: <87358hjifv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60725
Cc: 60725 <at> debbugs.gnu.org, GNU Debbugs <control <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 60725 support the special '~' character in our version parser
thanks

Jelle Licht <jlicht@HIDDEN> writes:

> Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:
>
>> Hi Guix,
>>
>> If you run 'guix lint emacs-enh-ruby-mode', it'll print this:
>>
>> --8<---------------cut here---------------start------------->8---
>> emacs-enh-ruby-mode@HIDDEN: can be upgraded to 20191111
>> --8<---------------cut here---------------end--------------->8---
> In this particular case, 2019111 seems to have been a typo in the first
> place.  (It misses out on a '1' in our package record).

Thanks!  With this typo fixed, 'guix lint' doesn't suggest a downgrade
anymore.

> AFAIK, any sane versioning scheme would assert that 20191111 > 2019111-anything.

That's not currently the case with Guix.  Guix package version strings
are documented has having the requirement to be 'monotonically
increasing', so '43.rc3' as used by GNOME is seen by Guix as newer than
'43', the final release.

I'll keep this bug open (and retitle it), because implementing ~ would
be useful (GNOME makes use of that scheme, and it's understood by rpm,
dpkg, pkg-config, etc.).

-- 
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#60725; Package guix. Full text available.

Message received at 60725 <at> debbugs.gnu.org:


Received: (at 60725) by debbugs.gnu.org; 11 Jan 2023 13:24:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 08:24:37 2023
Received: from localhost ([127.0.0.1]:41946 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFb5p-00072E-KY
	for submit <at> debbugs.gnu.org; Wed, 11 Jan 2023 08:24:37 -0500
Received: from mail1.fsfe.org ([217.69.89.151]:33112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jlicht@HIDDEN>) id 1pFb5n-000722-4X
 for 60725 <at> debbugs.gnu.org; Wed, 11 Jan 2023 08:24:35 -0500
From: Jelle Licht <jlicht@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501;
 t=1673443473;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=5/DRM9iqUYPKGJH3S2amRdA6hsbW/haNmh04e/vigtQ=;
 b=alBUuw1YmVptKbJxG61dZyoLxr1jaBsChIDukdkcwhLYD/11ZCcOFBJeEz0hbnmjRiPCH+
 W+sZaZwRtjNyNqWASsg7wLJGPPzhZYcUehe+TSZIAEp2wQMC/WxmKbkA6EpU4/x+XSgIO6
 PW6WJUEyacu2HFc3yjiuIGQRnCtFKEg=
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 60725 <at> debbugs.gnu.org
Subject: Re: bug#60725: guix lint thinks 2019111-0.7e76d75 is older than
 20191111
In-Reply-To: <878ri9kb3v.fsf@HIDDEN>
References: <878ri9kb3v.fsf@HIDDEN>
Date: Wed, 11 Jan 2023 14:24:32 +0100
Message-ID: <87ilhdkxv3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 60725
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:

> Hi Guix,
>
> If you run 'guix lint emacs-enh-ruby-mode', it'll print this:
>
> --8<---------------cut here---------------start------------->8---
> emacs-enh-ruby-mode@HIDDEN: can be upgraded to 20191111
> --8<---------------cut here---------------end--------------->8---
In this particular case, 2019111 seems to have been a typo in the first
place.  (It misses out on a '1' in our package record).

AFAIK, any sane versioning scheme would assert that 20191111 > 2019111-anything.




Information forwarded to bug-guix@HIDDEN:
bug#60725; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Jan 2023 03:23:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 10 22:23:54 2023
Received: from localhost ([127.0.0.1]:41500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pFRiU-0004pd-BM
	for submit <at> debbugs.gnu.org; Tue, 10 Jan 2023 22:23:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:45230)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1pFRiT-0004pW-Ic
 for submit <at> debbugs.gnu.org; Tue, 10 Jan 2023 22:23:53 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1pFRiT-0002mO-8s
 for bug-guix@HIDDEN; Tue, 10 Jan 2023 22:23:53 -0500
Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1pFRiR-0007bt-NX
 for bug-guix@HIDDEN; Tue, 10 Jan 2023 22:23:53 -0500
Received: by mail-qt1-x830.google.com with SMTP id v14so12792449qtq.3
 for <bug-guix@HIDDEN>; Tue, 10 Jan 2023 19:23:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=tt/s58EO0WPj6xW5w4GPC+xzGUKPhwNXlrlxQuhXwYk=;
 b=bJYVlF8vS7ciG8LJUxD6l6P/M8t2aIZJmUj18VB6Jvbwe9beVwRg6iK7TqdEHSwS7W
 MLQS4Ob0C8dEqqxFj8gWngkp1qc/phvALik570c+RXc04FwlgxNljpVlOqQk60dSS5O6
 MGnGKu/PcaAiY00dyyShXUNenbIpuzwh/qp8jSgloI40kwLIT2koYzab1RBG3AwAWBJ6
 j68XZzxMxLZBTW6UOe/cr/JDftoObMn0yyFrkTfarq4XbsGmlcLUZicFE9YyW/5cSWqr
 XFUA+1JI3dYYzLbboAgllitHx935CgmdhA9uyNcK/3Ri5D2ZohFqC0n3goVkXsy0Eqxc
 tQKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=tt/s58EO0WPj6xW5w4GPC+xzGUKPhwNXlrlxQuhXwYk=;
 b=JdHSSdTKTDn+XNJAE0pT8VnoV21QTzSQmsWgfsru4QZV0C1BFnw1XuCWQcY9ho/922
 r2Xpa2Mc4q0ikCBuQEQzkVdth/a5ocH3hgFRXQuHG02s4/CatV/r5RyM9MHUgvELbC9E
 IpjAhEYN9aaCLN7IcaCv6XvN54zeb+fg6cJlnpADmZP1CgYOgKcK9FGb33LQiaNFgzmq
 ls2GWPvJ236ZyBFzZreRt9HBxA+tURSuQT7ZqVwN6u+KMbzGyo8z6X/uHL4xR/DE/LsF
 3MDYMAlt4Do8Z2jGVgcYn4h9jlfOZzjMRZaQKPK2ZWdCvd4EcT5y+Wm5IXSJtOjYuKyM
 jOcA==
X-Gm-Message-State: AFqh2kp8lqgbNbk6jX0wJdpFPSvwPR8uvvGKUVvCyoxfzahdwHocZGTm
 aktu2AxeaNapLcmJjGy0T2miYx6XWpdpVw==
X-Google-Smtp-Source: AMrXdXug8+W7913TSh+IzyqxTLTT3OJ43rk61+37x6lDhXeDKyOjinDd3LWM4iJ7cdAWOTf6uXsqKw==
X-Received: by 2002:a05:622a:5144:b0:3ab:7e41:5bb2 with SMTP id
 ew4-20020a05622a514400b003ab7e415bb2mr85209308qtb.38.1673407430210; 
 Tue, 10 Jan 2023 19:23:50 -0800 (PST)
Received: from hurd (dsl-157-228.b2b2c.ca. [66.158.157.228])
 by smtp.gmail.com with ESMTPSA id
 bp43-20020a05622a1bab00b003a68f5d98c1sm6906736qtb.93.2023.01.10.19.23.49
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 10 Jan 2023 19:23:49 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: guix lint thinks 2019111-0.7e76d75 is older than 20191111
Date: Tue, 10 Jan 2023 22:23:48 -0500
Message-ID: <878ri9kb3v.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::830;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qt1-x830.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi Guix,

If you run 'guix lint emacs-enh-ruby-mode', it'll print this:

--8<---------------cut here---------------start------------->8---
emacs-enh-ruby-mode@HIDDEN: can be upgraded to 20191111
--8<---------------cut here---------------end--------------->8---

That's wrong; it should know that something that starts with the tag and
has trailing characters is considered newer.  Actually, it should
probably implement the RPM scheme used in Debian also, so that an RC can
be understood as older than the final release.  The scheme uses the
tilde character (~) as a way to specify that the version is lower than
the number that precedes the tilde.

See the test case here for a "specification" (there may be a better
place):
https://github.com/rpm-software-management/rpm/blob/4afe2d14d33db82ccb41c0a8d5eb1a4db90762fc/tests/rpmvercmp.at#L94

-- 
Thanks,
Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#60725; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 11 Jan 2023 19:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.