[Secure-testing-commits] r38897 - bin

Mike Gabriel sunweaver at moszumanska.debian.org
Thu Jan 14 08:15:44 UTC 2016


Author: sunweaver
Date: 2016-01-14 08:15:44 +0000 (Thu, 14 Jan 2016)
New Revision: 38897

Modified:
   bin/lts-cve-triage.py
Log:
bin/lts-cve-triage.py: Differentiate between issues that are triaged/non-triaged for LTS, but resolved in next LTS version.

Modified: bin/lts-cve-triage.py
===================================================================
--- bin/lts-cve-triage.py	2016-01-14 07:29:39 UTC (rev 38896)
+++ bin/lts-cve-triage.py	2016-01-14 08:15:44 UTC (rev 38897)
@@ -32,6 +32,8 @@
      'Other issues to triage (no special status)'),
     ('triage_other_not_triaged_in_next_lts',
      'Other issues to triage for {this_lts} (not yet triaged for {next_lts})'.format(this_lts=this_lts, next_lts=next_lts)),
+    ('triage_possible_easy_fixes',
+     'Issues not yet triaged for {}, but probably easy to fix (because already fixed in {})'.format(this_lts, next_lts)),
     ('unexpected_nodsa',
      'Issues tagged no-dsa in {this_lts} that are open in {next_lts}'.format(this_lts=this_lts, next_lts=next_lts)),
     ('possible_easy_fixes',
@@ -67,6 +69,9 @@
 
         if status_in_lts.status == 'open':
             if pkg not in tracker.dla_needed:  # Issues not triaged yet
+
+                # package issues in LTS that still need being triaged
+
                 if status_in_next_lts.status == 'open':
                     if pkg in tracker.dsa_needed:
                         add_to_list('triage_already_in_dsa_needed', pkg, issue)
@@ -76,11 +81,18 @@
                 elif (status_in_next_lts.status == 'ignored' and
                         status_in_next_lts.reason == 'no-dsa'):
                     add_to_list('triage_likely_nodsa', pkg, issue)
+                elif status_in_next_lts.status == 'resolved':
+                    add_to_list('triage_possible_easy_fixes', pkg, issue)
                 else:
                     add_to_list('triage_other', pkg, issue)
-            if status_in_next_lts.status == 'resolved':
-                add_to_list('possible_easy_fixes', pkg, issue)
 
+            else:
+
+                # package issues already triaged for LTS...
+
+                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'):




More information about the Secure-testing-commits mailing list