add a note to readme about official teams

Direct folks not under governance to the infra guide for tagging
instructions.

Change-Id: I373ffb1cce71946a034b32be95884fc0f3f899fa
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-10-11 10:33:23 -04:00
parent a467622d66
commit 4e9f0aadbf
2 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Using This Repository
=======================
This repository is for tracking release requests for OpenStack
This repository is for tracking release requests for official OpenStack
projects. The releases are managed using groups of "deliverables",
made up of individual project repositories sharing a Launchpad group
and a version number history. Many deliverables will only have one
@ -16,3 +16,7 @@ The repository is managed by the `Release Management team
Refer to `the reference documentation
<https://releases.openstack.org/reference/>`_ for more details
Deliverables managed by teams not under OpenStack governance should
follow the `tagging instructions in the infra manual
<https://docs.openstack.org/infra/manual/drivers.html#tagging-a-release>`__.

View File

@ -470,8 +470,11 @@ def validate_bugtracker(deliv, context):
def validate_team(deliv, context):
"Look for the team name in the governance data."
if deliv.team not in context.team_data:
context.warning('Team %r not in governance data' %
deliv.team)
context.warning(
'Team {} not in governance data. '
'Only official teams should use this repository '
'for managing releases. See README.rst for details.'.format(
deliv.team))
else:
print('owned by team {}'.format(deliv.team))