skip list-changes for retired repositories
Change-Id: Iba1deb443e89e5b5ca3f3e2b58d9e4121d4226d6 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
c69d3b5fc8
commit
f2f6d19d4c
@ -317,6 +317,8 @@ def main():
|
||||
for r in deliverable_info['releases']
|
||||
}
|
||||
|
||||
repository_settings = deliverable_info.get('repository-settings', {})
|
||||
|
||||
for project in new_release['projects']:
|
||||
|
||||
tag_exists = gitutils.tag_exists(
|
||||
@ -330,6 +332,14 @@ def main():
|
||||
print('skipping further processing')
|
||||
continue
|
||||
|
||||
project_settings = repository_settings.get(project['repo'], {})
|
||||
flags = project_settings.get('flags', {})
|
||||
if 'retired' in flags:
|
||||
print('%s is retired' % (project['repo'],))
|
||||
if args.shortcut:
|
||||
print('skipping further processing')
|
||||
continue
|
||||
|
||||
# Start by checking out master, always. We need the repo
|
||||
# checked out before we can tell if the stable branch
|
||||
# really exists.
|
||||
|
Loading…
x
Reference in New Issue
Block a user