From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 AAspJm8+/2RDeQEAG6o9tA:P1 (envelope-from ) for ; Mon, 11 Sep 2023 18:21:03 +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 AAspJm8+/2RDeQEAG6o9tA (envelope-from ) for ; Mon, 11 Sep 2023 18:21:03 +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 33FD9327C0 for ; Mon, 11 Sep 2023 18:21:03 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=ZGxuPafe; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694449263; a=rsa-sha256; cv=none; b=gFjWwimfarzDRhTr8tXWruE0eAQStC/yF9/AQyCgE8BgNmfYTaHWmv2NaC9FyJKXB8AVp5 2mBK9kjHCBkdnSry9DaW2qzo/1+mEN6EM97DJxKEQS70xXogS6cr0h4Tmrkhkp9/9yiJTI CoygVVT3ZD3YtvBqsh3jY6oMAi/Kb3G++equT26DZUPDVF9FguHz0F7MP98YvuROTC6q5I 65Uah1YjPjaY5M01PvWKzRqXFvX80sRXIv/EaKqrJ8ChXjX79+UQo4w4d6O69Gxp4z2PzV V7J4o1e0feM4YAAh/FYwGYMyJft8KojU+SGCI0WXWP4krIla2z80gv9GPgYSmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694449263; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0X318GH04T/EZzACYv25QHBFfe/z+6rT79K8EFd3xrY=; b=Mqk8GmHsWAUpON6RHm484qeAgIzX1wsiCPK3pwBLuN/ACwUq0jjrUQnT9raWZIbh22z/kD R/mnKIb6BAGSlGgSzzvMw7YgecmJyuPcyZ9zGFcxBxp5k0HwAXS5VUxmTpVQmD+ZgbbJdB VYFLxOVebOwrrHyAD3wktFDCQ1aKqiekOrSkYFGVlJN1+4v/G7uau47gE5TaIHV1dJSN9W Wbk3xwev2u0fQIEaZFQkV70zH/FMZcKowojl5nY/Pw3Nt1OleT1QbamUbhMgi46nZ1h/WB atgfK7LX7hw1yspLo0VDWHFVSrOeaYtrWvyVvu9UwChQKdeOdABUwwRyXRkOLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=ZGxuPafe; 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"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfjdv-0007gF-Ru; Mon, 11 Sep 2023 12:20:07 -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 1qfjdt-0007g4-Bw for guix-devel@gnu.org; Mon, 11 Sep 2023 12:20:05 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfjdq-0005K4-Py; Mon, 11 Sep 2023 12:20:05 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-402ba03c754so13684255e9.0; Mon, 11 Sep 2023 09:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694449200; x=1695054000; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=0X318GH04T/EZzACYv25QHBFfe/z+6rT79K8EFd3xrY=; b=ZGxuPafe09lxnK55Ch2wJ+mBCrflGM+0/jShB5bgEj7DxRwm+tkq63uGTD2tdBsWe+ y499iJjxRJHhmqJfa8WA68u79G2D7Tu5zWss4ul1sXtGvvT7vkm8ovrTPfOjgNarMYMf Fyza3oQyONJ8vmovHQhX65jx4RVfWCq/rALAAMSjCCWijfJ8JTLA4KFSYZZRhzBf9mHy BfbFHgCYa0/g5WN4pWUP6BCVStXyx9U2c5POMAT/JhRZBeG4cQbEql5PwuF4k9BMdain gbHv/pvoW480+SJ2nFWGQo61vYOZcK2IIibsb3+CBnVieiRgMzq9IwrhSyzwagAKIoAz gw8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694449200; x=1695054000; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0X318GH04T/EZzACYv25QHBFfe/z+6rT79K8EFd3xrY=; b=cCiYo4haMJmxOiHhvqHdnRDHaO3Xqoy/IXKcIZ5edPDr97LtUuBlBzp+nMQ0x9+Y50 iVeZJgH+8NOXveKAYP/3bmqjdMFFYRyFxC3H3fJoShlIvKH74maYeUZXaZre3Y19xanD NaSYwJCqpjvofgi519PdrIyBBUuu4YIz7FRWn/fCR8L9ksgBH6Ysdd+qlIFLNGFM/mQC tK3klV/sVStU+OOiFj9poPwMdEDZaO2ZTyfmuZPC+LOH647mzUgSXQFxQmMTv9GVuqbT YCy79xnM0EoEFxjPMdN/leghMGKJbGlblDHGrkLnIBHVAfk8PYAOWi93x9jDye/0cya5 PVWw== X-Gm-Message-State: AOJu0Yx2KBIL0IXf8hnj3Bu8auqs9qOOiIF25Jv9fHTZsQ0RMLv3eVen F6J3lRaUPnb7Kv7BByter9q9VY2Wg2Y= X-Google-Smtp-Source: AGHT+IFgD3ULEP7/9TccoeaeIXzH6BnFfEdU3XcIeRZPEB+MwX9UlZmRLg7gN+EnD5Lft6/8BlpfMg== X-Received: by 2002:a05:600c:3d9b:b0:3fe:d637:7b25 with SMTP id bi27-20020a05600c3d9b00b003fed6377b25mr9220390wmb.0.1694449199999; Mon, 11 Sep 2023 09:19:59 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n17-20020a1c7211000000b003fe1630a8f0sm13597673wmc.24.2023.09.11.09.19.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 09:19:59 -0700 (PDT) From: Simon Tournier To: guix-devel@gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: hard dependency on Git? (was bug#65866: [PATCH 0/8] Add built-in builder for Git checkouts) Date: Mon, 11 Sep 2023 17:17:24 +0200 Message-ID: <871qf4ivsr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x334.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: -9.56 X-Spam-Score: -9.56 X-Migadu-Queue-Id: 33FD9327C0 X-Migadu-Scanner: mx2.migadu.com X-TUID: cnA08QK9wsMs Hi, On Mon, 11 Sep 2023 at 16:23, Ludovic Court=C3=A8s wrote: > Note that the patch series adds a hard dependency on Git. > This is because the existing =E2=80=98git-fetch=E2=80=99 code depends on = Git, > which is itself motivated by the fact that Git supports > shallow clones and libgit2/Guile-Git doesn=E2=80=99t. Going this path, I appears to me worth to revisit the proposal: RFC: libgit2 is slow/inefficient; switch to git command? Maxim Cournoyer Mon, 21 Nov 2022 21:21:02 -0500 id:87cz9fpw4x.fsf@gmail.com https://yhetil.org/guix/87cz9fpw4x.fsf@gmail.com https://lists.gnu.org/archive/html/guix-devel/2022-11 I know it is not an option for now to parse the output of =E2=80=99git=E2= =80=99 commands in order to keep the features of (guix git), (guix channels), etc. However, this discussion was mentioning an implementation of clone/checkout in pure Racket supporting shallow checkout. Considering the current level of integration, I thought the next Big Plan=E2=84=A2 was = to gradually move bits of Guile-Git to being pure Scheme, maybe based on the Racket implementation of =E2=80=99clone=E2=80=99 as a starting point. Personally, I do not have a strong opinion about the Big Plan=E2=84=A2. I = note that the introduction of Git as a hard dependency is a slippery slope considering the current state of libgit2. Here, it starts with =E2=80=9Cgit clone=E2=80=9D, then =E2=80=9Cgit gc=E2=80=9D (unsupported by libgit2) is a= lso in the pipes (#65720 [1]). And after timing, I am almost sure that many operations using Guile-Git will be slower than their plain Git counter-parts. And we will start to parse the output of =E2=80=99git=E2=80=99 plumbing command= s. Slippery slope for pushing Guile-Git out, no? And I do not speak about the closure. Is it possible to extract the command =E2=80=99git-clone=E2=80=99 from git-minimal? It would reduce the = size, no? Cheers, simon 1: https://issues.guix.gnu.org/65720