From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GAGJK9w+BGK0OwAAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 23:23:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uFY8KNw+BGIjDgAAauVa8A (envelope-from ) for ; Wed, 09 Feb 2022 23:23:24 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 05E453ABE1 for ; Wed, 9 Feb 2022 23:23:23 +0100 (CET) Received: from localhost ([::1]:57074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHvMv-0001gY-Oz for larch@yhetil.org; Wed, 09 Feb 2022 17:23:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHvCw-0000zD-Po for guix-patches@gnu.org; Wed, 09 Feb 2022 17:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59130) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHvCw-0007Dd-De for guix-patches@gnu.org; Wed, 09 Feb 2022 17:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHvCw-0006XK-99; Wed, 09 Feb 2022 17:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53909] [PATCH 0/4] 'guix pull -l' no longer displays package lists by default Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: zimon.toutoune@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 09 Feb 2022 22:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53909 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53909@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , zimoun X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: zimoun Received: via spool by submit@debbugs.gnu.org id=B.164444477525111 (code B ref -1); Wed, 09 Feb 2022 22:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Feb 2022 22:12:55 +0000 Received: from localhost ([127.0.0.1]:53026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHvCp-0006Wx-40 for submit@debbugs.gnu.org; Wed, 09 Feb 2022 17:12:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:45506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHvCm-0006Wo-HR for submit@debbugs.gnu.org; Wed, 09 Feb 2022 17:12:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHvCm-0000T7-Bj for guix-patches@gnu.org; Wed, 09 Feb 2022 17:12:52 -0500 Received: from [2001:470:142:3::e] (port=40126 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHvCk-0007Bj-S1; Wed, 09 Feb 2022 17:12:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=dt3b1XQIhrLHlWc+XtrQ5jzQV4KIhfjtQwJ0+Foeu/Q=; b=mgDsVpcCpJXvkc fElxRGnxwgjn5FbiL5vRKPGfkYvIRkOSUjD/C03/4ayoibQQY4tL+osFhADUEUdBzCPsivwwz64u1 zbsq0fEHFqNyUoaU4Y3zfzZlJLnUQyxXo5nBT+4Frq+yj1oZDOWd+CKT5Glakqw6Sbq7MyQFN9E6C EHD2w4jgXcMPY0tw0mteD5JCWMwtuYsHFzsTppTmfXTlTklNIDBlV3hKe7OQrFd+ys1RA4osBnFk1 GG+u7rDae5iNErXmXwIqvPRDc11T+2MT2pJlaEua+xU00h/jFQvik++wI46t3nkYg5eLoOqL4jiKw fIMkCpzJ6vuDeZj2cwvQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:56740 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHvCh-0008Fd-OH; Wed, 09 Feb 2022 17:12:50 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 9 Feb 2022 23:12:37 +0100 Message-Id: <20220209221237.8549-1-ludo@gnu.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644445403; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dt3b1XQIhrLHlWc+XtrQ5jzQV4KIhfjtQwJ0+Foeu/Q=; b=A2vTgV6rusO4MAktsN4aL3vdhJVmhV8jbwYin1HLpQMFOXkkeTOKH90jiklibpYPzMf0bT YJCo7PRh76y9ej7gp/iBxDRLPhxBtUh8T8mszZySZTyH5sAgVnsviv75gWe/B/ij8iJSZA W1AyL5JEQ0qehI2mEJLxQF6GKAC+ug4rz98MycHZuvHqmHMXgcrwke3IFJWr6hlB6Y0Z6P vW12u4eGdgaAoNlF9v88S/sh+qHtxVUhOe5+JdzufS68NiIpV3bOZk15idT2AbIa/rLEcd QxTvU+8bJZ9l991YcgPwrb4k1NAk0iPwlkVRyyoYraq5aNuiFomIs8h7VZwC2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644445403; a=rsa-sha256; cv=none; b=uxNAdZA0k02qHZgtg9vZJwAdfU/DnjCesVmnr7f5D2m6rTd2loJHl44BHVNmsIWaJ3jw8G rXJcMtoCWBRJeWNWMYbi5Tk7oZVbfmnc11RFuwYAuP4uOSpJtXVKsEPW/hLt0bgQyK4fwH y9qHrNy2RJQ1Gb+oY6SIWjwID4i8HZ/Cbt+cvGDAYkDyLnB24AGN5xlyLsFCriHUwN85yx SKuQsfez+xVThxl2Je/1s9ql7I/dfTcHyvxhsbV/4uluo3lI+4/7AdmKS2tI6hZp+aGXFn FyY8WQyi9HMIqUVwrlyYYCCjsk28HyHKFKCjhdG95SK43J564Oks2yi33rywrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mgDsVpcC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mgDsVpcC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 05E453ABE1 X-Spam-Score: -3.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: eHnHs4sLJu6W 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