Bug#706266: libperl-critic-perl: Programs w/o VERSION should not produce violation

Salvatore Bonaccorso carnil at debian.org
Sun Apr 28 06:16:10 UTC 2013


Control: forwarded -1 https://rt.cpan.org/Ticket/Display.html?id=84135

Hi Guillem

On Sat, Apr 27, 2013 at 02:47:07PM +0200, Guillem Jover wrote:
> The Policy::Modules::RequireVersionVar triggers even on programs (i.e.
> non-modules and non-libraries). This is very annoying because while
> VERSION on modules serve a purpose for the code using them on import,
> VERSION on programs is mostly documentation if at all, and just useless
> for things like test suites for example. That's one of the reasons I've
> had to disable this globally on dpkg for example, and I know other
> people do the same for the same reason. And I'd rather have it enabled
> for modules.
> 
> Here's a patch disabling the check for programs (which just requires
> either adding the extension to 'program-extensions' or adding a shebang
> to the scripts, things that are extremely reasonable), if that would
> not be acceptable to upstream, then I think at least this should be
> made configurable.

Thanks for the bugreport and the proposed patch. I added this further
to the upstream bugreport:

https://rt.cpan.org/Ticket/Display.html?id=84135

Regards,
Salvatore



More information about the pkg-perl-maintainers mailing list