Skip Menu |

This queue is for tickets about the Locale-Codes CPAN distribution.

Report information
The Basics
Id: 88447
Status: resolved
Priority: 0/
Queue: Locale-Codes

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

Bug Information
Severity: (no value)
Broken in: 3.27
Fixed in: (no value)



Subject: PAUSE indexing confusion - Please delete 3.26 from CPAN when you are happy that 3.27 is OK
PAUSE indexing is known to cause confusion for some programs whenever a new version of some distribution appears on CPAN which drops (or, at least, drops from indexing) one or more packages that are still indexed in an earlier version of that distribution. This has just happened with Locale-Codes: the new version (3.27) still contains numerous packages like Locale::Codes::Country_Codes, but they are no longer indexed (an intentional change, I'm sure, and not a problem at all), whereas they used to be indexed in the previous version (3.26), which is currently still on CPAN. This results in 3.26 getting listed in http://www.cpan.org/modules/02packages.details.txt.gz as the most recent distribution containing Locale::Codes::Country_Codes, whereas other packages (such as Locale::Codes::Country) now list 3.27 as the most recent distribution. The effect is that some programs get confused over which is the most recent version of that distribution. In particular, perl's Porting/core-cpan-diff program (run with " -a -f -x" arguments to examine which versions of dual-lived modules are out of date w.r.t. CPAN) now outputs this message about Locale-Codes: Locale-Codes: (found more than one CPAN candidate): perl: SBECK/Locale-Codes-3.27.tar.gz CPAN: SBECK/Locale-Codes-3.26.tar.gz CPAN: SBECK/Locale-Codes-3.27.tar.gz This particular case isn't a big problem for anyone but it would get annoying if many distributions started causing such noise, so I would be very grateful if you could be sure to delete 3.26 from CPAN as soon as you are happy that 3.27 is proven OK. (Version 3.26 will still exist for ever on BackPan, of course, but that doesn't interfere with the PAUSE indexing in 02packages.details.txt.)
I wasn't aware of the indexing confusion, so that's good to know. As it turns out, I have already scheduled the old version for deletion (I scheduled it shortly after releasing the new release, but CPAN takes about 3 days after being scheduled before it actually deletes the files), so this will resolve itself in a couple days. Just FYI, as you guessed, the change was deliberate. In older versions, all of the modules in the distro were indexed, but a number of them were 'support' modules intended for internal use only (they contained the data gathered from the various standards), and as such, there was no reason for them to be indexed. Recently, I learned how to exclude them, and that's what you saw. Anyway, thanks for the report. It required no work on my part, and I learned something new... the best kind of report!
One other note... When I excluded the data modules, for some reason, I overlooked one. It has now been corrected, but when I release 3.28 (anticipated Dec 2013), this last data module will be excluded, and this will occur again. At that point, I'll schedule 3.27 for deletion, and this should not occur in the future.