On Thu, May 24, 2018 at 12:34 PM, Petr Pisar
<ppisar(a)redhat.com> wrote:
> On Fri, May 18, 2018 at 10:55:02AM +0100, Dave Cross wrote:
> > See
https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html
> >
> > This means that the URLs included in RPMs of CPAN modules will need to
> > change to MetaCPAN URLs.
> >
> > Please let me know if I can be any help making this happen.
> >
> I can mass update spec files for all Perl packages. I submitted this
> Fedora 29
> change request <
https://fedoraproject.org/wiki/Changes/Perl_Move_to_
> MetaCPAN>
> and this packaging guidelines request
> <
https://pagure.io/packaging-committee/issue/770>.
>
> If it is approved, I will try to do that before Perl 5.28 mass rebuild so
> that the change becomes visible in Fedora 29 release.
>
> I propose rewriting both URL and Source tags like this:
>
> -URL:
http://search.cpan.org/dist/CPANPLUS/
> +URL:
https://metacpan.org/release/CPANPLUS
> -Source0:
http://www.cpan.org/authors/id/B/BI/BINGOS/CPANPLUS-%{
> cpan_version}.tar.gz
> +Source0:
https://cpan.metacpan.org/authors/id/B/BI/BINGOS/
> CPANPLUS-%{cpan_version}.tar.gz
>
> Are you fine with it?
>
> While the old addresses will probably work, I believe it makes sense to
> update
> them because:
>
> (1) The less intermediary steps to the final location, the better. (Fewer
> things can get broken.)
> (2) It's good when a user see the same address in RPM and in his web
> browser.
The changes look good to me. However, the source URL does not really need
to be updated (it will still mirror the file);
www.cpan.org is not
changing, only
search.cpan.org is. If there is any source URL using the
search.cpan.org mirror that could be updated:
http://search.cpan.org/CPAN/authors/id/... ->
https://www.cpan.org/authors/id/... or
https://cpan.metacpan.org/authors/id/...
-Dan
Do we know if files like /modules/02packages.details.txt are
still going to be provided by cpan.org? If not, virtually all
CPAN tools will have to be updated. cpanspec included.
P
_______________________________________________
perl-devel mailing list -- perl-devel(a)lists.fedoraproject.org
To unsubscribe send an email to perl-devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproj...