From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6HACDnnOAF/LOgAA0tVLHw (envelope-from ) for ; Sat, 04 Jul 2020 18:46:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6D3kCXnOAF/1VwAA1q6Kng (envelope-from ) for ; Sat, 04 Jul 2020 18:46:17 +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 16D6C9407C5 for ; Sat, 4 Jul 2020 18:46:15 +0000 (UTC) Received: from localhost ([::1]:39558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrnAz-00080U-8g for larch@yhetil.org; Sat, 04 Jul 2020 14:46:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrmzD-0001z3-89 for guix-patches@gnu.org; Sat, 04 Jul 2020 14:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrmzC-00025P-TX for guix-patches@gnu.org; Sat, 04 Jul 2020 14:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrmzC-0004kg-Rm for guix-patches@gnu.org; Sat, 04 Jul 2020 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42192] [PATCH 2/3] import: launchpad: Recognize the .orig.tar.gz extension. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Jul 2020 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42192 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42192@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 42192-submit@debbugs.gnu.org id=B42192.159388763018231 (code B ref 42192); Sat, 04 Jul 2020 18:34:02 +0000 Received: (at 42192) by debbugs.gnu.org; 4 Jul 2020 18:33:50 +0000 Received: from localhost ([127.0.0.1]:59602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrmyz-0004ju-RM for submit@debbugs.gnu.org; Sat, 04 Jul 2020 14:33:50 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:34718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrmyp-0004jD-5h for 42192@debbugs.gnu.org; Sat, 04 Jul 2020 14:33:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3W6fy5MkKhH2bA5vO+ymntKkXztGBPquX5g8ZIDJFPI=; b=Okmva8HqDkftOFqCM5WjJBPv0e /MN49ev1NcZwnBg6dPsAh0mvhO0VbYnavOmTSGpYNUhPzpawB5Su8zWQTrXLB3s14Q/45zUSK5qcN Z/3c7D0iN01mbbzJzYgRMw3dVujaiaLCnp1zguC6XvACaiSU7nurHpNc4YAy7NRVlU7c=; Received: from [192.168.2.1] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jrmyl-0004Fh-Up; Sun, 05 Jul 2020 00:03:36 +0530 From: Arun Isaac Date: Sun, 5 Jul 2020 00:03:31 +0530 Message-Id: <20200704183332.25445-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200704183332.25445-1-arunisaac@systemreboot.net> References: <20200704183332.25445-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=systemreboot.net header.s=default header.b=Okmva8Hq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (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-Spam-Score: 5.09 X-TUID: LCfFrorMeSwt * guix/import/launchpad.scm (find-extension): Recognize the .orig.tar.gz extension. --- guix/import/launchpad.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/import/launchpad.scm b/guix/import/launchpad.scm index 1162cbe123..c991ccfe6e 100644 --- a/guix/import/launchpad.scm +++ b/guix/import/launchpad.scm @@ -32,7 +32,7 @@ "Return the extension of the archive e.g. '.tar.gz' given a URL, or false if none is recognized" (find (lambda (x) (string-suffix? x url)) - (list ".tar.gz" ".tar.bz2" ".tar.xz" + (list ".orig.tar.gz" ".tar.gz" ".tar.bz2" ".tar.xz" ".zip" ".tar" ".tgz" ".tbz" ".love"))) (define (updated-launchpad-url old-package new-version) -- 2.26.2