From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EKAqB/PFT2DWeQAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 20:39:15 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cKQVA/PFT2C/LgAA1q6Kng (envelope-from ) for ; Mon, 15 Mar 2021 20:39:15 +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 5454823D48 for ; Mon, 15 Mar 2021 21:39:14 +0100 (CET) Received: from localhost ([::1]:50188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLtzd-0002MX-I0 for larch@yhetil.org; Mon, 15 Mar 2021 16:39:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLtzT-0002MI-Fh for guix-patches@gnu.org; Mon, 15 Mar 2021 16:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLtzS-0001aI-Mn for guix-patches@gnu.org; Mon, 15 Mar 2021 16:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLtzS-0000Ph-Km for guix-patches@gnu.org; Mon, 15 Mar 2021 16:39:02 -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: Mon, 15 Mar 2021 20:39:02 +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.16158407111552 (code B ref 47163); Mon, 15 Mar 2021 20:39:02 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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-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=1615840754; 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=EmtH3jDO++mLani9lDEFpwwnDCuYo0tbRt8IS09XJ10=; b=fStpa00PCkosok6kgFyycOWKAlc5B6POgTCnzr+a73A97TTHA/QSrIYJg4AYL9A0GBSkF/ FL1tF4RxW7GUgA43YvTP7gnIOclJ0ubPM1PiquQoEnx9rwIvDbYXmgzDjD1zHHuj0sb7E6 i8NS1mXAmfg/FoC8jITYgF/7U8tOyJFVjnMjN67mgrV+9C/KxI0U3EnJXSLX198wVEgMaI hK68NzCEWdaA85sMSIB+yrUimVfR44wYaLfjzVwbioYL7z06qS+EVVuFrZZfOBd0oUSn+p EC5EPfqw6EfMvlzAuDo2qxdUAfS6cK0kx9j/0YakI7NqLsqcO7+xIXrvN/TFCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615840754; a=rsa-sha256; cv=none; b=FAVCnhW+hkbeW7F4RMkhvy7D/XfZaII+AORIuJ580ZcbT1hhPxYO/oh6Hf3brN4pTqNIFO BjUAmaGei8r8phrdDeo5RexPQjlqiUgnOkZMuRQ3Lp5r+7H8ZXAXbwq+uShOz32eP91Yfg Ea/hwRpIDdOb7xdx16vD/4aQxVny0KO0TAfQpiFJy4rtkUrliSTNy3T1At5TYMID8Q6SHj s7j9Z8LllxrfFr8D9BZYo2XxnLLewqQv5BqmYZAHMw+e7mnncX2rLo+t4arVNyu1+iyyxQ 22Qo9/Q1KUoFHBtOuGTCoK9CYMdATi4DODl8/uJEcybk1yWP99/ZqwnZfsMDLA== 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: 5454823D48 X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0hf+zehcwrpc 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.