From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GHpcAml2CmKrRAAAgWs5BA (envelope-from ) for ; Mon, 14 Feb 2022 16:34:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gCNYO2h2CmKY+gAA9RJhRA (envelope-from ) for ; Mon, 14 Feb 2022 16:34:00 +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 D066D3AC57 for ; Mon, 14 Feb 2022 16:32:10 +0100 (CET) Received: from localhost ([::1]:46188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJdKj-0002LA-TE for larch@yhetil.org; Mon, 14 Feb 2022 10:32:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJcnj-0005Kk-C5 for guix-patches@gnu.org; Mon, 14 Feb 2022 09:58:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJcnj-0006Vx-0h for guix-patches@gnu.org; Mon, 14 Feb 2022 09:58:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJcnj-0002qA-18 for guix-patches@gnu.org; Mon, 14 Feb 2022 09:58:03 -0500 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-To: guix-patches@gnu.org Resent-Date: Mon, 14 Feb 2022 14:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53909 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 53909-done@debbugs.gnu.org Mail-Followup-To: 53909@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 53909-done@debbugs.gnu.org id=D53909.164485063710438 (code D ref 53909); Mon, 14 Feb 2022 14:58:02 +0000 Received: (at 53909-done) by debbugs.gnu.org; 14 Feb 2022 14:57:17 +0000 Received: from localhost ([127.0.0.1]:41874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJcmy-0002i1-HS for submit@debbugs.gnu.org; Mon, 14 Feb 2022 09:57:17 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJcmj-0002dA-6l for 53909-done@debbugs.gnu.org; Mon, 14 Feb 2022 09:57:15 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 9C2E7566; Mon, 14 Feb 2022 15:56:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sW2WA9HNeKiq; Mon, 14 Feb 2022 15:56:53 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 54FB52D0; Mon, 14 Feb 2022 15:56:53 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220209221237.8549-1-ludo@gnu.org> <20220209221712.8724-1-ludo@gnu.org> <87mtiy8wnm.fsf_-_@gmail.com> Date: Mon, 14 Feb 2022 15:56:52 +0100 In-Reply-To: <87mtiy8wnm.fsf_-_@gmail.com> (zimoun's message of "Thu, 10 Feb 2022 18:21:49 +0100") Message-ID: <87ilthwl6z.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 9C2E7566 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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=1644852730; 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-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=9beY6/D4P5bUxX2ye39Iu/1IEtUKyALlO6i7gzJUJJ0=; b=lUlLuHu20nUhkb22/zmhTZvdhRFAJb3DMhuv54YxWkaNkpQjHJaMFugZFEiCMyCsnwS6DW U4MOsrXjVR45aDj+l+JPpsmipIZe0k/1ekJKSVR4uCMv0vdpjKnvCheFb4LuzvsErXLnmP xVIFvCU9NGagQFK0NBWNDDpvoTdjYRfcJJ40wfDQV75arwQFYsJwByp1k3bOIR2ZsCeiAt abJ0bAgxhhVMIHT458YmgXXWRQ/KOPTkMystrD5QH/L9pikGELoS2BblmksSYmpRj5whwt w249eoNdmf0i4yYGJbWCbP6pLUCyaE/k63Ovx1v+7+IffC8FkzeiCg9wHolb7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644852730; a=rsa-sha256; cv=none; b=a4NgMmVEJOCSuXbl+C1UCDIveldufbJmYzTAmXw0gql35kQ3oHlI/SVucQg1PgKYqLr8O0 53IUhAdzXg1/J+wgNGzx3pOj/sPoYYuTby8r1TvjykSP6dPTTsfo0tJO394VqaapKyxhyu ZhWkGJ9vafaEaUH+sIOpl/c//As8tTGz0sl4DjecYXQNDp4FkISWXlf75PwhAyyXSv7AWD dvpU6SA6a7tDvneeQuoBCW1Y+BnZFSt/N7K8Vi7pJvNdkGFyXNw0nt2s68kI3r5bTKeuTd FxXk+pDdnpEnbsCMCfDl7VjGKyUNNA8rcIy7Hw1j5iFU5QJ33sRVXBemuLm3zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.63 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: D066D3AC57 X-Spam-Score: -3.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: 31Bk2ccZKVb4 Hi, zimoun skribis: > On Wed, 09 Feb 2022 at 23:17, Ludovic Court=C3=A8s wrote: > >> * guix/scripts/pull.scm (show-help, %options): Add "--details". > > IMHO, the commit online header should reflect that. Right, fixed. > Well, "guix pull --details" pulls; which I find annoying. Instead, I > propose to silently runs "guix pull --details -l", see this diff: > > diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm > index 707f1f0929..fb1dd6c82c 100644 > --- a/guix/scripts/pull.scm > +++ b/guix/scripts/pull.scm > @@ -142,7 +142,9 @@ (define %options > result))) > (option '("details") #f #f > (lambda (opt name arg result) > - (alist-cons 'details? #t result))) > + (alist-cons 'details? #t > + (cons '(query list-generations #f) > + result)))) It=E2=80=99s a bit more complicated since you don=E2=80=99t want to overrid= e previous =E2=80=98-l=E2=80=99 arguments, but I did that. > Last, about this change=E2=80=A6 > >> - (define (no-arguments arg _=E2=80=8C) >> + (define (no-arguments arg _) > > =E2=80=A6it a Git twist? I miss what changed=E2=80=93=E2=80=93my whitesp= ace mode is badly > configured? There=E2=80=99s a ZERO WIDTH NON-JOINER above; you can see it with a trick I recently learned: (set-face-background 'glyphless-char "red"). :-) Anyway, pushed: 054ec2e242 pull: '--list-generations' pipes its output to the pager. 5b6e31b020 ui: 'display-generation' uses color when talking to a pager. 7ffcee1937 ui: 'with-paginated-output-port' gives access to the wrapped p= ort. b9df2e2b4d pull: '--list-generations' lists packages only with '--details= '. Thanks! Ludo=E2=80=99.