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

Guillem Jover guillem at debian.org
Sat Apr 27 12:47:07 UTC 2013


Package: libperl-critic-perl
Version: 1.118-1
Severity: normal
Tags: patch

Hi!

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,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-trigger-Policy-Modules-RequireVersionVar-on-p.patch
Type: text/x-diff
Size: 1503 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130427/ec65488a/attachment.patch>


More information about the pkg-perl-maintainers mailing list