have list-changes show information about other deliverables in the series
We had a few teams "forget" about one or more of their deliverables during rocky. Let's update the list-changes output to show the other deliverables owned by a team in a series, along with their latest version, as a way to prompt the release team to remind the project team to release those other things. Change-Id: I79c8c0ee591d557c07c46282da1f7ab14ec6290c Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
6a6f1a267e
commit
131bd356cc
@ -247,6 +247,11 @@ def main():
|
||||
for r in governance.get_repositories(team_data)
|
||||
)
|
||||
|
||||
all_deliverables = deliverable.Deliverables(
|
||||
'./deliverables',
|
||||
False,
|
||||
)
|
||||
|
||||
# Remove any inherited PAGER environment variable to avoid
|
||||
# blocking the output waiting for input.
|
||||
os.environ['PAGER'] = ''
|
||||
@ -290,6 +295,17 @@ def main():
|
||||
print(('no deliverable %r found for team %r, '
|
||||
'cannot report on governance status') %
|
||||
(deliv.name, team_name))
|
||||
if not deliv.is_independent:
|
||||
# Show other deliverables owned by the team and
|
||||
# included in this series.
|
||||
team_deliv_in_series = all_deliverables.get_deliverables(
|
||||
team.name, deliv.series)
|
||||
if team_deliv_in_series:
|
||||
print('Other {} deliverables in {}:'.format(
|
||||
team.name, deliv.series))
|
||||
for d in team_deliv_in_series:
|
||||
print(' {} ({})'.format(d.name, d.latest_release or None))
|
||||
print()
|
||||
else:
|
||||
print('no team %r found, cannot report on governance status' %
|
||||
team_name)
|
||||
|
Loading…
Reference in New Issue
Block a user