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 oH/rMNBTM2IxEwAAgWs5BA (envelope-from ) for ; Thu, 17 Mar 2022 16:29:20 +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 CGY2LtBTM2LuiAAA9RJhRA (envelope-from ) for ; Thu, 17 Mar 2022 16:29:20 +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 6B9643F4F1 for ; Thu, 17 Mar 2022 16:29:20 +0100 (CET) Received: from localhost ([::1]:48638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUs3z-0003S3-FA for larch@yhetil.org; Thu, 17 Mar 2022 11:29:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUs3f-0003L7-Fz for guix-devel@gnu.org; Thu, 17 Mar 2022 11:28:59 -0400 Received: from [2a02:1800:120:4::f00:13] (port=48118 helo=baptiste.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUs3d-00031b-JD for guix-devel@gnu.org; Thu, 17 Mar 2022 11:28:59 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id 7TUs2700e4UW6Th01TUthY; Thu, 17 Mar 2022 16:28:53 +0100 Message-ID: <514e0775070d1d6363429a2e8c73efc904059506.camel@telenet.be> Subject: Re: Improve the output of `guix refresh -l` From: Maxime Devos To: Zhu Zihao , Guix Devel Date: Thu, 17 Mar 2022 16:28:45 +0100 In-Reply-To: <86v8wcub48.fsf@163.com> References: <86v8wcub48.fsf@163.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-jdpN1eyyJccB3sI+rVJv" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1647530933; bh=aiDLYR4mrh5omadDohU8azZWZ200yIaodCxJMsSukp0=; h=Subject:From:To:Date:In-Reply-To:References; b=aOVlMpHLFvSifOSUdk6+98giMijTFrkoWw1icKwWX+pRRTBeFqcDbyNHUCJOElvdO 1f5Sskxf08Uax4xGIB2Mm8XO9MCFA6IsP1Nav3K47haI22DY+jJ6iNw/yBosS+jlJL RCGMNgxz2uqvqUtoNonEwituF4TMcCGd9yDt2ajuMhFjQjmZEtq9wIASiIHbs+kRfx riNhOcdytpdYeaG8WKKL17yzK66FjSL7SthJUh068KYOk8Wu10oeFxzA1DsDenjbRC salSOraiU6nuQC9SlXTqvZ2mw88pI5yDF72cEHAPVEgFMIm663ta2hkAM9g6VWOOS4 PB6+aa/Vbj45g== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:120:4::f00:13 (failed) Received-SPF: pass client-ip=2a02:1800:120:4::f00:13; envelope-from=maximedevos@telenet.be; helo=baptiste.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , 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=1647530960; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=aiDLYR4mrh5omadDohU8azZWZ200yIaodCxJMsSukp0=; b=Ada+7ZQiFzDmmpOLKLsp83227VeHgxJ6HwWIXCGsGk8SLpL42a6T7OhHL/NoixNeArgVW0 3eo+Vu4mwAHwlweFY2L7rFeetUu3RqrKoBpLXWFPRwKGxJUPHST7OMfTGwqJnXdMdYepiW Zkfh6ziQz2U6IW8xtffQyKYslPnQbA0yAS05pk18PCc6qutY1hgkay2Z/J6eCTy5C5CfJR HbMgKXUlfVcQMRqcdO2HiShd364ys9z3MYokyhS4mQEXOOZ1boOXLunhWtDAWmus0hB4bu U4z398mYiim0qqlN+sFNoyiG782rAIQL7t/aN3sYZAQU/DVEtX7ee8dGTeLh9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647530960; a=rsa-sha256; cv=none; b=XiYjVE1Vu6EVH3SMcdp7O6AKqR/8KQv0/U+qdrQxmmAyM1WMx9hF+KdEnS3XrY7K+wOTUM lt9YGPg0PlQsWz+oNBewpfu4B2g52zvIg0WWbi+xCzMmD3k4THUbPxkkIUWWjCKypxebBO HMmklj8Ux2O/Pz4rZJdMZP9fekdLMFDUR1alIofqBg6mbwUTU+8X/D/Lmbs6o0f0zbmTcp 5cOgrFOA2/XPyh/tDOEy7JL85b29aAno6fIUmGpN98hJBKRfIr0TCS7LEWTAXj5gSMBG26 4X72kebhBfLysUIL09l2+su8/JSX081iWiahfdzE7cjJokkNHOusFrBCiHJ1EQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=aOVlMpHL; dmarc=pass (policy=none) header.from=telenet.be; 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: -7.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=aOVlMpHL; dmarc=pass (policy=none) header.from=telenet.be; 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: 6B9643F4F1 X-Spam-Score: -7.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5ZJlV1JVqHK7 --=-jdpN1eyyJccB3sI+rVJv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 something like a '--count-dependents' option would be nice though. Greetings, Maxime. --=-jdpN1eyyJccB3sI+rVJv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjNTrRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7g43AQDEYB18AWEcEgo06fxAfyJbkUug +2B8XGQUfelCqwGLAwD9EMfdB+9BtMr7Bc6pHK8Q5dI93A2cXp7WqajGvLuCUgo= =ta7v -----END PGP SIGNATURE----- --=-jdpN1eyyJccB3sI+rVJv--