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/02/08 02:13:18 UTC
svn commit: r1729066 - in /comdev/reporter.apache.org/trunk/scripts:
committee_info.py reportingcycles.py
Author: sebb
Date: Mon Feb 8 01:13:18 2016
New Revision: 1729066
URL: http://svn.apache.org/viewvc?rev=1729066&view=rev
Log:
Local copy will be loaded in preference to the pao one, so make sure it has all the required methods
Modified:
comdev/reporter.apache.org/trunk/scripts/committee_info.py
comdev/reporter.apache.org/trunk/scripts/reportingcycles.py
Modified: comdev/reporter.apache.org/trunk/scripts/committee_info.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/committee_info.py?rev=1729066&r1=1729065&r2=1729066&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/committee_info.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/committee_info.py Mon Feb 8 01:13:18 2016
@@ -147,8 +147,26 @@ def pmcdates():
dates['webservices'] = dates[ent]
return dates
+def cycles():
+
+ committees = cidata['committees']
+
+ cycles={}
+ for ctte in committees:
+ c = committees[ctte]
+ if not c['pmc']:
+ continue
+ cycles[ctte] = c['report']
+ # Duplicate some entries for now so the code can find them (the existing json has the duplicates)
+ if ctte == 'ws': # Special processing
+ cycles['webservices'] = cycles[ctte]
+ if ctte == 'httpd': # Special processing
+ cycles['http server'] = cycles[ctte]
+ return cycles
+
if __name__ == '__main__':
import sys
json.dump(PMCnames(), sys.stdout, indent=1, sort_keys=True)
json.dump(PMCsummary(), sys.stdout, indent=1, sort_keys=True)
json.dump(pmcdates(), sys.stdout, indent=1, sort_keys=True)
+ json.dump(cycles(), sys.stdout, indent=1, sort_keys=True)
Modified: comdev/reporter.apache.org/trunk/scripts/reportingcycles.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/reportingcycles.py?rev=1729066&r1=1729065&r2=1729066&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/reportingcycles.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/reportingcycles.py Mon Feb 8 01:13:18 2016
@@ -1,6 +1,5 @@
import errtee
import sys
-sys.path.append("../../projects.apache.org/scripts") # module committee_info is in p.a.o
import committee_info
import json