Which Kwalitee test?

Generally, as author of OSPrereqs and curator of the CPAN::Meta::Spec, my
opinion is that any tool that draws conclusions about prerequisites in
META.yml/json is doing it wrong unless the "dynamic_prereqs" field in META
is *present* and *false*.  (Note that OSPrereqs sets it true
<https://metacpan.org/source/DAGOLDEN/Dist-Zilla-Plugin-OSPrereqs-0.007/lib/Dist/Zilla/Plugin/OSPrereqs.pm#L147>
.)

That said, many tools (such as cpandeps) give pretty good results doing it
wrong.  But a Kwalitee test about prereqs in META should not flag a
distribution that has dynamic dependencies.  I would complain to the
Kwalitee test author or else just ignore it.

David


On Mon, Jun 6, 2016 at 11:15 AM, Alceu R. de Freitas Jr. <
cpan-testers-discuss@perl.org> wrote:

> Hello to all,
>
> I have a distribution on CPAN (Siebel::Srvrmgr) that uses Dist::Zilla.
> Some modules requirements are dependent of the OS where the distribution is
> installed. I'm controlling that with the plug-in OSPrereqs.
>
> All seems to be working fine except it is generating an issue with
> kwalitee test. A test from it is expecting to have all the prereqs
> declared in the META.yml file, but OSPrereqs is not generating them there,
> although the are (conditionally) considered in the Makefile.PL.
>
> I wonder if this is a bug of OSPrereqs Dist::Zilla plug-in, a problem in
> the standard or the kwalitee test itself.
>
> If there is any documentation that you can point me to I would appreciate.
>
> Thanks,
>
> Alceu
>
>


-- 
David Golden <x...@xdg.me> Twitter/IRC/Github: @xdg

Reply via email to