[Secure-testing-commits] r32512 - bin
Holger Levsen
holger at moszumanska.debian.org
Thu Feb 26 15:49:48 UTC 2015
Author: holger
Date: 2015-02-26 15:49:48 +0000 (Thu, 26 Feb 2015)
New Revision: 32512
Modified:
bin/tracker_service.py
Log:
add some comments
Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py 2015-02-26 15:49:47 UTC (rev 32511)
+++ bin/tracker_service.py 2015-02-26 15:49:48 UTC (rev 32512)
@@ -1329,9 +1329,12 @@
subrelease=release+suffix
if status[pkg][issue].has_key(subrelease):
if status[pkg][issue][subrelease] == 0:
+ # the issue is fixed, let's pick this subrelease and be done
winner=suffix
break
elif status[pkg][issue][subrelease] > 0 and winner == '':
+ # the issue ain't fixed, but at least exists.
+ # keep looking for a real winner...
winner=suffix
repository=release+winner
data.append(' "'+release+'": [\n')
@@ -1343,6 +1346,8 @@
data.append(' "status": "resolved",\n')
else:
data.append(' "status": "open",\n')
+ # urgency really differs by suite for some CVEs
+ # also, the urgency field holds the 'end-of-life' information
data.append(' "urgency": "'+urgency[pkg][issue][repository]+'",\n')
if nodsa[pkg][issue].has_key(repository):
data.append(' "nodsa": "'+nodsa[pkg][issue][repository]+'",\n')
More information about the Secure-testing-commits
mailing list