GNU bug report logs - #51099
guix refresh/lint can provide false positive about updates

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 Fri, 8 Oct 2021 19:33:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 8 Oct 2021 19:32:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 08 15:32:04 2021
Received: from localhost ([127.0.0.1]:51907 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mYvbA-0007cY-Dt
	for submit <at> debbugs.gnu.org; Fri, 08 Oct 2021 15:32:04 -0400
Received: from lists.gnu.org ([209.51.188.17]:51178)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1mYvb8-0007cQ-4w
 for submit <at> debbugs.gnu.org; Fri, 08 Oct 2021 15:32:02 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53008)
 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 1mYvb7-0003iZ-U4
 for bug-guix@HIDDEN; Fri, 08 Oct 2021 15:32:01 -0400
Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:40548)
 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 1mYvb6-0007Dy-Bx
 for bug-guix@HIDDEN; Fri, 08 Oct 2021 15:32:01 -0400
Received: by mail-qk1-x72e.google.com with SMTP id z40so9151974qko.7
 for <bug-guix@HIDDEN>; Fri, 08 Oct 2021 12:31:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version;
 bh=75gBIASLJrCH6TQfwaFUm6ACdtUIwfqDfCsjAMBjDRc=;
 b=YiTrCZ0y/9CHZ8PQkbiThqsHJIn+Nk4IJsgBRqwJBZKEbjMJCxXlp+i6WWkRVDL47/
 QFAYuQhLI36KnMab+zMPhEsr3j+WbkQqeyvFm+CmjnHNXidn1B7+av/ZbIZHEUKtd+yK
 ENWlJh8mG7tygLRImHaS8ayFUMmSKBD9jc9FofJnVoi0KGmbgE1ccGWRkRdysM9bUG8s
 bic2EzOBcg5EkApfZFi5ZVvPOllXr2Lln09n2xoZtxxDmt0exaqlKm90l2xZSkCr8D/r
 8TyxpgMYR/rcC7W2iniSuwHvFbgi/LLG/ClV3dRUvXgiu/tvxuSoWpg4TQ+hZmPNk9c0
 1vbg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=75gBIASLJrCH6TQfwaFUm6ACdtUIwfqDfCsjAMBjDRc=;
 b=t4PkGL+NiZ6kbgur3DUknTkljSg9f03I4EWvM7KKH9OMZjil1xYxFyoKIY3ub8Gq6t
 R6ivRAeImKg7qFYEteaX/fGmYXbteYOiJiNN/ucfAQiSlzgn+Y0sgnWqzcEYoWDEbTGd
 L8mCrrIS/Rly6sxKR4x+Oh1fWy+lyu0rGiuO1ajrteqOJMQv1FfVqkUPTlF3D6UUpqwM
 gHvhCCmAaVl1huBvSpEySQZ2Bof49XSDkFGvFA25Lse3aXL9RzHhikGq8z4jsF2XSAiW
 PdpoxiQkaGkeWC3zeOdS8Vo0vN+nRcRFgj/+00fum7JxXw2wm0cMxdjhEAKMdy7vms24
 b6HA==
X-Gm-Message-State: AOAM530c3WRt0MTQ3Z86sO5BRcaxVhz2qrfnz4u4y9oTHdrb3Emi0AEf
 el0EMLzWeRfGDTrl3aZvlrjZHfuHW6k=
X-Google-Smtp-Source: ABdhPJz2bAWOhcUuXWvPXd+2uhkP5DDvt/87Sqhe3rttlmsPaKy1BD11/Nti/kCl1S9I4ZBKThQi3w==
X-Received: by 2002:a37:9bd6:: with SMTP id d205mr4432071qke.67.1633721519052; 
 Fri, 08 Oct 2021 12:31:59 -0700 (PDT)
Received: from hurd (dsl-152-183.b2b2c.ca. [66.158.152.183])
 by smtp.gmail.com with ESMTPSA id 128sm231400qkl.111.2021.10.08.12.31.58
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 08 Oct 2021 12:31:58 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: guix refresh/lint can provide false positive about updates
Date: Fri, 08 Oct 2021 15:31:57 -0400
Message-ID: <87czof2tzm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::72e;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qk1-x72e.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 (--)

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
[...]
gstreamer-docs@HIDDEN: 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




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#51099; 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: Fri, 8 Oct 2021 19:45:01 UTC

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