From: "Ludovic Courtès" <ludo@gnu.org>
To: 53909@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>, zimoun <zimon.toutoune@gmail.com>
Subject: [bug#53909] [PATCH 0/4] 'guix pull -l' no longer displays package lists by default
Date: Wed, 9 Feb 2022 23:12:37 +0100 [thread overview]
Message-ID: <20220209221237.8549-1-ludo@gnu.org> (raw)
Hi!
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.
This series changes ‘guix pull -l’ so that by default it only prints
channel info and news:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix pull -l
Generation 192 Oct 25 2021 00:12:47
guix b5f45a2
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: b5f45a21c27b80210753e184e52708bb75a347bb
Generation 193 Oct 25 2021 21:29:18
guix b0735c7
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: b0735c79b0d1d34117ec36d5dc5f14a3f9392bc1
News for channel 'guix'
New `guix shell' command supersedes `guix environment'
commit 746584e0ca200e7bf51b139ceb36c19ea81d6ef1
A new `guix shell' command is now available. It is similar to `guix environment', but with a
more convenient interface (`guix environment' is deprecated but will remain available until
May, 1st 2023). The main difference compared to `guix environment' is that the "ad hoc" mode
is the default. Thus, to create an interactive environment containing Python, NumPy, and
SciPy, you would run:
guix shell python python-numpy python-scipy
To get a development environment for, say, Inkscape, pass the `-D' flag:
guix shell -D inkscape
Another difference is that running `guix shell' without arguments loads `manifest.scm' or
`guix.scm' for the current directory or an ancestor, provided you allowed it. The command
maintains a cache to speed up access to such environments.
Run `info "(guix) Invoking guix shell"' for more information.
Generation 194 Nov 07 2021 23:40:30
guix bd41e59
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: bd41e590dd24e54797fb8b6854c244efd4d12df5
--8<---------------cut here---------------end--------------->8---
One can pass ‘--details’ to get view new/upgraded packages:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix pull --detail -l
Generation 192 Oct 25 2021 00:12:47
guix b5f45a2
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: b5f45a21c27b80210753e184e52708bb75a347bb
Generation 193 Oct 25 2021 21:29:18
guix b0735c7
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: b0735c79b0d1d34117ec36d5dc5f14a3f9392bc1
3 new packages: lttng-tools, vim-gitgutter, vim-mucomplete
7 packages upgraded: flatpak@1.12.1, libportal@0.4, mspdebug@0.25-0.4c4d94e,
p11-kit@0.24.0, reprotest@0.7.18, xdg-desktop-portal-gtk@1.10.0, xdg-desktop-portal@1.10.1
News for channel 'guix'
New `guix shell' command supersedes `guix environment'
--8<---------------cut here---------------end--------------->8---
Last, ‘guix pull -l’ pipes its output to $PAGER by default.
Thoughts?
Ludo’.
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.
doc/guix.texi | 15 +++++++++------
guix/scripts/pull.scm | 35 +++++++++++++++++++++++++++--------
guix/ui.scm | 24 ++++++++++++++++++++++--
3 files changed, 58 insertions(+), 16 deletions(-)
--
2.34.0
next reply other threads:[~2022-02-09 22:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 22:12 Ludovic Courtès [this message]
2022-02-09 22:17 ` [bug#53909] [PATCH 1/4] pull: '--list-generations' doesn't list package changes by default Ludovic Courtès
2022-02-09 22:17 ` [bug#53909] [PATCH 2/4] ui: 'with-paginated-output-port' gives access to the wrapped port Ludovic Courtès
2022-02-09 22:17 ` [bug#53909] [PATCH 3/4] ui: 'display-generation' uses color when talking to a pager Ludovic Courtès
2022-02-09 22:17 ` [bug#53909] [PATCH 4/4] pull: '--list-generations' pipes its output to the pager Ludovic Courtès
2022-02-10 17:21 ` [bug#53909] [PATCH 0/4] 'guix pull -l' no longer displays package lists by default zimoun
2022-02-14 14:56 ` bug#53909: " Ludovic Courtès
2022-02-14 17:28 ` [bug#53909] " zimoun
2022-02-10 17:51 ` zimoun
2022-02-14 12:56 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220209221237.8549-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=53909@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.