Blacklist the libs section from package imports
Libraries never produce useful screenshots. Excluding by Debian archive section instead of a lib* name pattern keeps applications with lib-prefixed names (libreoffice, librecad, ...) importable. With REMOVE_BLACKLISTED_PACKAGE set, the next import also removes previously imported libs-section packages and their screenshots.
This commit is contained in:
parent
0aebb74b9b
commit
e3dff44f73
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@ BLACKLIST_SECTION_PATTERN = [
|
||||||
%r{/?oldlibs$},
|
%r{/?oldlibs$},
|
||||||
%r{/?libdevel$},
|
%r{/?libdevel$},
|
||||||
%r{/?cli-mono$},
|
%r{/?cli-mono$},
|
||||||
|
# Libraries never make useful screenshots - and unlike a "lib*" name
|
||||||
|
# pattern this does not hit applications like libreoffice (editors)
|
||||||
|
# or librecad (graphics)
|
||||||
|
%r{/?libs$},
|
||||||
]
|
]
|
||||||
|
|
||||||
# Whether to delete a blacklisted package from the database
|
# Whether to delete a blacklisted package from the database
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue