Remove stable:follows-policy tag banner
TC tags framework is discontinued [1], so the banner is not needed anymore in our list-changes command as it won't be triggered. [1] http://lists.openstack.org/pipermail/openstack-discuss/2022-February/027214.html Change-Id: Iff26be4cc1701bf31a1030c10fce0b2486da3e85
This commit is contained in:
parent
0356a73c74
commit
909d616cf4
@ -29,7 +29,6 @@ import sys
|
||||
import tempfile
|
||||
|
||||
from openstack_governance import governance
|
||||
import pyfiglet
|
||||
import requests
|
||||
|
||||
from openstack_releases import defaults
|
||||
@ -46,10 +45,6 @@ def header(title):
|
||||
print('-' * len(title))
|
||||
|
||||
|
||||
def banner(text):
|
||||
pyfiglet.print_figlet(text, font='banner', width=120)
|
||||
|
||||
|
||||
def git_show(workdir, repo, title, ref):
|
||||
header('%s %s' % (title, ref))
|
||||
cmd = ['git', 'log', '-n', '1', '--decorate', '--format=medium', ref]
|
||||
@ -294,14 +289,12 @@ def main():
|
||||
if team_deliv:
|
||||
print('found deliverable %s' % deliv.name)
|
||||
for rn, repo in sorted(team_deliv.repositories.items()):
|
||||
follows_stable_policy = 'stable:follows-policy' in repo.tags
|
||||
print('\nrepo %s\ntags:' % repo.name)
|
||||
for t in repo.tags:
|
||||
print(' %s' % t)
|
||||
print('')
|
||||
if stable_branch and follows_stable_policy:
|
||||
banner('Needs Stable Policy Review')
|
||||
print()
|
||||
if stable_branch:
|
||||
print('Deliverable is on stable branch')
|
||||
else:
|
||||
print(('no deliverable %r found for team %r, '
|
||||
'cannot report on governance status') %
|
||||
|
@ -134,7 +134,6 @@ def parse_requirements(body):
|
||||
parawrap
|
||||
reno>=2.0.0
|
||||
sphinx>=1.6.2
|
||||
pyfiglet>=0.7.5
|
||||
|
||||
[sphinxext]
|
||||
sphinx<1.6.1,>=1.5.1
|
||||
|
@ -28,8 +28,6 @@ parawrap
|
||||
reno>=3.2.0
|
||||
sphinx>=1.6.2 # BSD
|
||||
|
||||
pyfiglet>=0.7.5
|
||||
|
||||
appdirs
|
||||
packaging>=16.5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user