<URL: https://rt.perl.org/Ticket/Display.html?id=134910 >

Hello,
The https://www.cpan.org/MIRRORED.BY file was updated on Sat Apr 10 04:32:30 
2021 (UTC) and I believe the syntax is broken. The file has one distribution 
defined and it looks like the following:

Global CPAN CDN:
  frequency        = "instant"
  dst_http         = "http://www.cpan.org/";
  dst_location     = "Everywhere, Global, Global (0 0)"
  dst_organisation = "Global CPAN CDN"
  dst_bandwidth    = "100.0 Gb/s"
  dst_contact      = "perl.org#cpan"
  dst_src          = "rsync://cpan-rsync.perl.org/CPAN/"

The problem is that when the default CPAN module runs for the first time and 
tries to auto-configure, it throws an error since the CPAN package expects that 
first line ("Global CPAN CDN:") to be a hostname.

I believe that first line should read:

www.cpan.org:

Wen looking at the documentation of the format at the top of the file, it looks 
like this:

# Explanation of the syntax:
#
# your.domain.name:
# frequency        = "daily|twice daily" or like "1d|24h|12h|8h|6h"
#                    or "instant" if you use "instant mirroring"
# dst_ftp          = "ftp://your.host.name:/CPAN/mirror/directory/";
# dst_http         = "http://your.host.name:/CPAN/mirror/directory/";

So, you can see that first line is a hostname, not a descriptive name.

Thank you for any help you can provide.

- Rich Pizzarro

--
Rich Pizzarro
Senior Software Architect
Autodesk Construction Solutions

MOBILE +1 717 319 8957
FAX +1 717 620 3489
SKYPE RHPizzarro

Autodesk, Inc.
www.autodesk.com<http://www.autodesk.com/>
[AutodeskMakeAnything263x25x96dpi]


Reply via email to