From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.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 4Dd2NXBV+2TMnQAAG6o9tA:P1
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Fri, 08 Sep 2023 19:10:09 +0200
Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id 4Dd2NXBV+2TMnQAAG6o9tA
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Fri, 08 Sep 2023 19:10:08 +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 BF7D63B19E
	for <larch@yhetil.org>; Fri,  8 Sep 2023 19:10:03 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BU2IfNbi;
	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=1694193004;
	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=Lhl/xDj71JknxWuiD+ZkuXeTLLdfQqIwQpKUD7oloTI=;
	b=lyj7EFFgHBuW9Va5go+NisiPT4cB5Xb8EZNKhvSwZeakrclnB0FfSfb3nWW6ejtDGKEuyY
	iVNR/Bp2RSVTvKpEtUXCn8qnPFnXli0c9IQVVJ0N8MidIMzBvL/Tg8/j2SfLJuVypvvh0q
	tvxjO8vkHAuEvzm7uN6lNihWG5qD1gdqwS0dVnwAmpCf5R/nXIIFHU8hnlMvlmELFf3TXH
	MppZgl+UAROCYquZQFABd3xD44BqhiwsJ3AbOj1ZICcM5nNznuTGqK4iEsBeubo7OWj8me
	j5IS+YhjltUSrPQWOy+wQKEITWnHKJ/YgBYH+fenXhPT/Cgdbp3du/n6bcwFnQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694193004; a=rsa-sha256; cv=none;
	b=VIuk6wbBKFHDVljAvBvE2x9aI2Tu+hw3zGlwv7sJEBruXlyhYeYozbzOq3/IghaXuLzBWq
	5kbeivSZ1cY1C+Y4tJanjfymwliHKXlp8Zkvg9N3jhrONdsXQDPuzb+K6kEheidoIICHC1
	HXGj5uALDCaf6djFBXBqVQ4GYPapV+R+j2mmmTAhkndacOPStC+FqSeYfDZTtiFrjY6sDB
	n7uvcDzIjWg9rWrwOj/aY0QVrXDltZ5Js25gCswq1ASX74WqQh/vxNEV5HMSQ3IECnRih0
	cGTxvzs+mGsMyO/4yVAPZMhdQtykuGCjwaE5dOKTM6Z5azWfiCZ9gNZpVNJnWw==
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=BU2IfNbi;
	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 1qeeyc-0007s0-PN; Fri, 08 Sep 2023 13:09:02 -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 1qeeyb-0007gg-1n
 for bug-guix@gnu.org; Fri, 08 Sep 2023 13:09:01 -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 1qeeya-0001wn-ND
 for bug-guix@gnu.org; Fri, 08 Sep 2023 13:09:00 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qeeyc-0005G5-DK
 for bug-guix@gnu.org; Fri, 08 Sep 2023 13:09: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: Fri, 08 Sep 2023 17:09:02 +0000
Resent-Message-ID: <handler.65720.B65720.169419289920162@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: Josselin Poiret <dev@jpoiret.xyz>
Cc: 65720@debbugs.gnu.org
Received: via spool by 65720-submit@debbugs.gnu.org id=B65720.169419289920162
 (code B ref 65720); Fri, 08 Sep 2023 17:09:02 +0000
Received: (at 65720) by debbugs.gnu.org; 8 Sep 2023 17:08:19 +0000
Received: from localhost ([127.0.0.1]:45452 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qeexu-0005F7-Jp
 for submit@debbugs.gnu.org; Fri, 08 Sep 2023 13:08:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33820)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1qeexs-0005Es-6M
 for 65720@debbugs.gnu.org; Fri, 08 Sep 2023 13:08:17 -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 1qeexk-0001Zu-7i; Fri, 08 Sep 2023 13:08:08 -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=Lhl/xDj71JknxWuiD+ZkuXeTLLdfQqIwQpKUD7oloTI=; b=BU2IfNbirdykSUNnWi08
 6jnLCqvdp7Ds6yb0zLjunNjuqe42RJ3gPulzG3WEEpWLdIzmgkiSo9PWAo2lJs1rcuF17Z/Q3DUWK
 Wo0nUWUGaUCRXUV8kjYkOtCjRKaHVRzbnE48QlA7TcO2oYMGeCz9mNKMLqDOUfEhlCLRRas0Q8ScT
 vxCxPp7uO9oSRFM5ZuTACDAx3CGgjJElVyk6RFMPY83x9y8ZCqFe3NgMtBK3wlLfq8HFdTTc035SA
 ifiQxoXFzkOMHH2s5XAOzvo7wrnihk+BFeIrZ62yfKOFYRAXkP6UFXneLYDPdmutAaFLXdc+o7e8T
 D8DYM6qXN3ywvQ==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
References: <87bkejc7go.fsf@inria.fr> <87fs3tobju.fsf@gnu.org>
 <87tts9uj6x.fsf@jpoiret.xyz> <87msy0ln4m.fsf@gnu.org>
 <87pm2vvibo.fsf@jpoiret.xyz>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Duodi 22 Fructidor an 231 de la
 =?UTF-8?Q?R=C3=A9volution, ?= jour de la Noisette
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 08 Sep 2023 19:08:05 +0200
In-Reply-To: <87pm2vvibo.fsf@jpoiret.xyz> (Josselin Poiret's message of "Wed, 
 06 Sep 2023 10:04:11 +0200")
Message-ID: <87pm2s385m.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: -4.70
X-Migadu-Queue-Id: BF7D63B19E
X-Migadu-Spam-Score: -4.70
X-TUID: 6GKOEetwIRVp

Hello!

Josselin Poiret <dev@jpoiret.xyz> skribis:

> Right, although I wouldn't necessarily say that the former doesn't have
> a proper API, but rather that it has a Unix-oriented API.  That leads to
> performance issues on e.g. Windows but on Linux I'm not sure there's
> much of a difference.

[...]

> We could consider replacing the guile-git dependency with another
> library built directly on top of git-minimal, and have this be a
> dependency of Guix.  Not ideal though, and not really scalable either:
> we can't just add every VCS as direct dependencies.

I cannot imagine a viable implementation of things like =E2=80=98commit-clo=
sure=E2=80=99
and =E2=80=98commit-relation=E2=80=99 from (guix git) done by shelling out =
to =E2=80=98git=E2=80=99.
I=E2=80=99m quite confident this would be slow and brittle.

It looks like there=E2=80=99s no option other than carrying the two
implementations.

~~~

Years ago, Andy Wingo sketched a plan for GNU hackers to implement Git
in pure Scheme.  That was on April 1st though, so people mistakenly
assumed it was a joke and the project was never carried out.

I digress, but I wonder: is there not even a viable Haskell or OCaml
implementation of Git?

Thanks,
Ludo=E2=80=99.