From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mEszOQEH1mH/pwAAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 22:00:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GJMFNgEH1mE7PwAAauVa8A (envelope-from ) for ; Wed, 05 Jan 2022 22:00:49 +0100 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 8BCE2310DB for ; Wed, 5 Jan 2022 22:00:49 +0100 (CET) Received: from localhost ([::1]:35104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5DOq-0006AS-QQ for larch@yhetil.org; Wed, 05 Jan 2022 16:00:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5DO6-00069z-U8 for guix-patches@gnu.org; Wed, 05 Jan 2022 16:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5DO6-0005cT-EU for guix-patches@gnu.org; Wed, 05 Jan 2022 16:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5DO6-000569-Bt for guix-patches@gnu.org; Wed, 05 Jan 2022 16:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52805] [PATCH] substitute: Add a =?UTF-8?Q?=E2=80=98--clear-cache=E2=80=99?= option. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jan 2022 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52805 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: Mathieu Othacehe , 52805@debbugs.gnu.org Received: via spool by 52805-submit@debbugs.gnu.org id=B52805.164141639419559 (code B ref 52805); Wed, 05 Jan 2022 21:00:02 +0000 Received: (at 52805) by debbugs.gnu.org; 5 Jan 2022 20:59:54 +0000 Received: from localhost ([127.0.0.1]:39002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5DNx-00055P-WF for submit@debbugs.gnu.org; Wed, 05 Jan 2022 15:59:54 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5DNw-000559-5b for 52805@debbugs.gnu.org; Wed, 05 Jan 2022 15:59:52 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 1188013C; Wed, 5 Jan 2022 21:59:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GXoJeGDv3dLT; Wed, 5 Jan 2022 21:59:45 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0CE36112; Wed, 5 Jan 2022 21:59:44 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211226162126.23749-1-me@tobias.gr> <87ee5x7nwj.fsf@gnu.org> <87pmphhg8q.fsf@nckx> Date: Wed, 05 Jan 2022 21:59:44 +0100 In-Reply-To: <87pmphhg8q.fsf@nckx> (Tobias Geerinckx-Rice's message of "Mon, 27 Dec 2021 22:20:16 +0100") Message-ID: <87czl5kif3.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 1188013C X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641416449; 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=l0yb4Mx+bvW4ifpoMVZRW9wItIfkMICTRF5kiSG344A=; b=Zn9AHsamNkPfdusWAK4lTGYxAITnRktZr8oRwyh8wMX9zIu8BAtQybPlSobfuB0pL5cR42 usMWUUxiwJASiDdEO6ZoRjS4hbUqxdlx8duIBmRhjbwDPV+tnkBSGzjZkUn047cug4Rp3h y+KLte466W4xnhPgVxbQ+7vWFtGw/tR71O1O6KoKB5of5HoGLRFDStI0rUZXASK/8zVyaq WpnsVfd+ernGIdui9W4H2OMKJmJS00Bg+yV5L/Bw9ockXrcRw3MZhsTMfNUEgXpLsQDyqc +NmvLlScQ4snIA2WLizc2m2j6vI4yXBlyl/QL/CzzHL/2bDC5NJBgxM7E0Q1Fw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641416449; a=rsa-sha256; cv=none; b=dCnwdNaI6hyQH2Ex/LOTNDqqTw/scNC4xMrMSXJWC2x7I1u7YA74cdJZAeqvTnfXm3HxHH 1GZgUwDN9jXs60cvgHVO9tW29gLM4rCsQYcTQkCce6cPTPEHl2uf0hRte/tzKbIbdiFe4+ +2cPPykM8+bcUsy3f6QajijmnqKzodfav+qJj0FMswcstKYnATck9RKVFUxZVXC26zGIb5 iUp860r8MHPJZ+aRnc/O4fuF37GKu0oQ8FAc+W8UHa+xRktu6fHSz4+g8ir+dw9r6T+Y1d BMz4ei6bYfZ4uBsDfVlpbZ7Y/vU+K5dejxZ0yND0cDqUIyxfgGUtrlPBXjwmsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.10 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8BCE2310DB X-Spam-Score: -2.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: nDsKEPWVHQCW Hello, Tobias Geerinckx-Rice skribis: > Mathieu Othacehe =E5=86=99=E9=81=93=EF=BC=9A [...] >> Moreover this script is an internal undocumented tool, >> so I'm not in favor of adding user commands to it. +1 > The point was to have a little command I could ask other users to run, > that's guaranteed to clear the correct directory, and doesn't involve > a spooky rm (which saves some back-and-forth :-). In which case do users have to =E2=80=98rm -rf ~/.cache/guix/substitute=E2= =80=99? That directory is only used by =E2=80=98guix weather=E2=80=99. In that cas= e, =E2=80=98--clear-cache=E2=80=99 could be added to =E2=80=98guix weather=E2= =80=99 maybe? Now, ideally there would not be any cache-related option because the cache would always be valid. If it=E2=80=99s not, it would be nice to see = how that can be improved or mitigated. Thoughts? Ludo=E2=80=99.