summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAnton Gladky <gladk@debian.org>2022-04-21 08:23:59 +0200
committerAnton Gladky <gladk@debian.org>2022-04-21 08:23:59 +0200
commit3fceb4e21a287674f166442ed8f5e563010710ff (patch)
tree110fe719397f648b7fbf91bb910d6898b29863d1 /bin
parent47b285f8d075e37eb3425d7de91cdacfa395ba68 (diff)
LTS: triage asterisk
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lts-cve-triage.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py
index bda1606819..05ec383b0b 100755
--- a/bin/lts-cve-triage.py
+++ b/bin/lts-cve-triage.py
@@ -64,6 +64,9 @@ LIST_NAMES = (
('triage_possible_easy_fixes',
('Issues not yet triaged for {lts}, but already fixed in {next_lts}')
.format(**RELEASES)),
+ ('triage_possible_missed_fixes',
+ ('Issues postponed for {lts}, but fixed in {next_lts} via DSA or point releases')
+ .format(**RELEASES)),
('triage_other_not_triaged_in_next_lts',
('Other issues to triage for {lts} (not yet triaged for {next_lts})')
.format(**RELEASES)),
@@ -153,11 +156,20 @@ for pkg in tracker.iterate_packages():
if status_in_next_lts.status == 'resolved':
add_to_list('possible_easy_fixes', pkg, issue)
-
+ # <no-dsa>/<postponed>/<ignored>/<unimportant>/<undetermined>
elif status_in_lts.status == 'ignored':
if (status_in_lts.reason == 'no-dsa' and
status_in_next_lts.status == 'open'):
add_to_list('unexpected_nodsa', pkg, issue)
+ elif (status_in_lts.reason == 'no-dsa' and
+ status_in_next_lts.status == 'resolved'):
+ # include fixes from DSA or stable/oldstable point releases
+ # exclude issues explicitly ignored, and old fixes back in unstable
+ nodsa_reason = issue.data['releases'][RELEASES['lts']]['nodsa_reason']
+ fixed_version = issue.data['releases'][RELEASES['next_lts']]['fixed_version']
+ if (nodsa_reason != 'ignored' and
+ ('~deb' in fixed_version or '+deb' in fixed_version)):
+ add_to_list('triage_possible_missed_fixes', pkg, issue)
elif status_in_lts.reason == 'undetermined':
add_to_list('undetermined', pkg, issue)

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