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

Bug#817068: Wildcard in overrides no longer appears to work mid-string



Hi Thomas!

* Thomas Friedrichsmeier <thomas.friedrichsmeier@ruhr-uni-bochum.de>, 2016-03-07, 21:07:
Trying to overrides some source-is-missing false-positives in package rkward, I note that wildcard matching no longer appears to work at start or mid of string. I'm trying to override source is missing for

 E: rkward source: source-is-missing rkward/plugins/plots/box_plot.js
 line length is 257 characters (>256)
 E: rkward source: source-is-missing
 rkward/plugins/analysis/power/Poweranalysis.js line length is 538
 characters (>512)

(Note: The heuristics underlying source-is-missing have seen a number of changes, apparently. Other versions have been flagging more .js files in rkward).

I would expect the following three override variants to all do the trick, but only variant 3 overrides, successfully:

1)
rkward source: source-is-missing *.js
2)
rkward source: source-is-missing rkward/plugins/*.js
3)
rkward source: source-is-missing rkward/plugins/*

Variant 2 used to work with some earlier version of lintian, current around December 2015. I never used Variant 1 except for testing.

The tag info doesn't end with ".js", but with "line length is $X characters (>$Y)"; so it's not surprising that the first two variants don't work.

That said, I don't think this "line length ..." part is helpful to users, so I'd be in favor of removing it.

--
Jakub Wilk


Reply to: