From d2b62c39858243ce8ef1109fe130c27c2b7911d6 Mon Sep 17 00:00:00 2001 From: Sylvain Beucler Date: Thu, 21 Apr 2022 17:06:08 +0200 Subject: lts-cve-triage: triage_possible_missed_fixes: skip packages already in dla-needed --- bin/lts-cve-triage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py index 6590f975a5..d92163dc7d 100755 --- a/bin/lts-cve-triage.py +++ b/bin/lts-cve-triage.py @@ -157,13 +157,14 @@ for pkg in tracker.iterate_packages(): if status_in_next_lts.status == 'resolved': add_to_list('possible_easy_fixes', pkg, issue) - # //// + # status=='ignored': //// 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'): + status_in_next_lts.status == 'resolved' and + pkg not in tracker.dla_needed): # 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'] -- cgit v1.2.3