On Mon, Sep 29, 2008 at 5:31 AM, Barbie <[EMAIL PROTECTED]> wrote:
> Over the last couple of months, I haven't been checking the verification
> log file, but have just started to go through it and noticed several
> instances where .ppm files have been tested by testers. The most popular
> one is 'Class-Prototyped'. These files are considered binary packages
> and are only for the PPM installer, NOT CPAN or CPANPLUS. There is an
> associated source tarball uploaded to CPAN, which should and is tested.
>
> All those who have been testing these packages appear to be using
> CPAN-Reporter, so either your configuration needs updating, or perhaps
> there is somewhere in CPAN-Reporter that isn't matching the
> distributions correctly.
It's actually something a bit odd about Class-Prototyped (and also
Win32-Security by the same author).
$ find . -iname "*.ppm*"
./id/T/TE/TEVERETT/Class-Prototyped-1.11.ppm.zip
./id/T/TE/TEVERETT/Win32-Security-0.50.ppm.zip
Because these have a ".zip" extension, they look like a distribution
to the heuristics in CPAN::Reporter::Smoker (and CPAN::Mini::Devel
from which the heuristics derive). Even the regex you suggest
wouldn't exclude it.
And since a PPM happens to be zip format anyway, CPAN is able to unzip
it into a directory and proceed to try to build/test it. And since
CPAN::Reporter::Smoker tests all of CPAN from latest to oldest,
eventually it hits it.
The immediate fix is to C::R::Smoker, but CPAN.pm should probably be
patched as well. I'll do the first now, but Andreas is freezing
CPAN.pm for the 1.93 release so I'll have to get to that later.
David