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:
Előd Illés 2022-02-14 12:35:37 +01:00
parent 0356a73c74
commit 909d616cf4
3 changed files with 2 additions and 12 deletions

View File

@ -29,7 +29,6 @@ import sys
import tempfile import tempfile
from openstack_governance import governance from openstack_governance import governance
import pyfiglet
import requests import requests
from openstack_releases import defaults from openstack_releases import defaults
@ -46,10 +45,6 @@ def header(title):
print('-' * len(title)) print('-' * len(title))
def banner(text):
pyfiglet.print_figlet(text, font='banner', width=120)
def git_show(workdir, repo, title, ref): def git_show(workdir, repo, title, ref):
header('%s %s' % (title, ref)) header('%s %s' % (title, ref))
cmd = ['git', 'log', '-n', '1', '--decorate', '--format=medium', ref] cmd = ['git', 'log', '-n', '1', '--decorate', '--format=medium', ref]
@ -294,14 +289,12 @@ def main():
if team_deliv: if team_deliv:
print('found deliverable %s' % deliv.name) print('found deliverable %s' % deliv.name)
for rn, repo in sorted(team_deliv.repositories.items()): for rn, repo in sorted(team_deliv.repositories.items()):
follows_stable_policy = 'stable:follows-policy' in repo.tags
print('\nrepo %s\ntags:' % repo.name) print('\nrepo %s\ntags:' % repo.name)
for t in repo.tags: for t in repo.tags:
print(' %s' % t) print(' %s' % t)
print('') print('')
if stable_branch and follows_stable_policy: if stable_branch:
banner('Needs Stable Policy Review') print('Deliverable is on stable branch')
print()
else: else:
print(('no deliverable %r found for team %r, ' print(('no deliverable %r found for team %r, '
'cannot report on governance status') % 'cannot report on governance status') %

View File

@ -134,7 +134,6 @@ def parse_requirements(body):
parawrap parawrap
reno>=2.0.0 reno>=2.0.0
sphinx>=1.6.2 sphinx>=1.6.2
pyfiglet>=0.7.5
[sphinxext] [sphinxext]
sphinx<1.6.1,>=1.5.1 sphinx<1.6.1,>=1.5.1

View File

@ -28,8 +28,6 @@ parawrap
reno>=3.2.0 reno>=3.2.0
sphinx>=1.6.2 # BSD sphinx>=1.6.2 # BSD
pyfiglet>=0.7.5
appdirs appdirs
packaging>=16.5 packaging>=16.5