From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ILVcFHNXCWXXNwEAauVa8A:P1 (envelope-from ) for ; Tue, 19 Sep 2023 10:10:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ILVcFHNXCWXXNwEAauVa8A (envelope-from ) for ; Tue, 19 Sep 2023 10:10:27 +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 DA92A3CB0C for ; Tue, 19 Sep 2023 10:10:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mLxysicE; 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=1695111026; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=WHYfevDu/6ukObYLZtp3ZBrsavJCnLK/TRMgi/UuzXo=; b=A8ST4fBXz884YrZUrwzGRHXB81BJFGwEo62VbiOhh6CruvvNegUKhFBI1+dNAHUPYCsrhF R8MD8+XjIomu9kqbt0ReZKAcnTa11a7JbBwWGihRPrmIrFKjU60uv9GhtjE/RGDFegaIDq ebnueKQKVsHdIrly8T4lj/+KyPOREQ+RKH0WgIrv5czvOb6r1asM3JSOEEUkM/tILeqjGf gTZxQFpAKM4tFkfjuosIlUDLYatoJZNW9YgWF2Q1fmEnD979IOEGnPfeg2AY5AOR4/COoj syHxVxCd/DpXfE7AqRW73S65/ldtfj0OUmD3ECDmtpgZyIqfuvmOtUHD/9JFFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mLxysicE; 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=1695111026; a=rsa-sha256; cv=none; b=LokFuPMtA19bhKRRtCaG76rbpBid3z7BFVSkfhcyGa8RxkvLNf+mVID5b8aFzT2DCSH+8l 9hYQ5hk4ELN+5lcr8ARruX13yajj56e6HmOCgOdqVDpHvkBeD8mNV81cHE8pd6+LJGzT3b WcSkYIygNapzpJS13wkPogszYoqrpC5isexSiu7EbGpalgEly6bchjAwwBPPMTTx04689B WeY0uklK+jV7WojYozUPE6NLDRz5hkYKBT2WcSnEGY1jSnYcgetxkcV+8TTETbyRf2AxKf rV61yo8YZrHEBHUmpmcD6ffmqExLsBlwJ8FHe8jANcPPS7tmdxjxcRA84KBbkg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiVnv-00085O-2a; Tue, 19 Sep 2023 04:09:55 -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 ) id 1qiVnu-00084r-6b for bug-guix@gnu.org; Tue, 19 Sep 2023 04:09:54 -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 ) id 1qiVnt-0005lt-UL for bug-guix@gnu.org; Tue, 19 Sep 2023 04:09:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiVo2-0003NF-Gg for bug-guix@gnu.org; Tue, 19 Sep 2023 04:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65720: Guile-Git-managed checkouts grow way too much Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 19 Sep 2023 08:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65720 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 65720@debbugs.gnu.org Received: via spool by 65720-submit@debbugs.gnu.org id=B65720.169511097112898 (code B ref 65720); Tue, 19 Sep 2023 08:10:02 +0000 Received: (at 65720) by debbugs.gnu.org; 19 Sep 2023 08:09:31 +0000 Received: from localhost ([127.0.0.1]:55311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiVnW-0003Lx-Nk for submit@debbugs.gnu.org; Tue, 19 Sep 2023 04:09:31 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:37893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiVnT-0003Lb-R9 for 65720@debbugs.gnu.org; Tue, 19 Sep 2023 04:09:29 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40472fef044so10907625e9.0 for <65720@debbugs.gnu.org>; Tue, 19 Sep 2023 01:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695110953; x=1695715753; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=WHYfevDu/6ukObYLZtp3ZBrsavJCnLK/TRMgi/UuzXo=; b=mLxysicECnZwPFa1GRYgdglf3esMI1DI9XXu6Dq9T9X6UI1NEQ+mIGnKeCHBOZvjuk J/4hjso0/OgCnqYFL2+z6e9c9DkRDwPy6FTZ+qgj3goKVb0hNohiH5X6pcrU6cS5K9u+ gdDSUtaABf07uAxg1aawbIf+qfTdVZwbYz5YHHklhEJELSgWReYwusWql+gEMysTLtWd LG1Du0hKHAwPqmtsAs15wV+UpDHUMAsVuWBKLX/ghbxDjnfcROI7sfhTt/m7caBf6OB+ feqMttKWczN3OyCj3w8tnUi/OPzs0L/WRAc3F0NW9BaVGmiGAz25QRb+GcgwOQN0m1KR wDnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695110953; x=1695715753; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=WHYfevDu/6ukObYLZtp3ZBrsavJCnLK/TRMgi/UuzXo=; b=PSKedUlxufvFagZ/tJG7b2igEaIb5OcVU714WlIa446dCo2Lqy/H5/BMlekrSERYN7 Jc4nhW1R/zdKvgDPicJviwUAxkp2HuJglf1GA04NMzGpIGWqLHKZm96gfZ2b1Mf8R0sV 0O4DPSZ4v+PhHZIKxoDIGsAOG+8bc9Qcde/3h1KdplMlOixXsCH7+6PAX63WADTh6eWA 6K1nzqMZimY6Eil6OiM8/KyJe95M2k5FS8nS/Y8NAxoGLnd52niOBLsyD6h6cUTagcbS abh5iJyaIDuTiDnCmc3SNmrjbDEEZf/oJw/tC5wwWtwNm5VuMvvVq4UYfcOe84ogBEBg IxEA== X-Gm-Message-State: AOJu0YwdX6I3/Vyuef1mX9K4a2dfiFukzjI0irsxFUxmj2n+1bjyf1Gd NyU//xOc6L+9e+Wr1BOKrIpLC2sk+jE= X-Google-Smtp-Source: AGHT+IHZINXRqmB1dHsH7sixJCNHfhC70+ZTL7pErGaW43Ao7p1NSxFlmFWJ6z6XuUC2V45N38npcw== X-Received: by 2002:adf:ec4f:0:b0:31f:a717:f1cc with SMTP id w15-20020adfec4f000000b0031fa717f1ccmr8798964wrn.5.1695110953126; Tue, 19 Sep 2023 01:09:13 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c13-20020a5d4ccd000000b0030fd03e3d25sm14846313wrt.75.2023.09.19.01.09.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 01:09:12 -0700 (PDT) From: Simon Tournier In-Reply-To: <87jzsnf6tr.fsf@gnu.org> References: <87bkejc7go.fsf@inria.fr> <87jzsnf6tr.fsf@gnu.org> Date: Tue, 19 Sep 2023 09:19:44 +0200 Message-ID: <86wmwmlje7.fsf@gmail.com> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -0.31 X-Spam-Score: -0.31 X-Migadu-Queue-Id: DA92A3CB0C X-TUID: bGRrfyocg+5I Hi Ludo. On Tue, 19 Sep 2023 at 00:35, Ludovic Court=C3=A8s wrote: > --8<---------------cut here---------------start------------->8--- > scheme@(guile-user)> ,use(git) > scheme@(guile-user)> ,t (clone "https://git.savannah.gnu.org/git/guix.git= " "/tmp/guix") > $5 =3D # > ;; 600.534529s real time, 435.260926s run time. 0.000000s spent in GC. > scheme@(guile-user)> ,t (clone "https://git.savannah.gnu.org/git/guix.git= " "/tmp/guix-after-removing-nix-branch") > $6 =3D # > ;; 420.321511s real time, 398.772963s run time. 0.000000s spent in GC. > --8<---------------cut here---------------end--------------->8--- [...] > --8<---------------cut here---------------start------------->8--- > $ du -hs /tmp/guix/.git > 373M /tmp/guix/.git > $ du -hs /tmp/guix-after-removing-nix-branch/.git > 362M /tmp/guix-after-removing-nix-branch/.git > --8<---------------cut here---------------end--------------->8--- Just to also point [1] that using shallow clone and restrict to the oldest reachable commit by the time-machine, it saves 25% of bits to download, and similarly on disk. --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,t (clone "https://git.savannah.gnu.org/git/guix.git" "= /tmp/guix-guile") $1 =3D # ;; 383.186818s real time, 278.060733s run time. 0.000000s spent in GC. $ time git clone https://git.savannah.gnu.org/git/guix.git guix-full Receiving objects: 100% (693699/693699), 342.14 MiB | 2.87 MiB/s, done. real 2m40,830s user 3m4,683s sys 0m8,189s $ time git clone --shallow-since=3D2019-04-30 https://git.savannah.gnu.org/= git/guix.git guix-oldest Receiving objects: 100% (428646/428646), 259.41 MiB | 3.87 MiB/s, done. real 1m45,604s user 2m32,370s sys 0m5,916s $ du -sh guix-*/.git 362M guix-full/.git 362M guix-guile/.git 272M guix-oldest/.git --8<---------------cut here---------------end--------------->8--- Cheers, simon 1: Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in bui= lder for Git checkouts) Simon Tournier Mon, 11 Sep 2023 19:52:34 +0200 id:871qf4ha1p.fsf@gmail.com https://lists.gnu.org/archive/html/guix-devel/2023-09 https://yhetil.org/guix/871qf4ha1p.fsf@gmail.com