From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kDegMx9c/2SNcAAAG6o9tA:P1 (envelope-from ) for ; Mon, 11 Sep 2023 20:27:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kDegMx9c/2SNcAAAG6o9tA (envelope-from ) for ; Mon, 11 Sep 2023 20:27:43 +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 7A1025DC4E for ; Mon, 11 Sep 2023 20:27:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=dj8dCnMu; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694456863; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MTvzvZ3Pg2X+uCSaOQXgsmjOKFPCnwe10v3vynJ+yvg=; b=L4kVC5EWZOWOzZGDilm9jLCpQFvF35L/hsw/M0Ht3RjiTBXvfVCUZRMjxGdjkjACCTS9Gw EDWq/G1a9TZSZ9MQKz/YKrVBtRZisfqhFYIbgjqC2i55FJaPimoG7InEHXtKcyeL5XaMu0 Fo5kV69xh9r1zHmHdAc7+PhKDl8b1YHdWeNq1WBhwkZ3Hz+HMikBywYuUWMRk7Ck5l2dPT x3e+htj0Trko0rqsxFBWuwgPQPgLrFJP0v5LeXHNPLqqfLKvgKkHcaTPkFnJtO36ypFPc9 lm70HWCksHBZOXy5nuhsiE3yim7o0AqBeaJsrXdB2JMOFyD++bbRvvpSCt4ozg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=dj8dCnMu; 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=1694456863; a=rsa-sha256; cv=none; b=d+rwBNv3vHfNgq76AWaug2i4lTgeK1p+AaI0Co3NiT9O+HjysJHdVD7p2BNqbXG/KMWAXz 2yE5VeM7/yRR5qYWBQWFkmzizb15b6wKuMJjA2OgpGoVFHj3n/j1v3EGLWzQTYEvd7HtBl KABK0zLCg51XzZJ+42JKyEz0Uvg7ej+6E4zixvpSk8e7LJQn/YPR4cW8WgUtoCvVS1osTM VFrD2IOvNU+gr7doy+iKA7CDzJ1aRrrvvjyEQ64QjvCjIg05u2/0KsqL63YZJJ/MJto+qz hWDlh6Wd/yk8jPKal250AOe83QIvk45lpXULuonoO2S9/mPkU+wGQX1DhK+vKw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qflcg-0006gS-IO; Mon, 11 Sep 2023 14:26:58 -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 1qflcf-0006g4-5X for guix-devel@gnu.org; Mon, 11 Sep 2023 14:26:57 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qflcd-0006hK-4T; Mon, 11 Sep 2023 14:26:56 -0400 Received: by mail-qk1-x72f.google.com with SMTP id af79cd13be357-770ef334b4fso121030385a.1; Mon, 11 Sep 2023 11:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694456812; x=1695061612; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=MTvzvZ3Pg2X+uCSaOQXgsmjOKFPCnwe10v3vynJ+yvg=; b=dj8dCnMuKgNAZPKd9IaxxMKGc7gtRyf+tvEDKJPLj9U0CC4WnCagdEcKhXkqRWIth7 MNxN7BcvoXQKjt63Fu1wl9rocDCHM+ylQQfDijafwuNNvmTr7ajo0ixQJ4LRVoKkCbO4 +Yv6d5mxTFtCXskzYQ5N3IXCLg4k421LuN+B4mLOn8gxFH1PeC6rYCoDtgJH+BBGOQRx 8yekYnKSxzclu2IfG8vlsbE5DrdsmCcoat3zMPJbTTP2aurCeSe17Y8HIoQqMF7SkHYK hwvX2XttDTdScpSZKy2GeEMoOsYsyTCbEgwgNvN0x6F34G4PoeS3r4zEzQILcg6RdUlO vRig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694456812; x=1695061612; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MTvzvZ3Pg2X+uCSaOQXgsmjOKFPCnwe10v3vynJ+yvg=; b=tM4/VWhTQY7DnfEYOL1m64f6ppAA9S5MHilrhcM2Pu+xK9Ub+MJUSdPsQpkrvFGS1l P5jVetPd7o04mhsrpBPg2AvitvM1azbVbFaXNBnEaMs+T1Dj4Vx/vynJQmeKxhS1ua9h TaY5kB64dsUJxbPmhe4KuSOM63k8XTOShlFumLiqTch2+s3D1nRxhCkX1Khp5vVGcy61 3vlw4Z2kFHGys/Jf8B0sF+oL9RygXQLHs3sUkMtHu7YY1vQ5zr8d6xzqwsQTToWEgHcl 8viAALlWDxn9De+T7Klj33VgfPOtH4Zmyd8Wkju0H2amCR2QdhveMP6aHYmFsgE/3H4P zmkA== X-Gm-Message-State: AOJu0Yyj5RzPvtsiDVj9P20l/2ASm/85dcaB2aSLPp69+RX5yqWFupct vgaySCV83nTvzyemNvuBWVwx7KtSdxY= X-Google-Smtp-Source: AGHT+IGbe/Q/SLLdAizQNB51KJkwEGAOKfmlmjO9P4kcG9ax/Eczir7CJhK1ga7PcUDniI4NIcRECA== X-Received: by 2002:a05:620a:4608:b0:76d:312a:e89a with SMTP id br8-20020a05620a460800b0076d312ae89amr407898qkb.19.1694456812304; Mon, 11 Sep 2023 11:26:52 -0700 (PDT) Received: from hurd (dsl-141-150.b2b2c.ca. [66.158.141.150]) by smtp.gmail.com with ESMTPSA id a21-20020a05620a103500b00767b24f68edsm2691525qkk.62.2023.09.11.11.26.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 11:26:51 -0700 (PDT) From: Maxim Cournoyer To: 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) References: <871qf4ivsr.fsf@gmail.com> Date: Mon, 11 Sep 2023 14:26:50 -0400 In-Reply-To: (wolf@wolfsden.cz's message of "Mon, 11 Sep 2023 19:51:15 +0200") Message-ID: <87msxswoph.fsf@gmail.com> 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 Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x72f.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-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -8.46 X-Spam-Score: -8.46 X-Migadu-Queue-Id: 7A1025DC4E X-TUID: IHwtXoNciaWz Hi wolf, wolf writes: [...] >> 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) i= s also 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 comm= ands. > > If you don't mind me asking, why is that so problematic approach? Git's > plumbing commands are intended to be used in scripts, so I am unsure what= the > problem is. In the grand scheme of things (pun intended), we'd like every programming to be feasible via nice Scheme APIs, which is what Guile-Git provides to work with git repositories. The appeal is to have a single language to rule them all, reducing friction among Guix contributors. The alternative here is to have an API reduced to invoking system commands with string arguments, which is less expressive and lacks elegance. --=20 Thanks, Maxim