Verified Commit 702f6d1a authored by Max Rees's avatar Max Rees
Browse files

build_db: prune also subpackages of ignored packages

parent 197c7c28
......@@ -90,6 +90,12 @@ def pull_indices(conf, version):
if new.name in ignore:
logging.info("Ignoring %r", new.name)
continue
if new.origin in ignore:
logging.info(
"Pruning %r from ignored origin %r",
new.name, new.origin,
)
continue
new.repo = repo
pkg_newest(all_pkgs, new)
pkg_newest(pkgs[arch], new)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment