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') _______________________________________________ Secure-testing-commits mailing list Secure-testing-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits