From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +FKUAmsB9193MgAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 12:41:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cKEEOmoB91+KOQAA1q6Kng (envelope-from ) for ; Thu, 07 Jan 2021 12:41:14 +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 83FA99405D4 for ; Thu, 7 Jan 2021 12:41:14 +0000 (UTC) Received: from localhost ([::1]:60470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxUbJ-0001Gj-7B for larch@yhetil.org; Thu, 07 Jan 2021 07:41:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxUbC-0001GY-C2 for guix-patches@gnu.org; Thu, 07 Jan 2021 07:41:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxUb7-0004Yj-WF for guix-patches@gnu.org; Thu, 07 Jan 2021 07:41:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxUb7-0003Qg-TU for guix-patches@gnu.org; Thu, 07 Jan 2021 07:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45327] [PATCH v2] git: Periodically delete least-recently-used cached checkouts. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Jan 2021 12:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45327 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 45327-submit@debbugs.gnu.org id=B45327.161002324513152 (code B ref 45327); Thu, 07 Jan 2021 12:41:01 +0000 Received: (at 45327) by debbugs.gnu.org; 7 Jan 2021 12:40:45 +0000 Received: from localhost ([127.0.0.1]:46753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxUar-0003Q4-6k for submit@debbugs.gnu.org; Thu, 07 Jan 2021 07:40:45 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:42171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxUap-0003Pp-AA for 45327@debbugs.gnu.org; Thu, 07 Jan 2021 07:40:43 -0500 Received: by mail-qt1-f182.google.com with SMTP id z3so4091453qtw.9 for <45327@debbugs.gnu.org>; Thu, 07 Jan 2021 04:40:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=p6pFltI/BJOOZE5pmZQ0foJVlpKpcB46XXVyJk+zCzk=; b=LKuD2O1N/hh54qpGttoy/3Mt3QLlzow3F5ugcPgXXGLcqn/spFyQ+RSDgy7hfdwgii 5MVu9nGjUPlT2o6w6r8SlW9pxbydtWDLYC2Ee/JSyUL9ZldpGfOeMWu83xdzjrl8bCzH pAf2URW0qwre51SoSewLn6Lps32qVrWnjHaQFX2ccaBYMqCP1AB1Hh+EFKImO1czgQjD CLKrMpjSbrZpfY0cBAXbCsN6Hhx0hwvsdDtC4vb3tjtz4BJwz/17RrIF26Fjh/lyNg+T V3N+IWPeZ1Vm61p1SG/RTg71oLSz4LiFWWQ/wuAkF/J6RBtUlzf2fntix5b3vKMkfhxq gUNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=p6pFltI/BJOOZE5pmZQ0foJVlpKpcB46XXVyJk+zCzk=; b=lhAor4ykdzL86i1tJ3VUaAgryuFt/pPo3SoG4MrBV4Q42NB/cg731fepxPiiKeeVjD Cmsgqg3pb0JEjA1f5bVHns9YQ6WqClbn4watHL7Ne4Qxe32tyrqnaL6hk7NSvkvlQe+m wAAG965fdgW/0c/PkXV9Y1wIkLa0vJLbkEew08X9A9kL3eHhpjkLMnQP2ipoKuHgm7Qi iLGvHMXAFUBPiFbVpGspEWZg/tuBd6oH1OBjKBtfQ7sE4R0jdtmgbu8FwNvG3cGHjFsk SPvGpujXPUqAkfSbhqgMKHzI4TcqWVJO7V7e4LoxCgdNH8BjzwF8MI0tewjSydGlA1Ta AfEA== X-Gm-Message-State: AOAM533IuN33GKM2GjK1T5fG5KiVpWSOKRiWF3pF6+fQQdmh5V2B6akt 4+ZC0FDm1pru88/KzkyWNpm6bLQxHyVElUqsrNw= X-Google-Smtp-Source: ABdhPJxISR/MY4H9Ol/3YMeYUtWOQFjr5fwx79Of1THVmgoTpPjJhAVkoESo4JQt/sgX9Xi27EzjB3rUx3365hfW7qs= X-Received: by 2002:ac8:7141:: with SMTP id h1mr8191082qtp.211.1610023237769; Thu, 07 Jan 2021 04:40:37 -0800 (PST) MIME-Version: 1.0 References: <86wnx97try.fsf@gmail.com> <20210107100947.31189-1-ludo@gnu.org> In-Reply-To: <20210107100947.31189-1-ludo@gnu.org> From: zimoun Date: Thu, 7 Jan 2021 13:40:26 +0100 Message-ID: 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: , Cc: 45327@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=LKuD2O1N; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 83FA99405D4 X-Spam-Score: -1.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: dtoyJol/4UEL Hi Ludo, On Thu, 7 Jan 2021 at 11:10, Ludovic Court=C3=A8s wrote: > =E2=80=A2 Increase the default expiration time to three months; That's long enough for my vacations. ;-) > As zimoun proposed, I agree that we should make the expiration time > configurable. I started doing that but that requires =E2=80=98string->du= ration=E2=80=99, > which is currently in (guix ui), and this code is supposed to be > =E2=80=9CUI-free=E2=80=9D. So I=E2=80=99d first like to move this and si= milar tools to a new > (guix units) module=E2=80=A6 You mean 2 another patches are coming: one moving to the new (guix units) and then another one honoring GUIX_GIT_CACHE_EXPIRATION, right? Otherwise LGTM. :-) Cheers, simon