You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2016/04/19 03:15:16 UTC
svn commit: r1739838 - /comdev/reporter.apache.org/trunk/site/getjson.py
Author: sebb
Date: Tue Apr 19 01:15:16 2016
New Revision: 1739838
URL: http://svn.apache.org/viewvc?rev=1739838&view=rev
Log:
Ensure keys are listed for traffic server and Cordova etc
Modified:
comdev/reporter.apache.org/trunk/site/getjson.py
Modified: comdev/reporter.apache.org/trunk/site/getjson.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/getjson.py?rev=1739838&r1=1739837&r2=1739838&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Tue Apr 19 01:15:16 2016
@@ -292,11 +292,13 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user):
# a PMC may have projects using Bugzilla *and* JIRA - e.g. Tomcat - (or neither)
jiraname = group.upper()
if group in jmap:
+ keys[group] = []
for jiraname in jmap[group]:
x,y, p = getJIRAS(jiraname)
jdata[group][0] += x
jdata[group][1] += y
jdata[group][2] = p
+ keys[group].append(jiraname)
elif group in ddata and 'name' in ddata[group]:
jiras = getJIRAProjects(ddata[group]['name'])
keys[group] = jiras
@@ -306,6 +308,7 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user):
jdata[group][1] += y
jdata[group][2] = p
elif jiraname:
+ keys[group]=[jiraname]
x,y, p= getJIRAS(jiraname)
jdata[group][0] += x
jdata[group][1] += y