summaryrefslogtreecommitdiffstats
path: root/bin/lts-cve-triage.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-02-03 15:35:59 +0000
committerGuido Günther <agx@sigxcpu.org>2017-02-03 15:35:59 +0000
commit15d5abf8bdab0879fbe5557b01bb9586de7d7fd1 (patch)
tree0827af9dd5c3cd0dc9a447da33b48671494c1e83 /bin/lts-cve-triage.py
parenta9b1b23706cf4bb820cab2c3cb2c81b524e03c38 (diff)
lts-cve-triage: Don't silently ignore undetermined issues
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@48684 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/lts-cve-triage.py')
-rwxr-xr-xbin/lts-cve-triage.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py
index c330920e5d..f0f09d1910 100755
--- a/bin/lts-cve-triage.py
+++ b/bin/lts-cve-triage.py
@@ -52,6 +52,9 @@ LIST_NAMES = (
('possible_easy_fixes',
('Issues from dla-needed.txt that are already fixed in {next_lts}'
).format(**RELEASES)),
+ ('undetermined',
+ ('Undetermined issues in {lts}'
+ ).format(**RELEASES)),
)
lists = collections.defaultdict(lambda: collections.defaultdict(lambda: []))
@@ -115,10 +118,13 @@ for pkg in tracker.iterate_packages():
if status_in_next_lts.status == 'resolved':
add_to_list('possible_easy_fixes', pkg, issue)
- if (status_in_lts.status == 'ignored' and
- status_in_lts.reason == 'no-dsa' and
- status_in_next_lts.status == 'open'):
- add_to_list('unexpected_nodsa', pkg, issue)
+ if 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 == 'undetermined':
+ add_to_list('undetermined', pkg, issue)
+
for key, desc in LIST_NAMES:
if args.filter is not None and key not in args.filter:

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