[EMAIL PROTECTED] (Andreas J. Koenig) writes:

> >>>>> On Sat, 12 Apr 2008 08:27:30 -0400, "David Golden" <[EMAIL PROTECTED]> 
> >>>>> said:
> 
>  >> Maybe a perliminary solution would be some sort of heuristics for
>  >> CPAN::Reporter or CPAN.pm: if the result is "PL FAIL" and no YAML
>  >> module is installed (i.e. $CPAN::META->has_inst($yaml_module) returns
>  >> false) and there's a META.yml available in the distribution and it
>  >> contains the string "configure_requires" (not parsing it, just doing a
>  >> grep), then DISCARD the report.
> 
>   > I cringe in horror at the thought -- but concede that you're probably
>   > right.  Putting it in the "bug" section of the Todo list now.
> 
> I do not think it's a bug in CPAN::Reporter, it is in CPAN.pm.
> 
> I think CPAN.pm *must* (sort of) refuse to build a module when it
> 
> - has a META.yml containing the string configure_requires and the perl
> - has no YAML processing module
> 

I disagree. The presence of configure_requires does not mean that
anything must be done at all. It is possible that the user already has
the required modules installed, or that he is able to install it
manually (if he's a human).

Please keep in mind that CPAN.pm is primarily a helper tool for
installing modules, not for automated testing.

Regards,
    Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de
  BBBike - route planner for cyclists in Berlin
  WWW version:                           http://www.bbbike.de
  Perl/Tk version for Unix and Windows:  http://bbbike.sourceforge.net

Reply via email to