Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • From 'importtestresults.pl' I see that only dists with 'PASS' are imported in. This means that dists with external prereqs (for ex. XML::Parser - it requires expat with header files), dists with problems of prerers (for ex. current version of prereq does not work on this version of perl) are not included.

    • The whole point is that we know all the modules listed work. It would be silly to import all the failure reports as well, only to ignore them!

      As it happens, various incarnations of the XML-Parser distribution have passed their tests on 23 different versions of perl. As one of them is perl 5.6.2, then XML::Parser will be in the list. Sure, you need an external C library. Not only can we not detect that, but it would be silly to exclude everything that has a non-perl dependency. If we were to do that we'd have to exclude WIn32::* because they depend on Windows, which lots of people don't have!

      The issue with pre-reqs is a problem, but one that a perl version-specific mirror can over time, help with. Let's assume that DBIx::Garbleflux is released today, requires DBI, but isn't fussy about what version. Normally, it would never even get tested on 5.6.2, because the testers' CPAN.pm can't automatically retrieve a working version of DBI. But if the tester's perl is pointing at my 5.6.2-specific mirror, then it can! The shiny new untested DBIx::Garbleflux is available to test, as A/AU/AUTHORID/DBI-Garbleflux-1.0.tar.gz, from my mirror (which is simply a BackPAN with an index layered on top) so testers' machines will attempt to install it. CPAN.pm will see that there's a dependency on DBI - the module called DBI, not any particular distribution of DBI - and look it up in the index. The index will tell it to download and install T/TI/TIMB/DBI-1.604.tar.gz (the last version of DBI to pass its tests of 5.6.2) and so the shiny new DBI::Garbleflux will magically get tested with the right rusty old versions of its pre-requisites, and (provided that the author got everything right) a test PASS will be reported, which will eventually get back to the CPXXXAN and thus the module will be available to normal users of obsolete perl.