[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Perl Policy] Switch from search.cpan.org to metacpan.org



Hi all

Are there any objections to already document the change from
search.cpan.org to metacpan.org in our Perl policy? I propose the
attaced patch so that it might be used already for new packages.

Regards,
Salvatore
From 40544ac4fa14cf081910700cfbad9bc841080097 Mon Sep 17 00:00:00 2001
From: Salvatore Bonaccorso <carnil@debian.org>
Date: Sat, 10 Nov 2012 08:04:47 +0100
Subject: [PATCH] Switch to metacpan.org URL

Change search.cpan.org URL to respective metacpan.org counterpart.
---
 policy.pod |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/policy.pod b/policy.pod
index f8f6053..7bdf2bc 100644
--- a/policy.pod
+++ b/policy.pod
@@ -158,7 +158,7 @@ C<http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libsomething-perl.git>.
 
 The URL for this module's upstream homepage. For CPAN modules, unless the
 author has a specific homepage, you can point to
-L<http://search.cpan.org/dist/Something/>.
+L<https://metacpan.org/release/Something/>.
 
 =back
 
@@ -188,7 +188,7 @@ for a watch file for a typical module I<libfoo-bar-perl> hosted on CPAN is:
 
  version=3
  # URL to the package page followed by a regex to search
- http://search.cpan.org/dist/Foo-Bar/   .*/Foo-Bar-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+ https://metacpan.org/release/Foo-Bar/   .*/Foo-Bar-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
 
 (Scanning the distribution-based CPAN URLs is usually much faster than
 scanning /(by-)module/ ones; author-based URLs become invalid as soon as
-- 
1.7.2.5

Attachment: signature.asc
Description: Digital signature


Reply to: