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

Bug#493903: lintian: please provide a way of limiting the checks run by lintian based on tags



On Wed, 2008-08-06 at 02:05 +0100, Adam D. Barratt wrote:
> Hi,
> 
> On Tue, 2008-08-05 at 21:40 +0200, Joerg Jaspert wrote:
> > please provide a way to limit the checks that get run by providing an
> > input file listing tags, one per line.
> 
> I've attached a first-pass patch implementing a "--tags-file" option. It
> only runs those checks which are necessary to test the tags specified in
> the file; all of the tags in the relevant checks will still be run, as
> not doing so is a rather larger change to lintian's internals. :-)
> 
> The patch is lacking in documentation, commenting, etc., but it is
> functional and I wanted to give people an opportunity to yell if there
> was anything they didn't like in the approach.

It looks like Frank and I were both working on this at the same time;
Frank's now committed his (better integrated) version.

The main difference afaics is that one version quietens the emitting of
tags unless one explicitly asked for them, whereas the other potentially
raises all tags from the checks scripts containing the requested tags;
I'm not sure which is the best approach at the moment.

Adam



Reply to: