From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UED0Frd1UGB8TAAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 09:09:11 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wMvPErd1UGDGOAAAbx9fmQ (envelope-from ) for ; Tue, 16 Mar 2021 09:09:11 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id 111D4965C for ; Tue, 16 Mar 2021 10:09:11 +0100 (CET) Received: from localhost ([::1]:33732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM5hO-0005Fn-3H for larch@yhetil.org; Tue, 16 Mar 2021 05:09:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM5hG-0005Dq-CP for guix-patches@gnu.org; Tue, 16 Mar 2021 05:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM5hG-0007Uo-4J for guix-patches@gnu.org; Tue, 16 Mar 2021 05:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM5hF-0005Rn-Ud for guix-patches@gnu.org; Tue, 16 Mar 2021 05:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47163] [PATCH] refresh: Add '--installed' option. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 09:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47163 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: 47163@debbugs.gnu.org Received: via spool by 47163-submit@debbugs.gnu.org id=B47163.161588571220899 (code B ref 47163); Tue, 16 Mar 2021 09:09:01 +0000 Received: (at 47163) by debbugs.gnu.org; 16 Mar 2021 09:08:32 +0000 Received: from localhost ([127.0.0.1]:38174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM5gm-0005R1-6N for submit@debbugs.gnu.org; Tue, 16 Mar 2021 05:08:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM5gk-0005Qp-W7 for 47163@debbugs.gnu.org; Tue, 16 Mar 2021 05:08:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35252) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM5ge-00077h-UM; Tue, 16 Mar 2021 05:08:25 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48698 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lM5ge-0000Cx-9Y; Tue, 16 Mar 2021 05:08:24 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87v99sb1aa.fsf@gnu.org> <87mtv4azmi.fsf@yoctocell.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?UTF-8?Q?Vent=C3=B4se?= an 229 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: Tue, 16 Mar 2021 10:08:23 +0100 In-Reply-To: <87mtv4azmi.fsf@yoctocell.xyz> (Xinglu Chen's message of "Mon, 15 Mar 2021 22:14:13 +0100") Message-ID: <87tupb8nzs.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-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615885751; 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-cc: 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=euma2Qdmhy1J356kBcZSmjyTzMk5ye1iVvE/U6z3vIA=; b=Buyq00SRnUuwdfZ8UZepd/FldAbhcrLYIrZTEo7r/nJebk1OSplCGdzbqNKDvr24XSoO48 M3zT3BK2nUxFM2sY5KbgilMewdFa0d5SCdP4s+VUI/R1Y+4hOS0AyRSHehGUUYPyUZFiBE lJ3k9C3eUxkwge1PK09GCHW7giJFcF4lGxmni+vnAB++W2ZLxvICJAz5fRbVcl4+qaxeYc HzWwIpBsVrw3WYosfMa7BSBR0G2e7FFfinu3yBDP5dGAGJIQ7jMNKXbnvPIYrhUXoymMHK cv7/ZOg0wAfdZhoQdgpf7OqJmplr0IrFXqf6iFcPEx7Isd/XlZNRRsqcC6IUhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615885751; a=rsa-sha256; cv=none; b=UJryH4iLjoD2u5Jxn6BsViAiIg5JD4WYw9lgI3EpjQkKXNdha4sKUuZ5iQNu8m1VT0/SMf eHtv2DGHl0DwMgrM8Eqq2uDC7xF9MXmc3+NYEm+wUs1O2JOEJNplTc6y6hCb6KocUpgORI 4t4qjO/bpI9epHYY3ZW5fBKjvt38G0TIEd5YGqOYA/BVC8h+HUdVVFV5mLjAVQVGoCeObO BdXKlVgG6kug8FWiMmUdbzAgRoO6mO70/wEEwKTYpiW1sVsYemqFwhrJH6QTvugLIXjbkU qJKa3MnuW0pYIaZcBnjS9XNfogSgOwYl0gxKiMwFrTfi0hGIk/Ovf9VHchaS6g== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 111D4965C X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: sJLwTAVodeSU Hi, Xinglu Chen skribis: > On Mon, Mar 15 2021, Ludovic Court=C3=A8s wrote: > >> 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 w= arranted. WDYT? > > That's cool, I think your solution would suffice. Maybe we could add it > to the manual or cookbok? That=E2=80=99s a good idea. Do you want to propose a short section on this? You may also like the new =E2=80=98--with-latest=E2=80=99 package transform= ation option. :-) Thanks, Ludo=E2=80=99.