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 ms9.migadu.com with LMTPS
	id gGSUCaI592SNSAAAauVa8A:P1
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 05 Sep 2023 16:22:26 +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 gGSUCaI592SNSAAAauVa8A
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 05 Sep 2023 16:22:26 +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 EDF9B524E8
	for <larch@yhetil.org>; Tue,  5 Sep 2023 16:22:25 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YpIru6c1;
	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=pass (policy=none) header.from=gnu.org
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1693923746;
	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=Bt5Z+dmoKEFfEqZncGEW60V+4NqlHWt73Qz997Jox3U=;
	b=RLM/p7VE6pG1NogQfz9fUVHHajSFNgQLxZE3n5kZfglvkxyRJi3FUUD6mCsFvjrsDcVowK
	9fxA6aqTAo5puZbaTr7V/desEIvDypXhlOjiGYJJCM4f0Ck30MQQkEZja6xCY+GOaZ5tUj
	pIYIaGzsE01vU/yciAId75ovHctAdXgbpTxBpy9Qd7r5H7tRzCCfm1Ct7nAqzjWZrGxz0H
	syooBnlsPaSopEQ4mi0ltGfqa9dRzbIfOZJuPl/p07kC8ERsKcS9KRXGPvt7xHvDFJqSsm
	5oTL3Icuett/L5FeP4mqi9lfuh5idYengGMB7J8OhhHaL4J2AemxNhZJGkeVKw==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693923746; a=rsa-sha256; cv=none;
	b=p4MdfIYWrhYpEK/4XSkrAwOXRYNNxvzyKtwYEAPGMGxPfSql8264Aapoyi5ECjWHoqFLbH
	bp7Qb8E1k0rlDsjssX12PclPnUTwUmBcJvuPb9X61dB0bP2SlwQPPMCTnpi/KQtNpDdUXU
	EF82InL83JL1uOB1hAaOHXxc1Nul8MLqpW5Th9LjzZ3U+Rdvs/USOqqiut9/xgWMzRRg0/
	zakUCeqqWThegOygkCLUiqsn+G86xI3EOVZQTLZYiJRVYb9Y4jSQkwYO5v0EJ3y/hHcYKO
	opq+ytfCHqwWpyP8oC7j4SsW8c9LFtzNDRTATM6MoJnmlkH1reIGV7DPTOm7vA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YpIru6c1;
	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=pass (policy=none) header.from=gnu.org
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 1qdWwN-0002IY-L2; Tue, 05 Sep 2023 10:22:03 -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 1qdWwM-0002Hi-5Z
 for bug-guix@gnu.org; Tue, 05 Sep 2023 10:22:02 -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 1qdWwL-0007tw-Ty
 for bug-guix@gnu.org; Tue, 05 Sep 2023 10:22:01 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qdWwM-0002Am-CH
 for bug-guix@gnu.org; Tue, 05 Sep 2023 10:22:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#65720: Guile-Git-managed checkouts grow way too much
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Tue, 05 Sep 2023 14:22:02 +0000
Resent-Message-ID: <handler.65720.B65720.16939236888285@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: Jelle Licht <jlicht@posteo.net>
Cc: 65720@debbugs.gnu.org
Received: via spool by 65720-submit@debbugs.gnu.org id=B65720.16939236888285
 (code B ref 65720); Tue, 05 Sep 2023 14:22:02 +0000
Received: (at 65720) by debbugs.gnu.org; 5 Sep 2023 14:21:28 +0000
Received: from localhost ([127.0.0.1]:57493 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qdWvn-00029Y-Iz
 for submit@debbugs.gnu.org; Tue, 05 Sep 2023 10:21:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49908)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1qdWvk-00029K-5Q
 for 65720@debbugs.gnu.org; Tue, 05 Sep 2023 10:21:26 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1qdWvZ-0007oP-6U; Tue, 05 Sep 2023 10:21:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=Bt5Z+dmoKEFfEqZncGEW60V+4NqlHWt73Qz997Jox3U=; b=YpIru6c1+oKA4CaaAvWl
 sWF1RBZXf+anUYk/Dhb19VU/MDJwQix9LFo/RBJKwFloZzaoW8WY7CaPsa4cvdt2VDoS/RI+7ca1y
 jnK2l0EO67wrU8Zqc1AMdJTyOkjrKOTSxC0iEsvKgHDyXGJm8L7O1F58D3w8Oo6a5ZzVu792pUFgz
 yABKzFSmGn1xSrYfvXpLP8cN6unB4DOCq5Kpq+tLZe06dc5UEs2MGc9Hq5KFEjy51CdULuERBjS9h
 PwQH4x7eOhFYIhhyunZIPHY8eOU5qCMkutzz2FgVcoYiytXxHmB9CVqE14l4x4npzW+Aa9wimW8lN
 P1C6Yt02569ZKA==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
References: <87fs3tobju.fsf@gnu.org>
 <CE9E1465-187B-462B-B9E2-94E6A43B86EC@posteo.net>
Date: Tue, 05 Sep 2023 16:20:57 +0200
In-Reply-To: <CE9E1465-187B-462B-B9E2-94E6A43B86EC@posteo.net> (Jelle Licht's
 message of "Tue, 5 Sep 2023 08:22:48 +0000")
Message-ID: <87il8oln06.fsf@gnu.org>
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-Scanner: mx2.migadu.com
X-Spam-Score: -6.93
X-Migadu-Queue-Id: EDF9B524E8
X-Migadu-Spam-Score: -6.93
X-TUID: MJrmbBiRsBfL

Hello,

Jelle Licht <jlicht@posteo.net> skribis:

>> On 4 Sep 2023, at 23:49, Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
>>=20
>> Of course having to re-clone entire repositories every 9 months is
>> ridiculous, but storing gigabytes of packs is worse IMO (I=E2=80=99m
>> specifically thinking about the Guix repo, which every users copies via
>> =E2=80=98guix pull=E2=80=99).
>
> Please ignore if it doesn=E2=80=99t make sense, or would not make a pract=
ical difference for the current issue, but wouldn=E2=80=99t a local clone d=
o the trick here? As in, clone from the =E2=80=98clogged=E2=80=99 local rep=
o, move over fresh clone to old location.

Good question.

--8<---------------cut here---------------start------------->8---
scheme@(guix git)> ,use(git)
scheme@(guix git)> (clone "/home/ludo/.cache/guix/checkouts/pjmkglp4t7znuug=
eurpurzikxq3tnlaywmisyr27shj7apsnalwq/" "/tmp/fresh-clone")
$7 =3D #<git-repository ba4240>
scheme@(guix git)> (system* "du" "-hs" "/tmp/fresh-clone")
6.7G	/tmp/fresh-clone
$8 =3D 0
scheme@(guix git)> (system* "du" "-hs" "/tmp/fresh-clone/.git")
6.6G	/tmp/fresh-clone/.git
$9 =3D 0
scheme@(guix git)> (system* "du" "-hs" "/home/ludo/.cache/guix/checkouts/pj=
mkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/")
6.7G	/home/ludo/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisy=
r27shj7apsnalwq/
$10 =3D 0
--8<---------------cut here---------------end--------------->8---

Conclusion: it makes no difference.

Ludo=E2=80=99.