From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 OAzOEH9XCGWQVQEA9RJhRA:P1 (envelope-from ) for ; Mon, 18 Sep 2023 15:58:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OAzOEH9XCGWQVQEA9RJhRA (envelope-from ) for ; Mon, 18 Sep 2023 15:58: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 D472F3A762 for ; Mon, 18 Sep 2023 15:58:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GyBu67oS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-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=1695045503; 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=FxtiTTB1022HVZqFFCZzqHD77WnUrInwpWkbz7H0i9o=; b=f7s2udouCAZ3vPVY7+Vogpp6zsD2ISRX/VN7yxdyxY3CngBO0DAuOuTFzSBna9NO6+qvDh 9H+x4VVT55uADlTbD3Ez7FSanfilZOy41rW9QRGxlQgkJ6vDbtBLJslaDTMKe+P1fCOAJX UGHKOckaVbfM9WSZ6EDp/r2VZH2NkMCmjVJtnFBo4aQ1/3wXMY4vVKmk4gzZbFTFYtRsrW pPjhhmGasoOyRBnBVchL0o15hsAFGbIKHMsuaFV9gixzcWVjbxf2q+cHGyc/6TOCp1YJ4p uE4hTQHtA2+3PzkBW0jU+tCeOj/vAzQFrO68vD/hQIhUsoI7zjIl9xgtIVzTlQ== 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=GyBu67oS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695045503; a=rsa-sha256; cv=none; b=BYBhV8n4clMqENW/L04qb3SQBqMPZMMj+z+aQtIATt6e0JYwY8TA6osVUXe54Os0gUKjg5 s4sojl6ulA1QE112dbulYCyVv4/n1fj+DyxxGtGNYPWnfER41djdx5zTCLMVUIdkhqxf0b nXPFJNjtP61yCyFjZ+qJ7E8fkH6WPF6Q9rfTrSKo37sMKoTrDRTbRVabV7DPDNT9aB28qP 241cGmkiKu1ISKXJ2A9C1klLtBjfFMhqMIf60DhOoASV47oV+u9myekrwsacA8FZx+NSQi Pt0TDFTqfsHz3BV86hI787mDo/8Qok8cyj9fQ6aTkv2t8xj0fYRDu0nCCNfoeA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiElM-0007LG-8W; Mon, 18 Sep 2023 09:58:08 -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 1qiEl8-00073p-Ss for guix-patches@gnu.org; Mon, 18 Sep 2023 09:57:56 -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 1qiEl8-0001z9-KD for guix-patches@gnu.org; Mon, 18 Sep 2023 09:57:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiElG-0005ZO-Bk for guix-patches@gnu.org; Mon, 18 Sep 2023 09:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65866] hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Sep 2023 13:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65866 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: guix-devel@gnu.org, 65866@debbugs.gnu.org, Simon Tournier Received: via spool by 65866-submit@debbugs.gnu.org id=B65866.169504543621310 (code B ref 65866); Mon, 18 Sep 2023 13:58:02 +0000 Received: (at 65866) by debbugs.gnu.org; 18 Sep 2023 13:57:16 +0000 Received: from localhost ([127.0.0.1]:53931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiEkU-0005Xc-PR for submit@debbugs.gnu.org; Mon, 18 Sep 2023 09:57:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiEkL-0005Wr-4X for 65866@debbugs.gnu.org; Mon, 18 Sep 2023 09:57:13 -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 ) id 1qiEk5-0001fj-K5; Mon, 18 Sep 2023 09:56:50 -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=FxtiTTB1022HVZqFFCZzqHD77WnUrInwpWkbz7H0i9o=; b=GyBu67oSkkoogWEjLMPg BgMy2xQxFCa9pZMlDFRlM8BsREliHkSPCcE2jPYyMb5JEgYCZiifmD6hnL3wbbw6haYwW7XzM+xuG tZzjd4xRzN6GSCt7qBXh84+dx93+rOsgO1h7RM2PjHkp6u6/Op+qk0LmKtoHr1x1ThUwOJ1Yt7Kio sHdw5TZKiNbBRlOzn+Uh/aaS85WxfsFo2UPiiBOVhj0k8+TmXfD3IKQTloh9qM5v4SAFkuLUxGszD s/SEIuhGuJCXUob50aCfTjZgCqUyZzkgeLFcfTDt2oFxj9ppeuWa5+JvWGN9akoJPgfg0sEX17GWZ gNNl0F1udA1j7A==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871qf4ivsr.fsf@gmail.com> <87r0n4wp0d.fsf@gmail.com> <878r987l5t.fsf@gnu.org> <87wmwp8rxy.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 2 jour =?UTF-8?Q?compl=C3=A9mentaire?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du =?UTF-8?Q?G=C3=A9nie?= 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: Mon, 18 Sep 2023 15:56:21 +0200 In-Reply-To: <87wmwp8rxy.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 16 Sep 2023 22:16:41 -0400") Message-ID: <87wmwnh9fe.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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-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.61 X-Spam-Score: -0.61 X-Migadu-Queue-Id: D472F3A762 X-TUID: s4YTS0cgyfsz Hello! Maxim Cournoyer skribis: > Yeah, 'git gc' is lacking from libgit2. I'm not against adding > dependency on the real 'git' CLI, but at that point, as Simon mentioned, > I see little reason to keep libgit2 around for much longer, given it > performs worst than git CLI in every aspect. I doubt forking processes > on GNU/Linux would cause a performance hit compared to using libgit2, > especially given how optimized git appears to be (at least compared to > libgit2). As I wrote, as an example, I don=E2=80=99t think that there could be a prac= tical implementation of (guix git-authenticate) shelling out to =E2=80=98git=E2= =80=99. Anyhow, how about this plan: 1. Merge with the hard Git dependency. 2. When libgit2 1.7 with shallow clones is available in Guix, work on a patch to use Guile-Git for clones and evaluate it. 3. Brainstorm on ways to address lack of GC support based on a closer analysis of disk usage for Guix=E2=80=99s cached checkouts. Deal? Ludo=E2=80=99. PS: I don=E2=80=99t buy the =E2=80=9Clibgit2 will disappear from Guix=E2=80= =9D argument because it=E2=80=99s not a natural phenomenon that we=E2=80=99re observing but = a willful construction.