community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1706278 - in /comdev/reporter.apache.org/trunk: README.txt site/getjson.py
Date Thu, 01 Oct 2015 15:52:38 GMT
Author: sebb
Date: Thu Oct  1 15:52:38 2015
New Revision: 1706278

URL: http://svn.apache.org/viewvc?rev=1706278&view=rev
Log:
Doco

Modified:
    comdev/reporter.apache.org/trunk/README.txt
    comdev/reporter.apache.org/trunk/site/getjson.py

Modified: comdev/reporter.apache.org/trunk/README.txt
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/README.txt?rev=1706278&r1=1706277&r2=1706278&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/README.txt (original)
+++ comdev/reporter.apache.org/trunk/README.txt Thu Oct  1 15:52:38 2015
@@ -60,8 +60,8 @@ Scripts:
   Creates data/health.json
 
 - site/getjson.py
-  Updates data/JIRA/projects.json (from JIRA)
-  Updates data/JIRA/%s.json % project (from JIRA)
+  If stale, re-creates data/JIRA/projects.json (from JIRA)
+  If stale, re-creates data/JIRA/%s.json % project (from JIRA)
   
 - site/jiraversions.py
   Updates data/releases/%s.json % project

Modified: comdev/reporter.apache.org/trunk/site/getjson.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/getjson.py?rev=1706278&r1=1706277&r2=1706278&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Thu Oct  1 15:52:38 2015
@@ -86,7 +86,7 @@ def isMember(uid):
     return False
 
 def getJIRAProjects(project):
-    """Reads data/JIRA/projects.json (updating it if it is stale)
+    """Reads data/JIRA/projects.json (re-creating it if it is stale)
        Returns the list of JIRA projects for the project argument
        Assumes that the project names match or the project category matches
        (after trimming "Apache " and spaces and lower-casing)"""
@@ -129,8 +129,8 @@ def getJIRAProjects(project):
     return jiras
 
 def getJIRAS(project):
-    """Reads data/JIRA/%s.json (project), updating it if it is stale
-       with the number of issues created and resolved in the last 91 days
+    """Reads data/JIRA/%s.json % (project), re-creating it if it is stale
+       from the number of issues created and resolved in the last 91 days
        Returns array of [created, resolved, project]
     """
     refresh = True



Mime
View raw message