Author: holger Date: 2015-03-23 19:12:41 +0000 (Mon, 23 Mar 2015) New Revision: 33087
Modified: bin/tracker_service.py Log: json/#761859: use stable key names for releases dict, indicate the release an issue was fixed in via new key, 'fixed_since'. Modified: bin/tracker_service.py =================================================================== --- bin/tracker_service.py 2015-03-23 19:06:36 UTC (rev 33086) +++ bin/tracker_service.py 2015-03-23 19:12:41 UTC (rev 33087) @@ -1374,17 +1374,20 @@ # 1 = vulnerable, 2 = undetermined state = "open" suite_version = version[pkg][issue][repository] + fixed_since = None else: state = "resolved" suite_version = fixed_version[pkg][issue][repository] + fixed_since = repository suite_urgency = urgency[pkg][issue][repository] if nodsa[pkg][issue].has_key(repository): suite_nodsa = nodsa[pkg][issue][repository] - suites[repository] = { "status": state, - "version": suite_version, - "urgency": suite_urgency, - "nodsa": suite_nodsa } - clean_dict(suites[repository]) + suites[release] = { "status": state, + "fixed_since" : fixed_since, + "version": suite_version, + "urgency": suite_urgency, + "nodsa": suite_nodsa } + clean_dict(suites[release]) pkg_issue = { "issue": issue, "description": description, "debianbug": debianbug, _______________________________________________ Secure-testing-commits mailing list Secure-testing-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits