diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-02-03 15:35:59 +0000 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-02-03 15:35:59 +0000 |
commit | f212af32f8ae2ca38e4ab57087cc79f20d503bf3 (patch) | |
tree | 786ee26098b65430f5ec68340c9339eb7d42e714 /bin/lts-cve-triage.py | |
parent | 5544164977deb972a3af80e0fdf91ec62959b63d (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-x | bin/lts-cve-triage.py | 14 |
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: |