From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uIhkGV7OT2CUTgAA0tVLHw (envelope-from ) for ; Mon, 15 Mar 2021 21:15:10 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oI89FV7OT2AzbwAAB5/wlQ (envelope-from ) for ; Mon, 15 Mar 2021 21:15:10 +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 E2A2E24272 for ; Mon, 15 Mar 2021 22:15:09 +0100 (CET) Received: from localhost ([::1]:58850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLuYO-0003l3-Hu for larch@yhetil.org; Mon, 15 Mar 2021 17:15:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLuYI-0003ks-4s for guix-patches@gnu.org; Mon, 15 Mar 2021 17:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLuYH-00009i-Sx for guix-patches@gnu.org; Mon, 15 Mar 2021 17:15:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLuYH-0001Kh-NI for guix-patches@gnu.org; Mon, 15 Mar 2021 17:15:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47163] [PATCH] refresh: Add '--installed' option. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Mar 2021 21:15: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 47163@debbugs.gnu.org Received: via spool by 47163-submit@debbugs.gnu.org id=B47163.16158428725075 (code B ref 47163); Mon, 15 Mar 2021 21:15:01 +0000 Received: (at 47163) by debbugs.gnu.org; 15 Mar 2021 21:14:32 +0000 Received: from localhost ([127.0.0.1]:37395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLuXn-0001Jn-PJ for submit@debbugs.gnu.org; Mon, 15 Mar 2021 17:14:31 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39754 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLuXk-0001JZ-Vl for 47163@debbugs.gnu.org; Mon, 15 Mar 2021 17:14:29 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1615842862; bh=4ahCvQwgIQJc/WvzxvCff3vUc9XUCg+DeKvStD44n24=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=hH9VH8UCbGzMAwS88mtGfd2EUIAuoTePjeSFCOFg+bxONNtJEnVTvOdd0ynhiQ6pW 3HNF5SrumZSbmlwZ9Iu7JC887spBKjl/ST1BfcKoRqM2x2nN4UIeVVbbrBHxvLHsAJ 5ZGzLzvKD4nVHFDN6ojyc6vz7PRggUIWXKpzMM6g= In-Reply-To: <87v99sb1aa.fsf@gnu.org> References: <87v99sb1aa.fsf@gnu.org> Date: Mon, 15 Mar 2021 22:14:13 +0100 Message-ID: <87mtv4azmi.fsf@yoctocell.xyz> 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=1615842910; 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:dkim-signature; bh=yDaf5aNxLlnxcShvG3MvGbKkmM/NfvFqvjKjhwVB/zM=; b=tqmtrvLmPC4f62uugB09x50RXxED+Zi5YM2WU08cWwwIYo4NrOPR+QL/zYp9FWgcLZvE7z GrZTEjZDHukFJuuRo0BG7d/obnMOx8PtuspAv0mQCHSoHI52zAjzsLnh2rx47pqc9qngMK hrt6Q9EV5Y8j8ZvWwWkDuOnMSJqvXBIkIQV6+vUloiZ9e8wYDGkRZcdf3iYWexcunyr0QQ vG/bOjcKy3W6DDxiq4h4StCgoe6RiZK4OKGL79Z2DQ0kY9Ok7MNnZD2EUD573kRJcQjrUY fiMFjX3//ZABWRNqVMy6HNALXf7fqTPBSAPVJwOqVrMQ716U5UGQeCHHgmx5+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615842910; a=rsa-sha256; cv=none; b=Cyhu2JQgkHLP9SE4XiV2QiZYrf2J6Dws68+HOZxc0Ac2HXxY3TT+LKihgfOEOvvFlxYjk3 sJS26sofrm9hBbMBsFGkfbqj13JJ1ukEcMxIpGqegt3VpiS9e+16GHo3N/rK/RCYc9sLVz bLmyJs6YzWzWPWJz2yECaL8uq/oHFtMRtx8CX2nXN86bAZE4BF2cyx5uxswMDW7krsstQb +nqLVtGaZvQbSkok8E7EMzBBWdTGp4nnZQ/EOBbjEeZ5VuKsef6/WRC78d7JpVNVWVru/w c2LYnsEaMl/1UlVJ6d/sc8thWbfZmx3l6LmhqKvhzmGipB4a68gqVScDsgXvQA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=hH9VH8UC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); 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: -1.30 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=hH9VH8UC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); 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: E2A2E24272 X-Spam-Score: -1.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0NQD6sNy7nhH 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 t= he >> 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 wa= rranted. WDYT? That's cool, I think your solution would suffice. Maybe we could add it to the manual or cookbok?