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

This commit is contained in:
Zuul 2018-12-10 15:43:08 +00:00 committed by Gerrit Code Review
commit 3d228870f8
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(