[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lts-cve-triage.py: patch to check no-dsa tags in already triaged issues



Hi,

The attached patch makes lts-cve-triage.py to check if already triaged
issues have been tagged no-dsa in the next distribution. Do you think
it's ok? May I push/commit the changes?

Cheers,

Santiago
From 495e812657abe7f49d89f6300c69ab723e21f59e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Santiago=20Ruano=20Rinc=C3=B3n?= <santiago@debian.org>
Date: Mon, 24 Aug 2015 15:46:54 +0200
Subject: [PATCH] lts-cve-triage.py: checks for possible no-dsa in already
 triaged issues

---
 bin/lts-cve-triage.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py
index 8c528b8..7b4e052 100755
--- a/bin/lts-cve-triage.py
+++ b/bin/lts-cve-triage.py
@@ -35,6 +35,8 @@ LIST_NAMES = (
      'Issues tagged no-dsa that are open in {}'.format(next_lts)),
     ('possible_easy_fixes',
      'Issues that are already fixed in {}'.format(next_lts)),
+    ('next_dsa',
+     'Already triaged issues tagged no-dsa in {}'.format(next_lts)),
 )
 
 lists = collections.defaultdict(lambda: collections.defaultdict(lambda: []))
@@ -77,6 +79,9 @@ for pkg in tracker.iterate_packages():
                     add_to_list('triage_other', pkg, issue)
             if status_in_next_lts.status == 'resolved':
                 add_to_list('possible_easy_fixes', pkg, issue)
+            if (status_in_next_lts.status == 'ignored' and
+                    status_in_next_lts.reason == 'no-dsa'):
+                add_to_list('next_dsa', pkg, issue)
 
         if (status_in_lts.status == 'ignored' and
                 status_in_lts.reason == 'no-dsa' and
-- 
2.4.6

Attachment: signature.asc
Description: Digital signature


Reply to: