community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1678504 - in /comdev/projects.apache.org: scripts/README.txt scripts/cronjobs/podlings.py site/js/projects.js site/json/foundation/.htaccess site/json/foundation/HEADER.html
Date Sat, 09 May 2015 17:17:20 GMT
Author: hboutemy
Date: Sat May  9 17:17:20 2015
New Revision: 1678504

URL: http://svn.apache.org/r1678504
Log:
renamed evolution.json to podlings-evolution.json to better match the meaning

Modified:
    comdev/projects.apache.org/scripts/README.txt
    comdev/projects.apache.org/scripts/cronjobs/podlings.py
    comdev/projects.apache.org/site/js/projects.js
    comdev/projects.apache.org/site/json/foundation/.htaccess
    comdev/projects.apache.org/site/json/foundation/HEADER.html

Modified: comdev/projects.apache.org/scripts/README.txt
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/README.txt?rev=1678504&r1=1678503&r2=1678504&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/README.txt (original)
+++ comdev/projects.apache.org/scripts/README.txt Sat May  9 17:17:20 2015
@@ -20,8 +20,8 @@ various sources:
 - podlings.py: Reads podlings.xml from the incubator site and creates a JSON
   with timeline data, as well as current podling projects information.
   in: http://incubator.apache.org/podlings.xml
-  out: foundation/evolution.json + foundation/podlings.json
-  Monthly statisctics on podlings (evolution.json) and current list of podlings (podlings.json)
+  out: foundation/podlings.json + foundation/podlings-evolution.json
+  Current list of podlings (podlings.json) and monthly statisctics on podlings (podlings-evolution.json)
 
 - parsereleases.py
   in: http://www.apache.org/dist/

Modified: comdev/projects.apache.org/scripts/cronjobs/podlings.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/podlings.py?rev=1678504&r1=1678503&r2=1678504&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/podlings.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/podlings.py Sat May  9 17:17:20 2015
@@ -1,6 +1,5 @@
 from xml.dom import minidom
 import re, urllib.request
-import csv
 import json
 from datetime import datetime
 
@@ -86,8 +85,8 @@ for i in js:
     current += i['graduated']
     current += i['retired']
     
-print("Writing evolution.json")
-with open('../../site/json/foundation/evolution.json', 'w') as f:
+print("Writing podlings-evolution.json")
+with open('../../site/json/foundation/podlings-evolution.json', 'w') as f:
     f.write(json.dumps(js, sort_keys=True, indent=0))
     f.close()
 

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1678504&r1=1678503&r2=1678504&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sat May  9 17:17:20 2015
@@ -1102,7 +1102,7 @@ function renderLanguageChart() {
 }
 
 function buildFrontPage() {
-    GetAsyncJSON("/json/foundation/evolution.json?" + Math.random(), null, renderFrontPage)
+    GetAsyncJSON("/json/foundation/podlings-evolution.json?" + Math.random(), null, renderFrontPage)
 }
 
 
@@ -1322,7 +1322,7 @@ function preloadEverything(callback) {
 	    ["/json/foundation/people.json", function(json) { people = json; }],
 	    ["/json/foundation/cycles.json", function(json) { cycles = json; }],
 	    ["/json/foundation/chairs.json", function(json) { chairs = json; }],
-	    ["/json/foundation/evolution.json", function(json) { evolution = json; }],
+	    ["/json/foundation/podlings-evolution.json", function(json) { evolution = json; }],
 	    ["/json/foundation/accounts.json", function(json) { accounts = json; }],
 	    ["/json/foundation/committees.json", setCommittees],
 	    ["/json/foundation/projects.json", weaveInProjects],

Modified: comdev/projects.apache.org/site/json/foundation/.htaccess
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/foundation/.htaccess?rev=1678504&r1=1678503&r2=1678504&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/.htaccess (original)
+++ comdev/projects.apache.org/site/json/foundation/.htaccess Sat May  9 17:17:20 2015
@@ -3,10 +3,10 @@ AddDescription "generated by <code>cronj
 AddDescription "generated by <code>cronjobs/parsechairs.py</code>" chairs.json
 AddDescription "imported with <code>import/parsecommittees.py</code>" committees.json
 AddDescription "manually maintained" cycles.json
-AddDescription "generated by <code>cronjobs/podlings.py</code>" evolution.json
 AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" groups.json
 AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" people.json
 AddDescription "imported with <code>import/parsepmcs.py</code> from <a href='https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/data_files/'>PMC
DOAP files</a>" pmcs.json
 AddDescription "generated by <code>cronjobs/podlings.py</code>" podlings.json
+AddDescription "generated by <code>cronjobs/podlings.py</code>" podlings-evolution.json
 AddDescription "imported with <code>import/rdfparse.py</code> from <a href='https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml'>projects'
DOAP files</a>" projects.json
 AddDescription "generated by <code>cronjobs/parsereleases.py</code>" releases.json

Modified: comdev/projects.apache.org/site/json/foundation/HEADER.html
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/foundation/HEADER.html?rev=1678504&r1=1678503&r2=1678504&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/HEADER.html (original)
+++ comdev/projects.apache.org/site/json/foundation/HEADER.html Sat May  9 17:17:20 2015
@@ -7,9 +7,9 @@ for more information.
 <li><a href="chairs.json"><code>chairs.json</code></a> generated
by <code>cronjobs/parsechairs.py</code> from <a href="http://www.apache.org/foundation/">http://www.apache.org/foundation/</a></li>
 <li><a href="committees.json"><code>committees.json</code></a>
imported with <code>import/parsecommittees.py</code> from <code>https://svn.apache.org/repos/private/committers/board/committee-info.txt</code></li>
 <li><a href="cycles.json"><code>cycles.json</code></a> manually
maintained</li>
-<li><a href="evolution.json"><code>evolution.json</code></a>
and <a href="podlings.json"><code>podlings.json</code></a> generated
by <code>cronjobs/podlings.py</code> from <a href="http://incubator.apache.org/podlings.xml">http://incubator.apache.org/podlings.xml</a></li>
 <li><a href="groups.json"><code>groups.json</code></a> and
<a href="people.json"><code>people.json</code></a> generated by <code>cronjobs/parsecommitters.py</code>
from <a href="http://people.apache.org/committer-index.html">http://people.apache.org/committer-index.html</a></li>
 <li><a href="pmcs.json"><code>pmcs.json</code></a> imported
with <code>import/parsepmcs.py</code> from <a href='https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/data_files/'>PMC
DOAP files</a></li>
+<li><a href="podlings.json"><code>podlings.json</code></a>
and <a href="podlings-evolution.json"><code>podlings-evolution.json</code></a>
generated by <code>cronjobs/podlings.py</code> from <a href="http://incubator.apache.org/podlings.xml">http://incubator.apache.org/podlings.xml</a></li>
 <li><a href="projects.json"><code>projects.json</code></a>
imported with <code>import/rdfparse.py</code> from <a href='https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml'>projects'
DOAP files</a></li>
 <li><a href="releases.json"><code>releases.json</code></a>
generated by <code>cronjobs/parsereleases.py</code> from <a href="http://www.apache.org/dist/">http://www.apache.org/dist/</a></li>
 </ul>
\ No newline at end of file



Mime
View raw message