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 qKdHDtXdPGL4YgEAgWs5BA (envelope-from ) for ; Thu, 24 Mar 2022 22:08:37 +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 MEIFC9XdPGIeFwEAauVa8A (envelope-from ) for ; Thu, 24 Mar 2022 22:08:37 +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 0F2F285D4 for ; Thu, 24 Mar 2022 22:08:35 +0100 (CET) Received: from localhost ([::1]:55876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXUh8-0002VA-98 for larch@yhetil.org; Thu, 24 Mar 2022 17:08:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXUgy-0002Uv-P4 for guix-devel@gnu.org; Thu, 24 Mar 2022 17:08:24 -0400 Received: from [2001:470:142:3::e] (port=45842 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 1nXUgx-0002Ja-Ow; Thu, 24 Mar 2022 17:08:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=kpt3NVyH1x+U10X6WKrxyicHI1rBgBu6xIb0qB0hBNI=; b=hfDwu6JYTicBuN6cJlCD bXvZtLOpLXlPWbtGTUWgUZ+oy6lTTVTxB37FjCG4oSCsXBK7Oe8O/eIoSz6WPVb/Y9QHV7fIqdfpy Sd5DxyN2egbxxArrSEl02AH5WAoxg6vfr/ij348tvdJ3S/Ka9wDFJfNo40NGZTv5UxwSJFKuZYjrJ ZNElBSL4Pkpn3nWfABwcx5y0tTpiF/X9TEQZtewPbCSRXA8sAhlD6b5PRKloAZgJ7ZFAvxmow6InI w/NKaz8FMlByfSluPfAfaOF5P3KviyDiwDL/weH0iJT/JDVXBo2ESEL0muY9BTVP+O59QxEnc7BFp eQ+vZ0M9oUVKig==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:60436 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXUgx-0002jH-CJ; Thu, 24 Mar 2022 17:08:23 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxime Devos Subject: Re: Improve the output of `guix refresh -l` References: <86v8wcub48.fsf@163.com> <514e0775070d1d6363429a2e8c73efc904059506.camel@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Germinal an 230 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 24 Mar 2022 22:08:20 +0100 In-Reply-To: <514e0775070d1d6363429a2e8c73efc904059506.camel@telenet.be> (Maxime Devos's message of "Thu, 17 Mar 2022 16:28:45 +0100") Message-ID: <87o81v9hyz.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-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=1648156115; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kpt3NVyH1x+U10X6WKrxyicHI1rBgBu6xIb0qB0hBNI=; b=ha8FaEMb2264cA7Q+Nw7p2AN9c03PQMDfBmJAUAGiIxv8ZEmsDx4YL/TUUTTuAJyPKP/Zq rL9LFTHczg2gfcLByn44sRsBz8KxLR+VfLKb4AImw/YeQWafh/PTd/CzSFJwLtzZfEyvz/ BFHID3hDpNgY5iaxG9Q1c9ooD19T0VztcpJoK5ChdgGQv+moGkGPduQXCE9QpOtbptM5z7 kdM2VRPIRbRKQXmBmGYaRQH1TSK/mUpy2caMa/8nAD1k8JPuozPFkyYgfadoidvzlGRa6G H24QZWIAnYSHXQAhaOKJmPpdn9MH1nwp0vQ0nvJmfuctceeiXGKBsCX3ufy1HQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648156115; a=rsa-sha256; cv=none; b=qV5HENiB4A4KkMRF7a2pHLtN3q0qR3vzL5C1VDrVScgKe8ZKMUXxvVcV+pNpayaKWKG+43 wr6hSH4r4NAVdZnGZjCPNeYIdQXxTup0CFufBVoCsHHy5ytqUh5Owi1DOhOzhUWP8Dzni5 /IFpgRAkYdfK4gcPphv3jpT+0cHOxcXWGHZavgVGUlS6LTD9m//w6wyx9rci+S2+HMO8IO Ygg+iX6cWYolUPeUgTmvgJuIPpuZTMpreMmMYFMerV7IxFxr8E6E+yy2dodeH602oq5MAL rZ10njtFYoiaMnV9Yq+6u8JBEO0jWWs8XSdp0ynGELftOKn9GXRMXrqDn2mmPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=hfDwu6JY; dmarc=pass (policy=none) header.from=gnu.org; 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: -5.29 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=hfDwu6JY; dmarc=pass (policy=none) header.from=gnu.org; 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: 0F2F285D4 X-Spam-Score: -5.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: qO+qZGcwYpB6 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 less= 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 automati= cally rebuilds the updated package and its direct dependents. Thoughts? Ludo=E2=80=99.