Filter by directories for a particular analyzer (more powerful path filters) |
|||
Issue descriptionSimilar to how the PathFilters filter based on extension, it would be nice if we could filter out certain paths (e.g. any code under third_party/ shouldn't be analyzed for our copyrights).
,
Apr 26 2018
I'd say it makes more sense for the filtering to happen outside the analyzer (if possible) -- since the service is manipulating the files, it's reasonable to assume that the analyzer should run on every file it receives. That sort of separation would also make it easier to change those filters (only modifying a config file, rather than having to touch the source).
,
Apr 26 2018
I think in the end it'll be a bit of both. We need at the very least coarse filtering at Tricium level so unneeded tasks are not triggered for no reason. But this doesn't preclude the analyzers themselves to also ensure they are running on the relevant files. So I wouldn't say that the analyzer always run on every files it receives, but it should receive mostly relevant files.
,
Jun 15 2018
,
Jun 15 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by qyears...@chromium.org
, Apr 26 2018Status: Available (was: Unconfirmed)
Summary: Filter by directories for a particular analyzer (more powerful path filters) (was: Filter by directories for a particular analyzer)