[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, 2008-10-31 at 15:33 +0100, Frank Lichtenheld wrote:
> On Fri, Oct 31, 2008 at 06:27:54AM +0000, Adam D. Barratt wrote:
[...]
> > 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".

I debated that one for a while myself, but in the end came to the
conclusion that -T means "only issue the listed tags, albeit whilst
performing checks which would normally issue other tags"; on that basis,
as checking adduser no longer issues
maintainer-script-needs-depends-on-adduser asking lintian to only issue
that tag should do exactly that (imho, obviously).

Adam



Reply to: