Merge "Make retired acl check less greedy"
This commit is contained in:
commit
d7e5278ae9
|
@ -61,7 +61,7 @@ def main():
|
|||
'DEFAULT_ORG is set.' % project)
|
||||
(org, name) = (DEFAULT_ORG, project)
|
||||
description = entry.get('description', name)
|
||||
retired = entry.get('acl-config', '').endswith('retired.config')
|
||||
retired = entry.get('acl-config', '').endswith('/retired.config')
|
||||
assert project not in names
|
||||
names.add(project)
|
||||
gitorgs.setdefault(org, []).append((name, description, retired))
|
||||
|
|
|
@ -31,7 +31,7 @@ GIT_PROTOCOL = os.environ.get('GIT_PROTOCOL', 'git://')
|
|||
def main():
|
||||
registry = u.ProjectsRegistry(PROJECTS_YAML)
|
||||
projects = [entry['project'] for entry in registry.configs_list
|
||||
if not entry.get('acl-config', '').endswith('retired.config')]
|
||||
if not entry.get('acl-config', '').endswith('/retired.config')]
|
||||
repos = {}
|
||||
for project in projects:
|
||||
# Ignore attic and stackforge, those are repos that are not
|
||||
|
|
Loading…
Reference in New Issue