GNU bug report logs - #77741
[PATCH] upstream: Do not update to same version.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Fri, 11 Apr 2025 14:02:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, Simon Tournier <zimon.toutoune <at> gmail.com>, Mathieu Othacehe <othacehe <at> gnu.org>, Tobias Geerinckx-Rice <me <at> tobias.gr>, Christopher Baines <guix <at> cbaines.net>, 77741 <at> debbugs.gnu.org
Subject: [bug#77741] [PATCH] upstream: Do not update to same version.
Date: Fri, 11 Apr 2025 16:58:40 +0200
Christopher Baines <mail <at> cbaines.net> skribis:

> From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
>
> Previously, 'guix refresh --update' would do actually rewrite the file with
> the same version/hash information when the target version was the same as the
> current version:
>
>   guix refresh --update idutils=4.6
>   idutils.scm: warning: downgrading 'idutils' from 4.6 to 4.6
>   [...]
>   idutils.scm: idutils: updating from version 4.6 to version 4.6...
>
> This changes handles this case so that it does and prints nothing.
>
> * guix/upstream.scm (package-update): Use `version-compare' to distinguish the
> equal versions case.
>
> Change-Id: I079e030d573f5968725ef13b3f626e2f8d02cb2f

LGTM!




This bug report was last modified 87 days ago.

Previous Next


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