Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 46378
Status: open
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: stro [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.94
Fixed in: (no value)



Subject: "o conf init urllist" does not change mirror list
Hi Andreas, David and Michael, I've encountered strange behaviour of CPAN.pm 1.94. When trying to run "o conf init urllist" to rearrange/remove some mirrors, I found that they are not rearranged at all. Tried twice with the same results, so I had to change values in config manually. I'm able to add extra mirrors, but cannot remove and rearrange, which is strange. Here's CPAN shell output: ---- cut ---- stro@debian5:~$ ~/perl589/bin/cpan cpan shell -- CPAN exploration and modules installation (v1.94) ReadLine support enabled cpan[1]> o conf init urllist Found /home/stro/.cpan.589/sources/MIRRORED.BY as of Tue May 26 14:22:58 2009 I'd use that as a database of CPAN sites. If that is OK for you, please answer 'y', but if you want me to get a new database from the internet now, please answer 'n' to the following question. Shall I use the local database in /home/stro/.cpan.589/sources/MIRRORED.BY? [y] Now we need to know where your favorite CPAN sites are located. Push a few sites onto the array (just in case the first on the array won't work). If you are mirroring CPAN to your local workstation, specify a file: URL. First, pick a nearby continent and country by typing in the number(s) in front of the item(s) you want to select. You can pick several of each, separated by spaces. Then, you will be presented with a list of URLs of CPAN mirrors in the countries you selected, along with previously selected URLs. Select some of those URLs, or just keep the old list. Finally, you will be prompted for any extra URLs -- file:, ftp:, or http: -- that host a CPAN mirror. (1) Africa (2) Asia (3) Central America (4) Europe (5) North America (6) Oceania (7) South America (8) (edit previous picks) Select your continent (or several nearby continents) [8] (1) ftp://ftp.gafol.net/pub/cpan/ (previous pick) (2) http://ftp.silvernet.ru/CPAN/ (previous pick) (3) ftp://mirror.prvtgeo.com/lang/perl/CPAN/ (previous pick) (4) ftp://ftp.spbu.ru/CPAN/ (previous pick) (5) ftp://ftp.aha.ru/CPAN/ (previous pick) (6) ftp://cpan.rinet.ru/pub/mirror/CPAN/ (previous pick) (7) ftp://cpan.nx1.ru/ (previous pick) (8) http://192.168.14.88/CPAN/ (previous pick) Select as many URLs as you like (by number), put them on one line, separated by blanks, hyphenated ranges allowed e.g. '1 4 5' or '7 1-4 8' (or just hit RETURN to keep your previous picks) [1 2 3 4 5 6 7 8] 8 1 2 3 4 Enter another URL or RETURN to quit: [] New set of picks: ftp://ftp.gafol.net/pub/cpan/ http://ftp.silvernet.ru/CPAN/ ftp://mirror.prvtgeo.com/lang/perl/CPAN/ ftp://ftp.spbu.ru/CPAN/ ftp://ftp.aha.ru/CPAN/ ftp://cpan.rinet.ru/pub/mirror/CPAN/ ftp://cpan.nx1.ru/ http://192.168.14.88/CPAN/ commit: wrote '/home/stro/perl589/lib/5.8.9/CPAN/Config.pm' cpan[2]> ---- cut ---- If you need more information, let me know. -- Serguei Trouchelle
Subject: Re: [rt.cpan.org #46378] "o conf init urllist" does not change mirror list
Date: Tue, 26 May 2009 18:45:28 -0400
To: bug-CPAN [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Tue, May 26, 2009 at 2:36 PM, Serguei Trouchelle via RT <bug-CPAN@rt.cpan.org> wrote: Show quoted text
> I've encountered strange behaviour of CPAN.pm 1.94. When trying to run > "o conf init urllist" to rearrange/remove some mirrors, I found that > they are not rearranged at all. Tried twice with the same results, so I > had to change values in config manually. I'm able to add extra mirrors, > but cannot remove and rearrange, which is strange.
Fixed in master branch in my git repo: git://github.com/dagolden/cpanpm.git Andreas -- please pull. -- David