Codesearch: Ignore dead repos

Ignore all dead repos that are in openstack-attic and stackforge
namespaces - including stackforge-attic.

Codesearch does not need to index and show these as they are dead.

Change-Id: Ie752399791ac1b650045516acb038f7313a182db
This commit is contained in:
Andreas Jaeger 2017-03-16 18:31:38 +01:00
parent 0f7ddd95cf
commit f18b06f54d
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ def main():
projects = [entry['project'] for entry in registry.configs_list]
repos = {}
for project in projects:
# Ignore attic and stackforge, those are repos that are not
# active anymore.
if project.startswith(['openstack-attic', 'stackforge']):
continue
basename = os.path.basename(project)
# ignore deb- projects that are forks of other projects intended for
# internal debian packaging needs only and are generally not of