From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2BUzKgN4UGBHXgAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 09:18:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uFvfJQN4UGCJPwAAbx9fmQ (envelope-from ) for ; Tue, 16 Mar 2021 09:18:59 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 3185724DF4 for ; Tue, 16 Mar 2021 10:18:59 +0100 (CET) Received: from localhost ([::1]:42144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM5qr-0000y1-NK for larch@yhetil.org; Tue, 16 Mar 2021 05:18:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM5p0-0008Ro-Eg for guix-patches@gnu.org; Tue, 16 Mar 2021 05:17:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM5oz-000460-Rb for guix-patches@gnu.org; Tue, 16 Mar 2021 05:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM5oz-0005eY-OE for guix-patches@gnu.org; Tue, 16 Mar 2021 05:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47163] [PATCH] refresh: Add '--installed' option. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 09:17: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?= , Xinglu Chen Cc: 47163@debbugs.gnu.org Received: via spool by 47163-submit@debbugs.gnu.org id=B47163.161588619021688 (code B ref 47163); Tue, 16 Mar 2021 09:17:01 +0000 Received: (at 47163) by debbugs.gnu.org; 16 Mar 2021 09:16:30 +0000 Received: from localhost ([127.0.0.1]:38195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM5oT-0005dk-PK for submit@debbugs.gnu.org; Tue, 16 Mar 2021 05:16:30 -0400 Received: from mail.zaclys.net ([178.33.93.72]:41471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM5oS-0005dV-18 for 47163@debbugs.gnu.org; Tue, 16 Mar 2021 05:16:28 -0400 Received: from guix-xps.local (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12G9GMj3027473 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 16 Mar 2021 10:16:22 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12G9GMj3027473 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1615886182; bh=ckIiWRmRA9t2EwzdlKZHGgRCv09Z+Aw5+0kMkYvG4Dk=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=CRp4dBfJ5YrcdejYic3VXPAws126hOq2RCyW3Okc7hEp4590MUrEGKMz8fjYhpdwN 8wGHDO1HC7Am+c0IItWjuJqfzEbA7BafLBJbj+257PEHq5T9wavIhbgXXUitIoF/sa j1tz6vQyB2ve9oH7l4KS7dOOZNaruWHMj7hSOdKY= Message-ID: Date: Tue, 16 Mar 2021 10:16:21 +0100 In-Reply-To: <87tupb8nzs.fsf@gnu.org> References: <87v99sb1aa.fsf@gnu.org> <87mtv4azmi.fsf@yoctocell.xyz> <87tupb8nzs.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-2rgxc0jlJNQx3JEd0cjG" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 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" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches From: =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615886339; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=ckIiWRmRA9t2EwzdlKZHGgRCv09Z+Aw5+0kMkYvG4Dk=; b=r6MEiO0juPq7dWByUfw5T7LtjQsInuKB7fHYM99sCNwM4ET0cQSxlmA3R7S6uKeJGcfFQS TU+ZmcmbpMpgf3NVJR5gXVpyaOamEWqjI+tXCZkDPdMHZRCYFiM7folsqyn3r5J+Y3Mh4f 9OuxgnqoKPwWZHLRI7nB1m5WJHso4bIvaKOrNN91qrn+EoqPf+tboC6rrctGD0/mBKaXQJ Dw9EoznJC7e0juEP3oqpha6Dpqw3jZzzSOUFJT18rcYcAj+N8RujjmBUx1PsrptgWceLyV j9GI0pqydT6pp/r2hbY+UPP9CrKC/h1zKPKXRftzVIPI/vQlQ10uR4J7+GIGtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615886339; a=rsa-sha256; cv=none; b=m5dE9n577/nOokMjzZ0k6ebCoDKvgsUm4NCgVdXd37I3FIg36so7mUlbaNDhHtEknggezC JFgojIbwtIS573g8zRfl8736tO/01P6/pIyhnL9Lw0ZjJsLSrRUZaLNgebRw/gZ6C5AaFR SQvME2bQiEPXzXqXDRpgn0cfmz2hW5ph4GuZBF2y7uE2SVs+6XHxQT1ecRrV9FBLvJmHlk eU/OosTthCg9ji6FCK/a3qeCO4ehmNoMB7qrIumgeVwQxhxXzPeowFpYlssRnGmpySb3LF o4vMJiZ5QyxCDY/cEtaE3L5LBnZjt3A/MyC/lWnoOFWHxZb8Frdpei//qdzA7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=CRp4dBfJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.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: -5.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=CRp4dBfJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.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: 3185724DF4 X-Spam-Score: -5.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: w16HeHNxlAQu --=-2rgxc0jlJNQx3JEd0cjG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2021-03-16 at 10:08 +0100, Ludovic Court=C3=A8s wrote: > Hi, >=20 > Xinglu Chen skribis: >=20 > > On Mon, Mar 15 2021, Ludovic Court=C3=A8s wrote: > >=20 > > > Hi, > > >=20 > > > Xinglu Chen skribis: > > >=20 > > > > This lets the user to only check for updates for packages > > > > installed in the > > > > current profile. > > > >=20 > > > > 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. > > > >=20 > > > > * guix/scripts/refresh.scm (%options): Add '--installed' > > > > option. > > > > * guix.texi (Invoking guix refresh): Document it. > > >=20 > > > I sometimes run: > > >=20 > > > guix refresh $(guix package -I | cut -f1) > > >=20 > > > I=E2=80=99m not sure an extra =E2=80=98guix refresh=E2=80=99 option i= s warranted. WDYT? > >=20 > > That's cool, I think your solution would suffice. Maybe we could > > add it > > to the manual or cookbok? >=20 > That=E2=80=99s a good idea. Do you want to propose a short section on th= is? >=20 > You may also like the new =E2=80=98--with-latest=E2=80=99 package transfo= rmation > option. :-) >=20 > Thanks, > Ludo=E2=80=99. I would also really like such option for 'lint' and 'refresh' that can take an operating-system definition so I can ensure a certain set of packages are up to some standards and help me focus my efforts on my or some fellow's configuration (especially w.r.t. security), rather than randomly trying to maintain *everything* in the GNU Guix repo which is quite exhausting and large work to take on. Starting from a place of actual need for myself and some fellow's configurations looks like a more achieveable goal mid-term. --=-2rgxc0jlJNQx3JEd0cjG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBQd2UACgkQRaix6GvN EKYsgQ//UBH4UYAcPRHBg6e+S0gmeRn4CJPciigqaON2sb0BQg7+sk2WmOSmFrVo Ojzu0/4GLlp1v7K6+bpmBtlLNbwdEYPP8rVCUKs5dPiQJZ+zja4qc7LOTm8y9rfq JJtSk4m7uFhyIW9jSnZ+mNv0oJgnCG6guC+9yKTenYFMuU/AKu9bYB61pmRHvNxn CPzpSwszGhDhyAoCNGQgB0TJ4nRZfA6eB5w2UNHSCt9KAClYAhOkEYq43+aHayDG ii16gbMc+/rB1SuvwrHIOcCmNK6QSiQVL5Kflyixcw+qfPzw+kpftmatfzD5w8N2 ttxRWfLQ8rGSzYusggrhaZhge3GmgQdPLbWhyV1BwFAvd8unW+8rrVnhMsmaAzri cfkJRD6wdjDpCgD9jpxF2E7w8mv3Dat8xJ/+UxKLwFfsPRX1fYEu7FrTs+cvZZuY lrAtBeJwhcM/5U3H97ku9pjZU3Yrp+ZwijLUnV7PeUdbhHrGU5+vbG3noJ9dhwiZ EoaLlgLK0zBg+8QHv0xNn85FMyDFzuRCAbg571qSa95Hgx7faGsu2+OF3DS0K13L qXEOGXP9/iqolMSNyjtpR/6gMznEP2zfMFcoBkLxv/wXIqD6Kurpd2A3wHVzBybE 60a5oMgH4JOx9N0gDkLDo4YXkPzDLw/tzMA6rVl0sKN2vaR2n1o= =6UZa -----END PGP SIGNATURE----- --=-2rgxc0jlJNQx3JEd0cjG--