Implementation of a directory filter for the scanner
Related: T2336
Differential D2989
scanner: exclusion list through glob patterns Authored by DanSeraf on Apr 9 2020, 1:05 PM.
Details
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D2989 (id=10628)Rebasing onto 62be9f10d4... Current branch diff-target is up to date. Changes applied before testcommit e6adcb9642f9ca7609bbb607cd1331e5a164fd9a
Author: Daniele Serafini <me@danieleserafini.eu>
Date: Thu Apr 9 12:50:19 2020 +0200
exclusion list through glob patternsSee https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/5/ for more details. Comment Actions Instead of building the set of all paths to exclude (possibly very large), I think you should pass patterns to directory_filter and use [[ https://docs.python.org/3/library/fnmatch.html | fnmatch ]] there
Comment Actions I did not follow at all the diff. Still, i think you need a bump on swh-model to actually use D2960. Cheers, Comment Actions
it's built so it's fine now ;) Comment Actions
Comment Actions Build is green Patch application report for D2989 (id=10682)Rebasing onto 62be9f10d4... Current branch diff-target is up to date. Changes applied before testcommit 33e2334ea68e66d5150ea4204438bae1bc3eed00
Author: Daniele Serafini <me@danieleserafini.eu>
Date: Fri Apr 10 15:49:48 2020 +0200
requirements-swh: swh.model version >= 0.0.65
commit fac0715e9d58117549e4e0cfcf72cbf6ed3d4a04
Author: Daniele Serafini <me@danieleserafini.eu>
Date: Thu Apr 9 12:50:19 2020 +0200
exclusion list through glob patternsSee https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/6/ for more details.
Comment Actions Build is green Patch application report for D2989 (id=10746)Rebasing onto 62be9f10d4... Current branch diff-target is up to date. Changes applied before testcommit f19bda6c2c1dcde706cca328b6d14ec996cacaad
Author: Daniele Serafini <me@danieleserafini.eu>
Date: Fri Apr 10 15:49:48 2020 +0200
requirements-swh: swh.model version >= 0.0.64
commit e9b593d3472b52f314b87f961cb8c30edb2fefa3
Author: Daniele Serafini <me@danieleserafini.eu>
Date: Thu Apr 9 12:50:19 2020 +0200
exclusion list through glob patternsSee https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/7/ for more details.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||