[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, 06 Aug 2008 12:40:26 -0700, Russ Allbery wrote:
Frank Lichtenheld <djpig@debian.org> writes:
On Wed, Aug 06, 2008 at 07:05:41AM +0100, Adam D. Barratt wrote:

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.

FWIW, my version could easily be changed to support that, too. I'm
indifferent to whether it should be, though.

I'm fairly sure Joerg is looking for limiting the issued tags to only
the ones specified in the tag file, regardless of which check scripts
are run.

Yeah, I was assuming the process would largely be:

if ! lintian --show-overrides --tags-from-file autorejecttags --fail-on-warnings >$tempfile 2>&1; then
   reject "Your package sucks! $(cat tempfile)"
fi

Although that doesn't require only running the checks scripts required for those tags, it seems logical not to run those for which the results will be entirely discarded - particularly where the script is longer-running.

Adam



Reply to: