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

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

From:
Richard Pizzarro via RT
Date:
April 14, 2021 23:49
Subject:
[perl #134910] CPAN Problem with Hosted MIRRORED.BY File
Message ID:
rt-4.0.24-3498-1618436277-286.134910-120-0@perl.org
<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]





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About