From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oETmL0sqAGU3RgEAG6o9tA:P1 (envelope-from ) for ; Tue, 12 Sep 2023 11:07:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oETmL0sqAGU3RgEAG6o9tA (envelope-from ) for ; Tue, 12 Sep 2023 11:07:23 +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 AACCB59229 for ; Tue, 12 Sep 2023 11:07:23 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=KtCdflDS; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694509643; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nIgvoxry9dWbH1UjUWnA4MtvrVR6GVCFruefAm2xJnE=; b=Oxr5zCUc6RtZ23xEbewLcDtWM3NyYrfO8pYsotslwMLtti85c2HLSeYaVO7I/szWmeqpvU zMV5UTpC0Q7erShkent1VOeITL9nIZttsyVaLYQvCa79Ur54pi7OF3W6BvCJVMMevVGetk jaNMB4Qz+Lc+cOOgY8Bc1ue5mTNlkM/4WjS0aw3/Cxx7+3/dBTqD0MGns9ecMAeKPGMh5Q CFs0EArfyz5xR39cyLbqVAKrpJzQ0PCXFSGXXWsfXdl6r/xSWZzALefQvmn7D+B9DgL1S6 diBHxboUOmYq5yxRO93pSpo3aAYqP0zsPU/1ljNmXIY3VZs0y4gvCl2ejwbZig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694509643; a=rsa-sha256; cv=none; b=tYDvZZ8/tRqo0bLJfU62h6EcwZeJTujA4FlbJ/eA9TcnnqGo7+RR1Ub5V7y6iF9LQLPAq+ 6LvCIV5g7hlz5uA+LpVj/gHnY/ldtYWjdMRcpmwAG9AilGu8+zBcCKTHkiAVFSl/GP3MrQ cSWazh2z8cKBLap17A43W0Mbqx0KDrRk3a3z2fIUAI5mYEhTYAO9R92uBZIeN+r17maS+S Alubob/Swg3QpNOz52G8avKHPse9oORxZxXI4WniNrnX9nG4cTj0ElKDDBFHc/1X7Z0as2 Bd6H/CFF4gmDIb9BFbapqSO7MgOBuUce2vyXGlvKVYuTZlX7EASkqXHpCGn5Nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=KtCdflDS; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfzMA-0007bI-NH; Tue, 12 Sep 2023 05:06:50 -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 1qfzM2-0007XM-EE for guix-devel@gnu.org; Tue, 12 Sep 2023 05:06:42 -0400 Received: from jpoiret.xyz ([206.189.101.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfzLz-00084k-ST; Tue, 12 Sep 2023 05:06:42 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 885EB184D43; Tue, 12 Sep 2023 09:06:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1694509594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=nIgvoxry9dWbH1UjUWnA4MtvrVR6GVCFruefAm2xJnE=; b=KtCdflDS7+rO7LYbqi1njMxZeqW3X708aLH1Xl1DmARycyxQsHgyxhoIkbStPssJcpIBFA xwMaCfjg3GXlJlkHjNquM5JZIGtegyYcu2zNf7ce0stiBv5Eo1i3De/9guN+BCuxQVYemg crVgcGnt6qVSkrgCUDM6NZnOhfnx3ugOyr6ckYkq+IVnLd2MSkqQOeXIrQc9X+2ArRUs5I JjEGpEVmfxJOJFfmnwmvVCBbLyxwn4IWMQqNlkHJfnNqyYaA4RjAg6Tfn7LxLMwpx6ZeXU AelgOc0izBXi3/8joKAwvphoxIKYlo2M9pppt2vfHHvax/2mGU/nDMpl/G69oA== From: Josselin Poiret To: Maxim Cournoyer , Simon Tournier Cc: guix-devel@gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts) In-Reply-To: <87r0n4wp0d.fsf@gmail.com> References: <871qf4ivsr.fsf@gmail.com> <87r0n4wp0d.fsf@gmail.com> Date: Tue, 12 Sep 2023 11:06:30 +0200 Message-ID: <87bke74v6x.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: / Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -11.38 X-Spam-Score: -11.38 X-Migadu-Queue-Id: AACCB59229 X-Migadu-Scanner: mx0.migadu.com X-TUID: SGRDZp0jmNYp --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Maxim Cournoyer writes: > That's no longer true, as of libgit2 v1.7.0 [0]. I already have it > packaged in a branch, but I need to iron out dependent breakages. > > [0] https://github.com/libgit2/libgit2/releases/tag/v1.7.0 > > So given there's no technical reasons not to use libgit2, I'd use that > and keep the closure size down. There's still the `git gc` problem though. My opinion is that the preferred API for Git is still the UNIX one via plumbing commands. Anything else is trying to catch up to it, and then we get into this conundrum that we want to do everything in Scheme, but we're unable to do it as well as Git itself. If I had to choose, a Guile library wrapping the Git commands would be the best, especially since we're managing long-living checkouts, something libgit2 doen't seem too interested in. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmUAKhYQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaivFbDACEgXWG1i+0n64JWHrMqCSDuwfSH/BWf0yz uMREHQRiAhPvk+QA9yDF3NKZF8jPLgclk1SpOkh3W2XKfYvwR7RD/SNanZ8E33ED HYGFPyiV65eHguJfwzY7IitKylSXe4L084hdBYgYJN/Wsx02+yafE3/c2E0zeSRe PdVBpT64WtD8pJzrBHbjON0ou/FyOm5SHQRHzskvJt/p2u1BlS5U/U4Jo81G6gqt rIJcfUYR8dr6MtDLhA50R2YI+Hgd2KVqXiOxmyZUyHvPrrRcTV4inYRtUUyzpGMg OE3cXJs6M0TWVNeJztsujnjX5vRdyzeZlPv5UTuxaGLt4cBYeqX6tTpKNLA92ZlL 58hlhrAi0LVV93K3+/TRFblcCtFCSGk33Tx8OSwmiamXFHvhjAswY8TAbWRObj00 Aeb5Rfp//AaJ8eritdueYzz2nfU/hNzqZ2Y8UvuZ+qHJv16CK1GHebi02i2tG5jB +UyajhS86qx8j+OukN6P7h5zP3Ml2OA= =czx/ -----END PGP SIGNATURE----- --=-=-=--