From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id uB9DF/iHN2XkiQAAauVa8A:P1
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 24 Oct 2023 11:01:44 +0200
Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id uB9DF/iHN2XkiQAAauVa8A
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 24 Oct 2023 11:01:44 +0200
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 EF0633100C
	for <larch@yhetil.org>; Tue, 24 Oct 2023 11:01:43 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kPF4GMIH;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1698138104;
	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=aw5Nh/VLUNvmWYXBFYb5tijmYPqxdfOEBWvJMDoke74=;
	b=QHH+RtKYdwSGVg9vNMpwLpXEHW5Yb+g4ADtF/oae8MvTXUGEPXPE7FQg7IUAJyrFh1ljnV
	YOgPWljr4B8urRTj/exy2zflBeoM5LE3FES3aJ4CgrWUiIG5CavWc1jbbsZhfoLhqAgqTw
	EuNh/tTF0txK/q9a5Q8bf5swZQscdaTpDFPcGZJUssX6ssGYmaS397sAAzw6kC3xBhPK3C
	o6wKqhC4sGIXZJRaoUsq+7JUKNznjDxYS0vfKERRQr3IVypldSv81+FfM2af35dDgAvaW8
	CmGT+SYByrEyVq0NOIiskIknlOMvPOxTjLk+vNLmF+uWCiY2VchtP53Zf1YO2A==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kPF4GMIH;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none)
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698138104; a=rsa-sha256; cv=none;
	b=obeLxFHzghBQDDsSInY/A8162O9FUEcjb2tgsBV1eyaycRrNvlo6FQ0D85exKP4J9VkGxg
	rVZ8wnOAQF5oA+Ap40i3ZqQSUOG+1A5T21XvrnIP1LoLL27+K/fWaMp6hAk0ecHY/f6+Wk
	TjRQy2uN+9E3I99hpPx+nZMxp5wqEyAJWJWyYrzKe9VVHb5xuDQm+icC0y85X+rj3cjG4s
	KwKSE0vjC5L3hieolW+jEddLEsM+6LvTP9+Dal1KqNDUdpNmIWoyxC3FIZxlyxHfCYnVvJ
	pAciA2BObI50LU4Sz8i1dke/AtfmJBk6xZBDkZy9nmfvuxt53loTYk+haxRgNg==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces@gnu.org>)
	id 1qvDI8-0007VU-7D; Tue, 24 Oct 2023 05:01:36 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qvDI6-0007Ua-54
 for bug-guix@gnu.org; Tue, 24 Oct 2023 05:01:34 -0400
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qvDI5-0008WV-QO
 for bug-guix@gnu.org; Tue, 24 Oct 2023 05:01:33 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qvDIZ-00073J-8T
 for bug-guix@gnu.org; Tue, 24 Oct 2023 05:02:03 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#65720: Guile-Git-managed checkouts grow way too much
Resent-From: Simon Tournier <zimon.toutoune@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Tue, 24 Oct 2023 09:02:03 +0000
Resent-Message-ID: <handler.65720.B65720.169813809927025@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 65720
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: Josselin Poiret <dev@jpoiret.xyz>, 65720@debbugs.gnu.org,
 Mathieu Othacehe <othacehe@gnu.org>,
 Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>,
 Ricardo Wurmus <rekado@elephly.net>, Christopher Baines <guix@cbaines.net>,
 guix-patches@gnu.org
Received: via spool by 65720-submit@debbugs.gnu.org id=B65720.169813809927025
 (code B ref 65720); Tue, 24 Oct 2023 09:02:03 +0000
Received: (at 65720) by debbugs.gnu.org; 24 Oct 2023 09:01:39 +0000
Received: from localhost ([127.0.0.1]:53082 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qvDIA-00071a-6j
 for submit@debbugs.gnu.org; Tue, 24 Oct 2023 05:01:38 -0400
Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:38331)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@gmail.com>) id 1qvDI6-00070w-OG
 for 65720@debbugs.gnu.org; Tue, 24 Oct 2023 05:01:35 -0400
Received: by mail-wr1-x42d.google.com with SMTP id
 ffacd0b85a97d-32da4180ca2so888357f8f.1
 for <65720@debbugs.gnu.org>; Tue, 24 Oct 2023 02:01:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698138059; x=1698742859; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=aw5Nh/VLUNvmWYXBFYb5tijmYPqxdfOEBWvJMDoke74=;
 b=kPF4GMIH2Gm+awamgruB3mSX7Ij6YAHyBOETp0pHQZ9++RLufBde4kpAbTEjcBfH0C
 PZBONgfzzVVi5+9LsT5K1MoIdvjFP0jt7rNOAiJhJjNY7iqIFEiNkimam+nPSsaUt/VP
 k6GuFcNJIM/M9eRiXzUstUmtmU1MIjxryWO5QDvj2VBAMoTFj438GqOkV8S6IMEVqWrw
 zzrsg8XOMSk/0dlCt2LVQ1P8d6cK/7a/pncegyxgvLQnwUd5uwZZunK84mPHz+eSH/Sm
 g8ISXZBnEwsubqwAH1fu/Jbi9uZvzEcQzgw69xzliMQbWwmT9/XOr0KWZ6KjgrBePi2U
 /T5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698138059; x=1698742859;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=aw5Nh/VLUNvmWYXBFYb5tijmYPqxdfOEBWvJMDoke74=;
 b=BB5TXnFoi7t0EHQ5R7UoBCL3zTqrmRV0nZLVR2o2hyEvHBqEt2nNqOflr7Po2gNNiC
 acnTGzLfX9bnsaaFNLzdiBVP8oKoLFuqpxsXZqQeqSVy/m+EPBodtrZRb4co+UG9QmTl
 wv59u17oXL+cL5MP9B2sf3+nvzOoFkbIzZ2DBq6PTpJfwtggIDRm0dPuEl9CUHHJJIBl
 l5n4dIKJ8z53CqB6p2bd7Y9c1SmD5eTT2GJg9U+l3uDbZ/zn8Rw7MCC53KD6wKSNz6T+
 Jlu/hTXHemmRj05xJjSmHsEVt2AfY00vUfV31LYxQmHNEuCxgUspdZZKM6ToUUmUvTrM
 1ngQ==
X-Gm-Message-State: AOJu0YxPYvIVuW41Pz0vZi0/bz3e0Wi/sHsKcQsukz6Hmp8PIYR/p9MT
 HS/SElGgeBS1Ubro1c8QX6M=
X-Google-Smtp-Source: AGHT+IF+Ahwo5V154BiQy09zZUiILlaC8eqH4OJq7FVNNv39G7L84Er++dEJK1WK83EyJlec8ijTxg==
X-Received: by 2002:adf:a455:0:b0:32d:d8ed:d6e0 with SMTP id
 e21-20020adfa455000000b0032dd8edd6e0mr7147722wra.0.1698138059506; 
 Tue, 24 Oct 2023 02:00:59 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id
 g17-20020a5d5551000000b0032cc35c2ef7sm9490207wrw.29.2023.10.24.02.00.58
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 24 Oct 2023 02:00:59 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@gmail.com>
References: <87jzswsrlt.fsf@gnu.org>
 <f588bb38b4b9fdaff29dd8af8c62aa3c55902f7c.1697818202.git.ludo@gnu.org>
 <87il6xlkhk.fsf@gmail.com>
 <8A262178-2BFF-41EE-BEF2-5DC3270EF9C5@tobias.gr>
Date: Tue, 24 Oct 2023 01:28:12 +0200
In-Reply-To: <8A262178-2BFF-41EE-BEF2-5DC3270EF9C5@tobias.gr> (Tobias
 Geerinckx-Rice's message of "Mon, 23 Oct 2023 22:27:39 +0000")
Message-ID: <86r0lkvrzn.fsf_-_@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: bug-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: 3.53
X-Spam-Score: 3.53
X-Migadu-Queue-Id: EF0633100C
X-Migadu-Scanner: mx2.migadu.com
X-TUID: dlvNt1mtBSxp

Hi,

On Mon, 23 Oct 2023 at 22:27, Tobias Geerinckx-Rice <me@tobias.gr> wrote:

>>Why not trigger it by =E2=80=9Cguix gc=E2=80=9D?
>
> Unless there's a new option I missed, guix gc doesn't handle this.

Maybe I missed something but =E2=80=9Cguix gc=E2=80=9D handles what we impl=
ement, no? :-)

Well, I run =E2=80=9Cguix gc=E2=80=9D when I need some space.  And this
=E2=80=9Cmaybe-run-git-gc=E2=80=9D does exactly that: collect some spaces w=
hen I need
them.

For me, they are part of =E2=80=9Cguix gc=E2=80=9D and not part of some upd=
ate.


Aside, re-thinking about other features, I am consistent with other
comments I made when introducing =E2=80=99maybe-remove-expired-cache-entrie=
s=E2=80=99;
see <https://issues.guix.gnu.org/45327#4>.  And consistent because most
probably I still think the same: cache cleanup should be handled by
=E2=80=9Cguix gc=E2=80=9D and not by the commands themselves.  And maybe we=
 are having
the same discussion. ;-)


>>Well, I expect =E2=80=9Cguix gc=E2=80=9D to take some time and I choose w=
hen.  However,
>>I want =E2=80=9Cguix pull=E2=80=9D or =E2=80=9Cguix time-machine=E2=80=9D=
 to be as fast as possible
>
> I don't think that things should be pushed into guix gc merely because
> they are slow.

Maybe I misread, somehow it appears to me that you miss the key part: I
choose when some extra work is done and I keep =E2=80=9Cguix pull=E2=80=9D =
and =E2=80=9Cguix
time-machine=E2=80=9D as fast as possible.


Cheers,
simon