From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 aIKgKXJKPWKd8AAAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 05:52:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cFrwJnJKPWKpZAEA9RJhRA (envelope-from ) for ; Fri, 25 Mar 2022 05:52:02 +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 792A911C62 for ; Fri, 25 Mar 2022 05:52:02 +0100 (CET) Received: from localhost ([::1]:58914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXbvd-0004zt-F2 for larch@yhetil.org; Fri, 25 Mar 2022 00:52:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXbvO-0004y5-Sd for guix-devel@gnu.org; Fri, 25 Mar 2022 00:51:47 -0400 Received: from mail-m971.mail.163.com ([123.126.97.1]:52658) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXbvJ-0006fg-6X; Fri, 25 Mar 2022 00:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=kWtDD AgXFWvlv5O8wlOyTXNeC/YLWIvj7qXa05DOIRc=; b=ISiBeQ1avMCr2XvyWiupI V19nEOuitLU4hVUb3S2LBtN5xP9j6jQ1qxSJlg2NH7aJ/BxBpnKx3gfXU2ImEIUl DyYmAyKuRu0/i6EbfbJnDFVkmZVRw7XTGXMaChyJnRIQ8VJbMge/CyYo9RMqSr9s YvwFhwdUWHwMV+OR5e35yA= Received: from asus-laptop (unknown [27.38.118.129]) by smtp1 (Coremail) with SMTP id GdxpCgBHn+tPSj1ibBTyEw--.12668S2; Fri, 25 Mar 2022 12:51:28 +0800 (CST) References: <86v8wcub48.fsf@163.com> <514e0775070d1d6363429a2e8c73efc904059506.camel@telenet.be> <87o81v9hyz.fsf@gnu.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Zhu Zihao To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Improve the output of `guix refresh -l` Date: Fri, 25 Mar 2022 12:50:51 +0800 In-reply-to: <87o81v9hyz.fsf@gnu.org> Message-ID: <86pmma3a9e.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: GdxpCgBHn+tPSj1ibBTyEw--.12668S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7tr48KF18tw1rtw1UAF4UCFg_yoW8Xry5pa yxK3W8Kayktr48Zr129w4fuFWrt3srAF1fGrnxKFZF9rWqgFWfKrW3tr4Uua1xCFnxKw1U A3yjvr17JF4rZFJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zRJ3kNUUUUU= X-Originating-IP: [27.38.118.129] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBLxDOr2HmllLv1QAAsn Received-SPF: pass client-ip=123.126.97.1; envelope-from=all_but_last@163.com; helo=mail-m971.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648183922; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kWtDDAgXFWvlv5O8wlOyTXNeC/YLWIvj7qXa05DOIRc=; b=EdDuu3cCSlM3DU681gxiIMYsf1q0cdh+v7/dNCmHWSJuJButFkgKUMxO8rWEHRMiQgfMZy L+SnyDc8IhVHXIKjRjZ155sAww+mrsBvS8Nnw6lwKLGdewZjBc741N4kuhEwp0z8V99U4u zUmVWDJvlGF/rH/YD1MefiKZHbRAgX2839ajDgxlnA0K98n4zeRh3UDwEMhwV74d5V07wc CVebOBefmJ5qORacgJE0hEuvKufUpwmlRmm99WMnT8n7Y9Nq8D28P8XqP/rqXY7vzhEmvV Oo78OnFau1i7W+Ivg2cJxfyLTFHPL5R8gxjYvB3mfxZHnSXzpOZDUhVsFqIRoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648183922; a=rsa-sha256; cv=none; b=q2F4zYK37uADFiDcEj5DBAFYoHmkJm42iWtyihzukm37jb6g9BUKOv1ukZNwt2ZtGCet+Y dnqmBOo0jO2rO+SBjWQu+lyvDYJ/r5uMI5H/kpHUPxE/KEICpqkC3p4KQBmoWW9i5hmxGC ttMyaVI1aoNhm+ANAdrMQItz+lpLp5nuw3wWqKbumsKAOBxcv4V2lC8uUkb7jc6wRRlAeY T6Vc3E5FgmMnAk292QnKDsdq/lgpthswY/0Ov9bF38/ZbnM6/5/C6FPvKDoFyLCA9HuTr8 35mPTW05VWJQJ9aM9FS3FdKBrBom5GufS06QA9ZkE7HZ0pEfWKI5lYwjuZI/7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=ISiBeQ1a; dmarc=pass (policy=none) header.from=163.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -11.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=ISiBeQ1a; dmarc=pass (policy=none) header.from=163.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 792A911C62 X-Spam-Score: -11.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: S8rWUCJqDrPR --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Couldn't agree more :) Ludovic Court=C3=A8s writes: > Maxime Devos skribis: > >> Zhu Zihao schreef op do 17-03-2022 om 18:22 [+0800]: >>> for example, run `guix refresh -l pango`, The terminal prints: >>>=20 >>> ``` >>> Building the following 2945 packages would ensure 7521 dependent >>> packages are rebuilt: ...... >>> ``` >>>=20 >>> The package list is too long to read, flood my terminal with package >>> names. It will hide the actual rebuilt count, I have to pipe the >>> output >>> to less command to make sure I can see it. >>>=20 >>> What about add an option like `--detail` for `guix refresh -l`? >> >> The short option '-l' is a shorthand for the long option >> '--list-dependents'. It seems to me that '--list-dependents' should >> actually list the dependents, so I would not do that, otherwise the >> option name would (by itself) not correspond to its behaviour anymore. > > Maybe it could use =E2=80=98fill-paragraph=E2=80=99 and > =E2=80=98call-with-paginated-output-port=E2=80=99 so that it=E2=80=99s le= ss annoying? > >> Maybe something like a '--count-dependents' option would be nice >> though. > > That too, and/or =E2=80=98--direct-dependents=E2=80=99 (sometimes it=E2= =80=99s good enough). > > Another option would be a =E2=80=98guix refresh=E2=80=99 mode that automa= tically > rebuilds the updated package and its direct dependents. > > Thoughts? > > Ludo=E2=80=99. =2D-=20 Retrieve my PGP public key: gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQRefA5qkqvnKdl/GTlmOX+E92aT+QUCYj1KTRUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQZjl/hPdmk/nEuQEAqJ3OFix+Bidy7KjcxSbtavoCHMVJ AQOfVXi4pM//i5gBAPXQS0F3JkGjv9oA0WBQer1FrwgJD12QMaQf0q3tzcUD =wiNL -----END PGP SIGNATURE----- --=-=-=--