From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: [PATCH] Fix cpan importer source-url generator. Date: Sat, 2 Jul 2016 20:06:01 +0200 Message-ID: <20160702180602.26453-1-alex@pompo.co> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJPJ8-0001lB-HA for guix-devel@gnu.org; Sat, 02 Jul 2016 14:06:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJPJ5-0004O2-9W for guix-devel@gnu.org; Sat, 02 Jul 2016 14:06:22 -0400 Received: from mail.pompo.co ([87.243.223.35]:35550 helo=ronja.pompo.co) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJPJ4-0004Nh-UJ for guix-devel@gnu.org; Sat, 02 Jul 2016 14:06:19 -0400 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hello, Currently the CPAN importer correctly replaces metacpan URLs with our mirrors when the provided metacpan URL is 'http'. This patch fixes the importer to also 'fix' the URLs when they are 'https'. Feedback welcome, Alex Alex Sassmannshausen (1): import: cpan: Use our mirrors for 'https' URLs. guix/import/cpan.scm | 13 +++++++++---- tests/cpan.scm | 11 +++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) -- 2.8.4