Here's another example, I think.  Hopefully it's not inconceivable --
though slightly contrived

* CPAN Reporter requires ExtUtils::MakeMaker 6.36
* Someone smokes CPAN::Reporter on Perl 5.005
* Smoker attempts to install ExtUtils::MakeMaker 6.42, which is Perl
5.006 minimum
* ExtUtils::MakeMaker 6.42 is graded NA

In this case, should CPAN::Reporter be graded NA as well?  It only
requires EU::MM 6.36 -- which will install just fine on 5.005.  Yes,
an automated install attempt from CPAN won't succeed -- but the
prerequisite was never satisfied to even check if CPAN::Reporter would
test successfully.  If someone happened to have EU::MM 6.36 installed,
then CPAN::Reporter would have been given a PASS grade.

So if NA is supposed to mean "does not run/will never pass on this
perl or platform", it doesn't make sense to have both PASS and NA
grades possible on the same perl and platform.

Therefore, I think a better approach is just to restrict NA grades to
what each individual distribution gets, and discard/abort the report
if prerequisites are not satisfied.

(Am I pursuading anyone yet?  ;-)

David

Reply via email to