add a house rule for the release-management key in projects.yaml

The release-management metadata for a project is managed by the release
team. This change applies the same delegation rules that we use for the
delegated tags that the stable and VMT teams use.

Change-Id: Ib47f9c569376ef13267342a47600b53007213fb9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-12-05 09:55:59 -05:00
parent 92c03a9fee
commit 553d9ff9dd
2 changed files with 10 additions and 1 deletions

View File

@ -33,6 +33,13 @@ or :ref:`tag-vulnerability:managed`. Those need to get approved by the
corresponding team PTL, and can be directly approved by the chair once this
approval is given.
Delegated metadata
------------------
The ``release-management`` setting for a deliverable is delegated to
the PTL of the Release Management team. When proposed or approved by
the PTL, changes can be directly approved by the chair.
Other project team updates
--------------------------

View File

@ -289,8 +289,9 @@ def get_one_status(change, delegates):
else:
can_approve = 'YES'
elif topic in ('stable:follows-policy', 'vulnerability:managed'):
elif topic in delegates.keys():
# https://governance.openstack.org/tc/reference/house-rules.html#delegated-tags
# https://governance.openstack.org/tc/reference/house-rules.html#delegated-metadata
approver_name = delegates[topic]
can_approve = 'delegated to {}'.format(approver_name)
if has_approved(approver_name, change):
@ -366,6 +367,7 @@ def main():
delegates = {
'stable:follows-policy': 'Tony Breeds',
'vulnerability:managed': 'VMT',
'release-management': 'Sean McGinnis',
}
status = sorted(