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

Bug#501722: lintian: unused-override is emitted when an override exists for a check which is not -C <check>



On Fri, Oct 31, 2008 at 06:27:54AM +0000, Adam D. Barratt wrote:
> By way of some examples:
> 
> ocaml-compiler-libs
> -------------------
> 
> The package includes an override for
> copyright-should-refer-to-common-license-file-for-lgpl and lintian
> issues command-with-path-in-maintainer-script.
> 
> With "-C scripts" no unused override warning is issued, c-w-p-i-m-s is.
> With "-T command-with-path-in-maintainer-script" no unused override
> warning is issued, c-w-p-i-m-s is.
> 
> adduser
> -------
> 
> The package includes three unused overrides for
> maintainer-script-needs-depends-on-adduser and lintian issues a number
> of tags from the files and manpages check scripts.
> 
> With "-C scripts" the unused override warning is issued; with either "-C
> manpages" or "-C files" it is not.
> 
> With "-T maintainer-script-needs-depends-on-adduser" or "-T
> unused-override", no output is produced.

I personally think the "-T maintainer-script-needs-depends-on-adduser"
is the borderline case. Everything else seems "obviously correct".

> With "-T maintainer-script-needs-depends-on-adduser,unused-override" the
> unused overrides are flagged.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: