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 YBIoKUAVDmUFjwAA9RJhRA:P1 (envelope-from ) for ; Sat, 23 Sep 2023 00:29:20 +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 YBIoKUAVDmUFjwAA9RJhRA (envelope-from ) for ; Sat, 23 Sep 2023 00:29:20 +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 54A4549FC8 for ; Sat, 23 Sep 2023 00:29:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hKBU41HT; 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=1695421760; 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=lk47iO4kQzqe0QpNVs9Y830SM9FGaIUAEeD/pw9Aqbo=; b=EAS/67vUr+H0LE3NkY+u9mV7ho4X36zmKYnjAHMv+dJ+GH/Qn+sbaXITDJWOJ5Z3d/kGm8 giKUk5s90eBN4axImbEMLdeK27cJtnq5KExo/v+m4cxEmvljs7fbagd4xNzFxcX90i8sgs Y+Xf+8+3c0IPJUzW30DucIq52K0U8qJAoV99DsCy5/H/TX+jJMxABUgA3DVKT+okr8hAkr ythtF6k1UlMBubYbdo477W9yJyd9uzr9l2NXFpfz7l07aX11IyTbqV7h2W1fmownXbyOEG JaFNU4hNsLE+dblMmuTbveqNAnvkWk2GfuABugpcChi7n3b2Vt/HoYDwL3KaBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695421760; a=rsa-sha256; cv=none; b=B2PG9JI2XBc3K4CTIi966qNOtvnKuVc/H9FkhfDf7Tofc69PXFmibKO3JAI1svzzQS/Vfp jTFQndXabdS9BL92LGbZqEJghU3xiR/nJEVTv231hZUNX7KZWX9VA1S6KtzGOGidvDdPCv hiADiYKJn8FXA0HNz/812sLHGUeZRsJZY6Tjta11ktTw0t4eyRTY4ztQmHBw+8zN/7k8aO Br7wNGMx0aXVp1AUPxLHev/g8ehJpApdfcNh0UnbVYPfobqyeriV/4eh6zQ5B8m2KED2Qp /Zz/YPathq7pnEADE3yG2fzg/fKgZgem4ZlP7owj7ClW+8RrU56sAyH1jon2EQ== 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=hKBU41HT; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjods-0001gq-LX; Fri, 22 Sep 2023 18:28:56 -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 1qjodp-0001gL-NE for guix-patches@gnu.org; Fri, 22 Sep 2023 18:28:53 -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 1qjodp-0005sf-9Z for guix-patches@gnu.org; Fri, 22 Sep 2023 18:28:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjodz-0006lB-II for guix-patches@gnu.org; Fri, 22 Sep 2023 18:29:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65866] [PATCH v2 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: Fri, 22 Sep 2023 22:29:03 +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: 65866@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Received: via spool by 65866-submit@debbugs.gnu.org id=B65866.169542174225959 (code B ref 65866); Fri, 22 Sep 2023 22:29:03 +0000 Received: (at 65866) by debbugs.gnu.org; 22 Sep 2023 22:29:02 +0000 Received: from localhost ([127.0.0.1]:37406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjodt-0006kK-V3 for submit@debbugs.gnu.org; Fri, 22 Sep 2023 18:29:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjodn-0006jE-7L for 65866@debbugs.gnu.org; Fri, 22 Sep 2023 18:28:55 -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 1qjodW-0005lU-5W; Fri, 22 Sep 2023 18:28:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=lk47iO4kQzqe0QpNVs9Y830SM9FGaIUAEeD/pw9Aqbo=; b=hKBU41HT/Sg8QDjk9/Kk 3WDTAxsYDmVv5ynGBwGNHkaOafcf6fPTlTIsmIeu4tz5uCBCD4uyBvajGEuW/D/akftXcpN0kByOH PDO+FSW7vHDEzXrw+iDxS05rcZhcbf8fzoLO2wet1iBeB84xKEFjzjtFjyzLTvSd8YT2Nhnl134R+ /gf0nnmMQbppZi7HbTT1agiW8z29qwdzqXPZWk7K/E4avFmQinH7RIvPgOxSVJ9pPh/SJtVMU63H3 50EE+feos3RKdf3fIzQlhmStf7Za9ZESQa9nl8AnmZMaR8jRzb/bs0BdVPVcoOe3vbs1/7sLQ8kil BEeWLyyazrlYZA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sat, 23 Sep 2023 00:27:56 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <87o7hwas61.fsf@gnu.org> References: <87o7hwas61.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.98 X-Migadu-Spam-Score: -5.98 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 54A4549FC8 X-TUID: sCxGgRTCZu26 Hello, Changes compared to v1: • The ‘output’ parameter of the ‘perform-download’ and ‘perform-git-download’ procedures is now mandatory. Consequently, the confusing ‘output*’ variable is gone. • The docstring of these two procedures has been clarified accordingly. • I think there’s no third item. Let me know if I missed something! Thanks, Ludo’. Ludovic Courtès (8): git-download: Move fallback code to (guix build git). git-download: Honor the ‘GUIX_DOWNLOAD_FALLBACK_TEST’ environment variable. perform-download: Remove unused one-argument clause. daemon: Add “git-download” built-in builder. build: Add dependency on Git. perform-download: Use the ‘git’ command captured at configure time. git-download: Use “builtin:git-download” when available. tests: Assume ‘git’ is always available. configure.ac | 7 ++ doc/guix.texi | 1 + guix/build/git.scm | 44 ++++++++++- guix/config.scm.in | 6 +- guix/git-download.scm | 122 ++++++++++++++++++------------ guix/scripts/perform-download.scm | 67 +++++++++++----- guix/self.scm | 10 ++- nix/libstore/builtins.cc | 5 +- tests/builders.scm | 29 ++++++- tests/channels.scm | 7 +- tests/derivations.scm | 94 ++++++++++++++++++++++- tests/git-authenticate.scm | 1 - tests/git.scm | 10 --- tests/import-git.scm | 18 ----- 14 files changed, 309 insertions(+), 112 deletions(-) base-commit: 3d8d67ef6928f5d81118c97f03372cd341eab8b0 -- 2.41.0