Remove the tags framework (part 1)

This change enacts the first steps of the TC's decision to remove
the tags framework. [1]

This change does not remove all the parts to avoid breaking
the releases tooling as well as to preserve useful information
as discussed under this change and during one of the TC meetings.
[2]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-October/025554.html
[2] https://meetings.opendev.org/meetings/tc/2022/tc.2022-01-20-15.00.log.html

Change-Id: Iab4a136905a9c7a61530ff7576a216d229f717a0
This commit is contained in:
Radosław Piliszek
2021-12-24 10:38:02 +00:00
parent f272a40df0
commit b7f45e2266
25 changed files with 36 additions and 1122 deletions

View File

@@ -1,33 +0,0 @@
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import abc
import six
@six.add_metaclass(abc.ABCMeta)
class ValidatorBase(object):
@staticmethod
@abc.abstractmethod
def get_tag_name():
"""Return tag name."""
return
@staticmethod
@abc.abstractmethod
def validate(name):
"""Return True if name should have the tag.
Where name can be a team or repo
"""
return

View File

@@ -337,7 +337,6 @@ def get_one_status(change, delegates, tc_members):
can_approve = 'CAN APPROVE'
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)
@@ -449,8 +448,6 @@ def main():
release_team = gov.get_team('Release Management')
delegates = {
'stable:follows-policy': 'Tony Breeds',
'vulnerability:managed': 'VMT',
'release-management': release_team.ptl['name'],
}
for tag, name in sorted(delegates.items()):