Don't include retired projects for codesearch
They just take up extra space. Change-Id: I105519f577cefac207743bcbc9bfc096798e4dff
This commit is contained in:
parent
0db52843ed
commit
861bff7163
|
@ -30,7 +30,8 @@ GIT_PROTOCOL = os.environ.get('GIT_PROTOCOL', 'git://')
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
registry = u.ProjectsRegistry(PROJECTS_YAML)
|
registry = u.ProjectsRegistry(PROJECTS_YAML)
|
||||||
projects = [entry['project'] for entry in registry.configs_list]
|
projects = [entry['project'] for entry in registry.configs_list
|
||||||
|
if not entry.get('acl-config', '').endswith('retired.config')]
|
||||||
repos = {}
|
repos = {}
|
||||||
for project in projects:
|
for project in projects:
|
||||||
# Ignore attic and stackforge, those are repos that are not
|
# Ignore attic and stackforge, those are repos that are not
|
||||||
|
|
Loading…
Reference in New Issue