[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#908350: lintian: wrong-path-for-interpreter needs updating to match policy 4.2.1



tags 908350 + moreinfo
thanks

Hi David,

> Since policy downgraded the "must" quoted by this tag to a "should",
> at least the text of the tag should change. Maybe perl folk have suggestions?

Happy to wait until the Perl folk chime in (hence moreinfo), but how
about just:

  --- a/checks/scripts.desc
  +++ b/checks/scripts.desc
  @@ -198,7 +198,7 @@
    .
    Note that, as a special exception, Debian Policy § 10.4 states that
  - Perl scripts must use <tt>/usr/bin/perl</tt> directly and not
  + Perl scripts should use <tt>/usr/bin/perl</tt> directly and not
    <tt>/usr/bin/env</tt>, etc.
   
> Also, should it still be an error? Are those only for musts?

Severities are per-tag so a rather ugly separate Perl-specific tag
would be required for this given that we surely want to loudly if
someone uses #!/usr/local/bin/python3 or similar.

(Saying that, I personally think people too much weight into the
difference between severities — parallel to critical vs grave BTS
"severity wars" — but that might be a losing quixotic battle of
mine.)


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: