From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oJQ+LVj95mUK5QAAe85BDQ:P1 (envelope-from ) for ; Tue, 05 Mar 2024 12:09:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oJQ+LVj95mUK5QAAe85BDQ (envelope-from ) for ; Tue, 05 Mar 2024 12:09:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Cs++XkGX; 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=1709636952; 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=mweznaeSa8lo+k359M/SGVd1fQ3+v3DXBJsYRoVbaNg=; b=UxHDeM41eQ6Yeq1PNoj3tfozim+mg4la75Gmkf3Qb0+dVNKRTVZbhjQFQxTMYCw5ukkODz TBVs+CyJ7bQRTWmTXy2fLgNeqK7d7i/nWrBvgtxYZZZyFgeHwOhpxdtcp6woPYRjILMeM8 9ksa/+xCcc3LZw5yMprgTGlkzAkpz4pQbGykIbsj8G0BXYlfnLBjL/yXvunIitGYdm3YOk 0kiQG38ATpa89VSsBi7k1rnngeaxx2H097qArEXGr1qowqAaVfGcvgrFwKG3bFZYtcwhQu GaJE6qxEcUxx8nHA3sE96x/qIpbhEc4Ro6SKGEY/ml9lqgwBsX608xWj+1Ky1g== 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=Cs++XkGX; 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=1709636952; a=rsa-sha256; cv=none; b=jdWCJZQ50xCUkVW+315mBqGmdOvBZqJnKOzKlIqNPvlHesad4W03D1HizVSoCoDlbMUtx0 o7RLf1ZB7ZE0FD0q+10zvSzs1eag603R7ws3hT3m4bfD/wMxEmVFEDdfuAF/bgwNv6sl3W pb75gd12BUng0dLKSqv461/kJmreGdy1iTK1mJ/PiXixVf9rH/s5QTfWaiVIo0IufZAlbS QhLzK3oXJ4cCfQ2sgQiQ46kpTgKPNJzYJDzxSKdj8deBFGwBHolu7tdyd/INfpqZoMoftF JqiMFIWizsFPLHm53sEhl4AoOhMDegAG3w8tQGVmSXYmJPnWeslt+gY/jEWhvg== 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 A8EB85D2DE for ; Tue, 5 Mar 2024 12:09:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhSe1-0001xZ-OV; Tue, 05 Mar 2024 06:07:37 -0500 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 1rhSdy-0001nh-RZ for guix-patches@gnu.org; Tue, 05 Mar 2024 06:07:35 -0500 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 1rhSdy-00031h-H8; Tue, 05 Mar 2024 06:07:34 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhSeQ-000073-GG; Tue, 05 Mar 2024 06:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69328] [PATCH v2 00/12] Better source code recovery from SWH Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2024 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69328 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69328@debbugs.gnu.org Cc: Timothy Sample , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 69328-submit@debbugs.gnu.org id=B69328.170963687132761 (code B ref 69328); Tue, 05 Mar 2024 11:08:02 +0000 Received: (at 69328) by debbugs.gnu.org; 5 Mar 2024 11:07:51 +0000 Received: from localhost ([127.0.0.1]:46373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhSeF-0008WK-7H for submit@debbugs.gnu.org; Tue, 05 Mar 2024 06:07:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhSeD-0008Vo-GN for 69328@debbugs.gnu.org; Tue, 05 Mar 2024 06:07:50 -0500 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 1rhSdd-0002tD-SQ; Tue, 05 Mar 2024 06:07:13 -0500 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=mweznaeSa8lo+k359M/SGVd1fQ3+v3DXBJsYRoVbaNg=; b=Cs++XkGXw1J4W7b3Ogz4 EuQ9s52dqmcm1jL+79PmSG4gq+2q48Qq58zdaBLWV/F95DcGG4gLrsDyvjKdRnSabsZ1BitBrcX5U k15E4es5mgLk8y87GhB7rwDxZIGiiG2yusX142IOxXNMlMDI+sdFDXaKZPIdAL1zvvzz0evvr8PZ/ aGyPqXnDJ+kz2MbE2Y9FaZRIQo4GQOWYabQqJ5QgbbidEeeR0ElLTWCW3wooCVddJGub64WpBaz/Y ezuQEsA/O9DGkFm481ifCeQ3KI8D2XsBV/SRRLkQURlJtbbu9c8UPIazO4AcIxYDbOaRb2rVAdruC GCRL37pPGSZwdQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 5 Mar 2024 12:06:48 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <87o7btc5du.fsf@gnu.org> References: <87o7btc5du.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-Migadu-Spam-Score: -4.67 X-Spam-Score: -4.67 X-Migadu-Queue-Id: A8EB85D2DE X-Migadu-Scanner: mx11.migadu.com X-TUID: v6DtyX3vAYS/ Hello! Changes since v1: • Renamed ‘GUIX_DOWNLOAD_SEQUENCE’ to ‘GUIX_DOWNLOAD_METHODS’ as suggested by Timothy. • Reinstated comment that was inadvertently removed in last patch. • Added comment in ‘svn-multi-fetch’ fallback pointing to SWH issue being discussed. I plan to push by the end of the week if there are no objections. Ludo’. Ludovic Courtès (12): lint: Switch to SRFI-71. lint: archival: Fix crash in non-Git case. lint: archival: Trigger “Save Code Now” for VCSes other than Git. swh: Add ‘type’ field to . swh: ‘origin-visits’ takes an optional ‘max’ parameter. swh: ‘lookup-origin-revision’ handles branches pointing to directories. hg-download: Use ‘swh-download-directory-by-nar-hash’. svn-download: Use ‘swh-download-directory-by-nar-hash’. bzr-download: Implement nar fallback. download-nar: Distinguish ‘output’ and ‘item’ parameter. perform-download: Allow use of ‘download-nar’ for ‘--check’ builds. download: Honor ‘GUIX_DOWNLOAD_METHODS’ environment variable. guix/build/bzr.scm | 3 +- guix/build/download-nar.scm | 12 +-- guix/build/download.scm | 50 +++++++--- guix/build/git.scm | 27 ++++-- guix/bzr-download.scm | 57 ++++++++--- guix/cvs-download.scm | 24 +++-- guix/download.scm | 53 ++++------- guix/git-download.scm | 20 ++-- guix/hg-download.scm | 36 ++++--- guix/lint.scm | 151 +++++++++++++++++++----------- guix/scripts/perform-download.scm | 67 +++++++------ guix/svn-download.scm | 88 +++++++++++------ guix/swh.scm | 71 ++++++++------ tests/lint.scm | 20 ++++ tests/swh.scm | 74 +++++++++++++++ 15 files changed, 507 insertions(+), 246 deletions(-) base-commit: b7f0aad907d6c33c4ccb137190b7a6b710a7112b -- 2.41.0