[Git][security-tracker-team/security-tracker][master] 2 commits: tracker_data.py: string form for IssueStatus

Sylvain Beucler beuc at debian.org
Mon Jul 1 11:50:16 BST 2019



Sylvain Beucler pushed to branch master at Debian Security Tracker / security-tracker


Commits:
28cdf811 by Sylvain Beucler at 2019-07-01T10:26:39Z
tracker_data.py: string form for IssueStatus

- - - - -
95d12a09 by Sylvain Beucler at 2019-07-01T10:46:23Z
tracker_data.py: classify undetermined issues triaged '<ignored>' as 'no-dsa'
('<ignored>' precedence over '<undetermined>')
e.g. in lts-cve-triage.py, don't classify undermined 2017 jasperreports issues
specifically marked '<ignored>' in the 'undetermined' report section
(no more triage work needed in that case)
(alternate fix would be rewritting history and reclassify those as <end-of-life>)

- - - - -


1 changed file:

- bin/tracker_data.py


Changes:

=====================================
bin/tracker_data.py
=====================================
@@ -178,6 +178,9 @@ class IssueStatus(object):
         self.status = status
         self.reason = reason
 
+    def __str__(self):
+        return str((self.status, self.reason))
+
 class Issue(object):
     '''Status of a security issue'''
 
@@ -197,6 +200,9 @@ class Issue(object):
             status = 'resolved'
             reason = 'fixed in {}'.format(
                 self.data['releases'][release]['fixed_version'])
+        elif data.get('nodsa_reason', None) == 'ignored':
+            status = 'ignored'
+            reason = 'no-dsa'
         elif data['status'] == 'undetermined':
             status = 'ignored'
             reason = 'undetermined'



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/c057708841feba056b9303f1a949fc207cd15bc2...95d12a09161bb21df239f5805a5a2ea1399c479e

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/compare/c057708841feba056b9303f1a949fc207cd15bc2...95d12a09161bb21df239f5805a5a2ea1399c479e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20190701/619aebbd/attachment-0001.html>


More information about the debian-security-tracker-commits mailing list