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


Message #13 received at 77741-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 77741-done <at> debbugs.gnu.org
Subject: Re: [bug#77741] [PATCH] upstream: Do not update to same version.
Date: Sun, 27 Apr 2025 13:40:21 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> 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!

Thanks for taking a look, I've pushed this to master as
a369932d042d0212b354def48f8f0c87b9f65e69.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 85 days ago.

Previous Next


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