Update groups maint script

Update the infra group maintenance script for the most recent
governance projects.yaml changes.

Change-Id: I7dffbcd4467572b2e99ed41cbee000baae2d332d
This commit is contained in:
James E. Blair 2015-09-15 07:49:17 -07:00
parent bf41610938
commit 4cafe31b17

View File

@ -152,7 +152,9 @@ def main():
gerrit = Gerrit(gconfig['url'], gconfig['username'], gconfig['password'])
pyaml = yaml.load(requests.get(PROJECTS_YAML, stream=True).raw)
projects = [x['repo'] for x in pyaml['Infrastructure']['projects']]
projects = []
for deliverable in pyaml['Infrastructure']['deliverables'].values():
projects += deliverable['repos']
core_groups = ['infra-core']
for project in projects: