GNU bug report logs - #54000
[PATCH 0/2] Not showing upgraded/added packages in 'guix pull'

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Mon, 14 Feb 2022 16:40:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#54000: closed ([PATCH 0/2] Not showing upgraded/added
 packages in 'guix pull')
Date: Sun, 27 Feb 2022 22:16:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 27 Feb 2022 23:15:27 +0100
with message-id <87wnhgrm68.fsf_-_ <at> gnu.org>
and subject line Re: bug#54000: [PATCH 0/2] Not showing upgraded/added packages in 'guix pull'
has caused the debbugs.gnu.org bug report #54000,
regarding [PATCH 0/2] Not showing upgraded/added packages in 'guix pull'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
54000: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54000
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH 0/2] Not showing upgraded/added packages in 'guix pull'
Date: Mon, 14 Feb 2022 17:38:38 +0100
Hello!

As a followup to <https://issues.guix.gnu.org/53909>, these patches
remove the list of added/upgraded packages from the output of
‘guix pull’ (upon completion) and ‘guix pull --news’.

It’s not spring yet in this hemisphere, but it looks like a spring cleanup!

Ludo’.

Ludovic Courtès (2):
  pull: '--news' no longer shows package lists.
  pull: No longer print upgraded/added packages upon completion.

 doc/guix.texi         | 10 ++---
 guix/scripts/pull.scm | 98 +++++++++++++++++++++++--------------------
 2 files changed, 57 insertions(+), 51 deletions(-)


base-commit: 41000d16c5c1586482a76d856c3152a6b8fcce8a
-- 
2.34.0



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>
Cc: 54000-done <at> debbugs.gnu.org, zimoun <zimon.toutoune <at> gmail.com>
Subject: Re: bug#54000: [PATCH 0/2] Not showing upgraded/added packages in
 'guix pull'
Date: Sun, 27 Feb 2022 23:15:27 +0100
Hi,

Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> skribis:

> Am Freitag, dem 18.02.2022 um 10:08 +0100 schrieb Ludovic Courtès:
>> Hey comrades, hold your horses!  :-)
>> 
>> Since there’s a need for this, we can make ‘--details’ print package
>> lists when combined with ‘--news’; it doesn’t cost us anything,
>> that’s OK.
> Regarding the issue simon raised w.r.t. --details implying -l, I think
> --details should only imply listing the latest generation if -l is not
> specified.  That way --news --details would (hopefully) work as I
> intended, and specifying one without the other would only print that
> part.

Right, I went with something like you describe:

  2ddfb7b99b pull: No longer print upgraded/added packages upon completion.
  bc8bea1739 pull: '--news' no longer shows package lists.

That is, one can run ‘guix pull -N --details’ and get what you asked
for.  Running ‘guix pull --details’ alone still implies ‘-l’.

Let me know if anything’s amiss.

> On a separate note, would/should guix describe be affected by this? 
> Its output appear currently the same as `guix pull -l
> $CURRENT_GENERATION', but I haven't tested this on a generation
> including news.  My guess would be "no" as guix describe currently
> doesn't accept --news.

No, ‘guix describe’ doesn’t display news, profile changes, and all
that.  It’s meant to just show the raw channel info.

Thanks to both of you for your feedback!

Ludo’.


This bug report was last modified 3 years and 143 days ago.

Previous Next


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