summaryrefslogtreecommitdiffstats
path: root/bin/lts-cve-triage.py
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2017-08-31 09:17:42 +0000
committerRaphaël Hertzog <hertzog@debian.org>2017-08-31 09:17:42 +0000
commitb8edbdcf3f664a6f10cf3bd42975fdc5e23698c0 (patch)
tree664774c4a441c246dcd67b3f7474bcac574e9014 /bin/lts-cve-triage.py
parent3cd4cd896c90a011faffa323b6ecfabf95cded87 (diff)
Print source package URL as well and try to align URLs
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@55296 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/lts-cve-triage.py')
-rwxr-xr-xbin/lts-cve-triage.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py
index b23b714544..7ac5c39a1f 100755
--- a/bin/lts-cve-triage.py
+++ b/bin/lts-cve-triage.py
@@ -31,6 +31,8 @@ try:
except ImportError:
pass
+TRACKER_URL = 'https://security-tracker.debian.org/tracker/'
+
LIST_NAMES = (
('triage_end_of_life',
'Issues to mark as <end-of-life> for {lts}'.format(**RELEASES)),
@@ -147,12 +149,12 @@ for key, desc in LIST_NAMES:
continue
print('\n{}:'.format(colored(desc, attrs=('bold',))))
for pkg in sorted(lists[key].keys()):
- print('\n* {:20s}'.format(
+ print('\n* {:<35s} {}'.format(
colored(pkg, 'red', attrs=('bold', 'underline')),
+ colored('{}source-package/{}'.format(TRACKER_URL, pkg), 'blue'),
))
for x in sorted(lists[key][pkg], key=lambda x: x.name):
- url = 'https://security-tracker.debian.org/tracker/{}'. \
- format(x.name)
- print(' - {} {}'.format(x.name, colored(url, 'blue')))
+ url = '{}{}'.format(TRACKER_URL, x.name)
+ print(' - {:<16s} {}'.format(x.name, colored(url, 'blue')))
print('')

© 2014-2024 Faster IT GmbH | imprint | privacy policy