Subject: bug#51099: closed (Re: bug#51099: guix refresh/lint can provide false positive about updates)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 14 Mar 2024 18:28:02 +0000

Your bug report

#51099: guix refresh/lint can provide false positive about updates

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].

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

Subject: Re: bug#51099: guix refresh/lint can provide false positive about updates
From: Maxim Cournoyer <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Thu, 14 Mar 2024 14:26:10 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Ludovic Courtès <[email-masked]> writes:

> Hi,
>
> Maxim Cournoyer <[email-masked]> skribis:
>
>> In Guix, we commit to offer officially released packages where
>> available/feasible.  Some projects produce release that are not
>> "stable", such as GStreamer, and our 'guix refresh' tool can't currently
>> tell the difference:
>>
>> $ guix lint gstreamer-docs
>> [...]
>> [email-masked]: can be upgraded to 1.19.2
>>
>> For GStreamer, every odd minor release version indicates a development
>> snapshot (unstable) release.
>
> Ah that’s an interesting case.  The ‘gnome’ updater checks for odd minor
> release numbers already.  But in this case, it’s the ‘generic-html’
> updater that kicks in, which is nice, except it doesn’t know about the
> odd/even scheme.
>
> So yes, we could have a property like you suggest that the
> ‘generic-html’ and ‘generic-git’ updaters (at least) would honor.

GNOME is moving away from such a versioning scheme, reflected by this 2
year old commit of mine: 5dd3acd0a0941ff9764959b313aae48095c66312
("import: gnome: Improve version handling logic.").

Thus, the use case seems to have vanished.  Let's close for now.

-- 
Thanks,
Maxim

Subject: guix refresh/lint can provide false positive about updates
From: Maxim Cournoyer <[email-masked]>
To: bug-guix <[email-masked]>
Date: Fri, 08 Oct 2021 15:31:57 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

In Guix, we commit to offer officially released packages where
available/feasible.  Some projects produce release that are not
"stable", such as GStreamer, and our 'guix refresh' tool can't currently
tell the difference:

--8<---------------cut here---------------start------------->8---
$ guix lint gstreamer-docs
[...]
[email-masked]: can be upgraded to 1.19.2
--8<---------------cut here---------------end--------------->8---

For GStreamer, every odd minor release version indicates a development
snapshot (unstable) release.

One way to go about this would be to provide the release version scheme
at the pacakage level and use that information to filter available
releases, e.g.:

(package
 ...
 (properties '((version-scheme %even-minor-version))))

Where %even-minor-version could be a procedure accept the version string
as input and validating that the minor version number is even.

Or something along these lines.

Thanks,

Maxim