develooper Front page | perl.modules | Postings from April 2021

[perl #134910] CPAN Problem with Hosted MIRRORED.BY File

Richard Pizzarro via RT
April 14, 2021 23:49
[perl #134910] CPAN Problem with Hosted MIRRORED.BY File
Message ID:
<URL: >

The 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         = ""
  dst_location     = "Everywhere, Global, Global (0 0)"
  dst_organisation = "Global CPAN CDN"
  dst_bandwidth    = "100.0 Gb/s"
  dst_contact      = ""
  dst_src          = "rsync://"

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:

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

# Explanation of the syntax:
# frequency        = "daily|twice daily" or like "1d|24h|12h|8h|6h"
#                    or "instant" if you use "instant mirroring"
# dst_ftp          = ""
# dst_http         = ""

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.<>
[AutodeskMakeAnything263x25x96dpi] Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About