GNU bug report logs - #75871
[PATCH 0/1] Partial version support for 'guix refresh --target-version'.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sun, 26 Jan 2025 15:01:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 75871 <at> debbugs.gnu.org
Subject: [bug#75871] [PATCH 0/1] Partial version support for 'guix refresh --target-version'.
Date: Fri, 21 Feb 2025 14:44:47 +0100
Am Freitag, dem 21.02.2025 um 22:23 +0900 schrieb Maxim Cournoyer:
> Hi,
> 
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
> 
> > Hello,
> > 
> > This adds support for providing incomplete version strings to 'guix
> > refresh --target-version', for example allowing to do:
> > 
> > $ guix refresh --target-version=46 evince
> > gnu/packages/gnome.scm:2710:13: evince would be upgraded from 44.3
> > to 46.3.1
> > 
> > The change looks massive because all the importers are adjusted to
> > support this, but the adjustments needed are mechanical and simple,
> > hopefully making the review not overly painful.  The most critical
> > and complex bit may be in the modified 'rewrite-url' procedure,
> > which is covered by unit tests.
> 
> I'll merge this is a 3 days if nobody objects.
Not an objection, but two questions.

First, regarding the handling of multiple packages:  Does 
  $ guix refresh
    --target-version=46 evince epiphany gnome-shell … \
    --target-version=4 gtk …
do what one would expect and update evince, gnome-shell etc. to
46.whatever and gtk etc. to 4.something?

Second, should we also have a postfix notation (e.g. evince~46 or
evince=46.*) to ease typing?

Cheers




This bug report was last modified 86 days ago.

Previous Next


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