Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
security-tracker
Manage
Activity
Members
Labels
Plan
Issues
11
Issue boards
Milestones
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Security Tracker
security-tracker
Compare revisions
c876fd2de82766361ea985990f9964084e9f3418 to d9e8c731999bb4306696b76439c2a420d84b5254
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
security-tracker-team/security-tracker
Select target project
No results found
d9e8c731999bb4306696b76439c2a420d84b5254
Select Git revision
Swap
Target
security-tracker-team/security-tracker
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
c876fd2de82766361ea985990f9964084e9f3418
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
lts-cve-triage: display lts' nodsa sub-state
· 2437a255
Sylvain Beucler
authored
5 years ago
2437a255
lts-cve-triage: hint that color output is available
· b8b0b9b3
Sylvain Beucler
authored
5 years ago
b8b0b9b3
lts-cve-triage: fix formatting with no-colors output
· d9e8c731
Sylvain Beucler
authored
5 years ago
d9e8c731
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/lts-cve-triage.py
+8
-2
8 additions, 2 deletions
bin/lts-cve-triage.py
with
8 additions
and
2 deletions
bin/lts-cve-triage.py
View file @
d9e8c731
...
...
@@ -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
(
''
)
This diff is collapsed.
Click to expand it.