From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id T7XgISagxGDfBQAAgWs5BA (envelope-from ) for ; Sat, 12 Jun 2021 13:53:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gP6vHCagxGDyKAAAbx9fmQ (envelope-from ) for ; Sat, 12 Jun 2021 11:53:10 +0000 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 DC15319EE2 for ; Sat, 12 Jun 2021 13:53:09 +0200 (CEST) Received: from localhost ([::1]:54828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ls2CK-0005YE-R8 for larch@yhetil.org; Sat, 12 Jun 2021 07:53:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls2CE-0005Y3-5k for guix-patches@gnu.org; Sat, 12 Jun 2021 07:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ls2CD-0004zu-Um for guix-patches@gnu.org; Sat, 12 Jun 2021 07:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ls2CD-0003ve-Pm for guix-patches@gnu.org; Sat, 12 Jun 2021 07:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48971] [PATCH 0/2] Add SWH support for Hg repositories Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Jun 2021 11:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48971 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48971@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162349875615066 (code B ref -1); Sat, 12 Jun 2021 11:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2021 11:52:36 +0000 Received: from localhost ([127.0.0.1]:40444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ls2Bo-0003uw-9V for submit@debbugs.gnu.org; Sat, 12 Jun 2021 07:52:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:42300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ls2Bm-0003uo-MB for submit@debbugs.gnu.org; Sat, 12 Jun 2021 07:52:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls2Bm-0005Un-BW for guix-patches@gnu.org; Sat, 12 Jun 2021 07:52:34 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:55452 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ls2Bk-0004nT-E0 for guix-patches@gnu.org; Sat, 12 Jun 2021 07:52:33 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1623498744; bh=BrzruZ2My3DfmtgdPXwdqz5EKbTx9CHcpKqZafwS3uI=; h=From:To:Subject:Date; b=K9+8iT9KZspbbD0Rb7r7BpjbBL6fem07cmk29F42rR/zY73n6fr3RHOgWsh/izECN Tz9Fryp7QbgPhKUV/xObwrPeD9UR8st9S1XUncoEvFgLZ9BdN0ceJJ0Q76Dz+va0Vb sHJ6gKsFbIQFFGky0/LTJp+SUa04/8RqWoeTxmuc= Message-Id: Date: Sat, 12 Jun 2021 13:52:23 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 30 X-Spam_score: 3.0 X-Spam_bar: +++ X-Spam_report: (3.0 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.593, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623498790; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=ISIKoLFtx2VKp7f0Rpua1Gt1gBXkQIImT9Yu5MxoEqc=; b=c2AiR1v6l1umki0X/Ln9va/QJ54zEnDmGG4GBHGSPFq7E2CqSpyP31xE8cjmKSc9q8LZpa Zaf3Dbi9LncPHTG/8+bwssA4vFle7t5B8aIpXYx1R1FTXR9+Wv9sd2/bAf4DTcxQcyTMVt U13wVkJgDVWSD1h7IRmLaZEK6qI5ffjsmcQgZ2fYIS9Qr29U9Mv6yVyJ79LJx2q6UriGBX /FkKnau8Vg0wppRUG2ZbJop3gwe+85kH8xcS2/oTsILlzvviVxidQ01nxDGusaO6SXQiKj n+fLjzWKlI2iFz22kyP5yPiZZxFYR5u1YI50ebOolBKpwoUG4zHjd7V0/0nm+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623498790; a=rsa-sha256; cv=none; b=SpooUWa+xRONb5w9qFZ+3R8SiX1oK0Pew7vsS20MpleYmFNUPiV3Wv+dTIgTe0kFTHRmoL CcGReTEeRWymOssVO5gC4+s35lsJcGCrSSZ4A6WpTNDKX+MF4iwSUB78YGhX9mYqVzh/rQ k0utYAWlLkVo8HuCNqHXSs70rllmM6SX0xg+dH01e+KUmjRYV0G5ATZwXZ6WtL0AZwS10Z EMKcgIbF125RWoHKKcQVt7VURIOy5mKD642HNA+sNdaNEYhxuzg1DKBWkwe8DbhaXzThC/ 3Bn/kg16+E6G+j00ACzEFkknaVLctYSEv48FrHW8yEJqLxIfJzL1esX4TPYGEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=K9+8iT9K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=K9+8iT9K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DC15319EE2 X-Spam-Score: -0.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: /NVQ9itpDJFB This series adds SWH support for Hg repositories, meaning that if the upstream Hg repository is missing, Guix will try to fetch the source from SWH. SWH has archived more than 250 000 Hg repositories that were previously hosted od BitBucket, so I think will be a useful feature. :) https://www.softwareheritage.org/2020/09/17/250-000-endangered-mercurial-repositories-rescued/ Xinglu Chen (2): swh: Support lookup of Hg tags. hg-download: Support falling back to SWH. guix/hg-download.scm | 31 ++++++++++++++++++++++++++++--- guix/swh.scm | 10 ++++++++-- 2 files changed, 36 insertions(+), 5 deletions(-) base-commit: 00727470b92e0b8ab0e00dd2cd87495c0c136341 -- 2.32.0