From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 16:38:31 2021 Received: (at 47163) by debbugs.gnu.org; 15 Mar 2021 20:38:31 +0000 Received: from localhost ([127.0.0.1]:37318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLtyx-0000Oy-DN for submit@debbugs.gnu.org; Mon, 15 Mar 2021 16:38:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLtyv-0000Oi-3i for 47163@debbugs.gnu.org; Mon, 15 Mar 2021 16:38:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51962) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLtyp-0001Ky-Dc; Mon, 15 Mar 2021 16:38:23 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46682 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLtyp-0007VU-1E; Mon, 15 Mar 2021 16:38:23 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Xinglu Chen Subject: Re: bug#47163: [PATCH] refresh: Add '--installed' option. References: Date: Mon, 15 Mar 2021 21:38:21 +0100 In-Reply-To: (Xinglu Chen's message of "Mon, 15 Mar 2021 16:45:54 +0100") Message-ID: <87v99sb1aa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Xinglu Chen skribis: > This lets the user to only check for updates for packages installed in the > current profile. > > If the user is using the imperative way to install packages, or uses > multiple manifests, this is a [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.92 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 47163 Cc: 47163@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Hi, Xinglu Chen skribis: > This lets the user to only check for updates for packages installed in the > current profile. > > If the user is using the imperative way to install packages, or uses > multiple manifests, this is a quick way to check for updates for the > installed packages. > > * guix/scripts/refresh.scm (%options): Add '--installed' option. > * guix.texi (Invoking guix refresh): Document it. I sometimes run: guix refresh $(guix package -I | cut -f1) I=E2=80=99m not sure an extra =E2=80=98guix refresh=E2=80=99 option is warr= anted. WDYT? Thanks, Ludo=E2=80=99.