Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • opal/security-tracker
  • tsimonq2/security-tracker
  • hoexter/security-tracker
  • Maytha8/security-tracker
  • bytehackr/security-tracker
  • StCyr-guest/security-tracker
  • sten/security-tracker
  • reiner/security-tracker
  • zani0x03/security-tracker
  • capitol/security-tracker
  • cjwatson/security-tracker
  • joshbressers/security-tracker
  • rouca/security-tracker
  • jspricke/security-tracker
  • paravoid/security-tracker
  • otto/security-tracker
  • Seb35/security-tracker
  • mbehrle/security-tracker
  • jbicha/security-tracker
  • bluca/security-tracker
  • amurray-guest/security-tracker
  • tachi/security-tracker
  • colorfulshark/security-tracker
  • wouter/security-tracker
  • roehling/security-tracker
  • henrich/security-tracker
  • mpitt/security-tracker
  • beuc/security-tracker
  • istiak101/security-tracker
  • stavrovskaya/security-tracker
  • noahm/security-tracker
  • dannf/security-tracker
  • ralight/security-tracker
  • siretart/security-tracker
  • smcv/security-tracker
  • carlespina/security-tracker
  • tianon/security-tracker
  • Goldszeft/security-tracker
  • felixonmars/security-tracker
  • Lea/security-tracker
  • jscott/security-tracker
  • security-tracker-team/security-tracker
  • pochu/security-tracker
  • sthibault/security-tracker
  • carnil/security-tracker
  • anarcat/security-tracker
  • bam/security-tracker
  • jcristau/security-tracker
  • finn02-guest/security-tracker
  • dlange/security-tracker
  • rrs/security-tracker
  • jeremiah/security-tracker
  • litvinov-guest/security-tracker
  • jaskaransingh-guest/security-tracker
  • santiago/security-tracker
  • sunweaver/security-tracker
  • sergio-guest/security-tracker
  • pabs/security-tracker
58 results
Show changes
Commits on Source (3)
......@@ -24,11 +24,14 @@ from unsupported_packages import UnsupportedPackages, LimitedSupportPackages
def colored(x, *args, **kwargs):
return x
colored_on = False
try:
if sys.stdout.isatty():
from termcolor import colored
colored_on = True
except ImportError:
print("Note: you can install python-termcolor for colored output")
pass
TRACKER_URL = 'https://security-tracker.debian.org/tracker/'
......@@ -149,12 +152,15 @@ for key, desc in LIST_NAMES:
continue
print('\n{}:'.format(colored(desc, attrs=('bold',))))
for pkg in sorted(lists[key].keys()):
print('\n* {:<35s} {}'.format(
formatstring = '\n* {:<18s} {}'
if colored_on:
formatstring = '\n* {:<35s} {}'
print(formatstring.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 = '{}{}'.format(TRACKER_URL, x.name)
print(' - {:<16s} {}'.format(x.name, colored(url, 'blue')))
print(' - {:<16s} {} {}'.format(x.name, colored(url, 'blue'), (key == 'unexpected_nodsa' and x.data['releases'][RELEASES['lts']]['nodsa_reason'] or '')))
print('')