GNU bug report logs -
#53909
[PATCH 0/4] 'guix pull -l' no longer displays package lists by default
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Wed, 9 Feb 2022 22:13: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
Message #23 received at 53909 <at> debbugs.gnu.org (full text, mbox):
Hi Ludo,
On Wed, 09 Feb 2022 at 23:12, Ludovic Courtès <ludo <at> gnu.org> wrote:
> The other day on IRC zimoun noted that ‘guix pull -l’ doesn’t work for
> them because it prints those long package lists, which incidentally
> makes it slower.
My remark is based on the rate of changes. Let assume that regular
users "pull" once a week – I even guess it is less frequent than that.
Here the number of additions this user would see for the last 10 weeks:
--8<---------------cut here---------------start------------->8---
$ for i in $(seq 10); do git log --after="$(($i + 1)) week ago" --before="$i week ago" --oneline | grep Add | wc -l; done
108
59
84
149
76
212
48
83
46
63
--8<---------------cut here---------------end--------------->8---
And for Update, it reads:
--8<---------------cut here---------------start------------->8---
106
115
103
247
261
134
167
99
100
145
--8<---------------cut here---------------end--------------->8---
Therefore, the current display of “guix pull -l” is not human readable.
> $ ./pre-inst-env guix pull --details -l
Note it hits bug#50472 [1]. Other said,
guix pull -l --details
does not work as expected.
1:<http://issues.guix.gnu.org/issue/50472
> Ludovic Courtès (4):
> pull: '--list-generations' doesn't list package changes by default.
> ui: 'with-paginated-output-port' gives access to the wrapped port.
> ui: 'display-generation' uses color when talking to a pager.
> pull: '--list-generations' pipes its output to the pager.
Well, I am mainly running CLI with Emacs ’M-x shell’, so Emacs is my
pager. :-) However, I have tried with xterm and PAGER=less, nothing is
different. Do I miss something?
Cheers,
simon
This bug report was last modified 3 years and 157 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.