community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1679378 - in /comdev/projects.apache.org/site: js/projects.js json/foundation/.htaccess json/foundation/HEADER.html json/foundation/cycles.json
Date Thu, 14 May 2015 14:15:31 GMT
Author: hboutemy
Date: Thu May 14 14:15:31 2015
New Revision: 1679378

URL: http://svn.apache.org/r1679378
Log:
removed cycles.json: everything is in tlps.json

Removed:
    comdev/projects.apache.org/site/json/foundation/cycles.json
Modified:
    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/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1679378&r1=1679377&r2=1679378&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Thu May 14 14:15:31 2015
@@ -21,7 +21,6 @@ var people = {}; // committer -> name lo
 var unixgroups = {}; // unix (ldap) groups (project -> committers lookup)
 var tlps = {}; // id -> tlp info (chair, established, group, homepage, id, name, reporting,
shortdesc)
 var chairs = {}; // chair-people of various TLPs
-var cycles = {}; // Reporting cycles
 var projects = {}; // Projects (sub + tlp)
 var committees = {}; // TLP committees for TLP evolution charts et al
 var committees_raw = {}; // TLP committees, sorted by date founded
@@ -344,6 +343,7 @@ function renderProjectPage(json, state)
     }
 
     if (isTLP) {
+        var tlp = tlps[json.pmc];
 
 	// VP
 	if (chairs[json.name]) {
@@ -351,9 +351,8 @@ function renderProjectPage(json, state)
 	}
 
 	// Reporting cycle
-	if (cycles[json.name]) {
-	    appendLiInnerHTML(ul, "<b>Reporting cycle:</b> " + cycles[json.name] + ",
see <a href='https://whimsy.apache.org/board/minutes/" + camelCase(json.pmc) + ".html'>minutes</a>");
-	}
+        var cycles = [ "every month", "January, April, July, October", "February, May, August,
November", "March, June, September, December" ];
+        appendLiInnerHTML(ul, "<b>Reporting cycle:</b> " + cycles[tlp.reporting]
+ ", see <a href='https://whimsy.apache.org/board/minutes/" + camelCase(json.pmc) + ".html'>minutes</a>");
 
 	// PMC
 	if (unixgroups[state+"-pmc"]) {
@@ -1261,7 +1260,6 @@ function preloadEverything(callback) {
 	    ["/json/foundation/tlps.json", function(json) { for(p in json) { p = json[p]; tlps[p.id]=p;
}; }],
 	    ["/json/foundation/groups.json", function(json) { unixgroups = json; }],
 	    ["/json/foundation/people_name.json", function(json) { people = json; }],
-	    ["/json/foundation/cycles.json", function(json) { cycles = json; }],
 	    ["/json/foundation/chairs.json", function(json) { chairs = json; }],
 	    ["/json/foundation/podlings-evolution.json", function(json) { evolution = json; }],
 	    ["/json/foundation/accounts-evolution.json", function(json) { accounts = json; }],

Modified: comdev/projects.apache.org/site/json/foundation/.htaccess
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/json/foundation/.htaccess?rev=1679378&r1=1679377&r2=1679378&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/.htaccess (original)
+++ comdev/projects.apache.org/site/json/foundation/.htaccess Thu May 14 14:15:31 2015
@@ -1,7 +1,6 @@
 IndexOptions FancyIndexing DescriptionWidth=*
 AddDescription "generated by <code>cronjobs/countaccounts.py</code>" accounts-evolution.json
 AddDescription "generated by <code>cronjobs/parsechairs.py</code>" chairs.json
-AddDescription "manually maintained" cycles.json
 AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" groups.json
 AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" people.json
 AddDescription "generated by <code>cronjobs/parsecommitters.py</code>" people_name.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=1679378&r1=1679377&r2=1679378&view=diff
==============================================================================
--- comdev/projects.apache.org/site/json/foundation/HEADER.html (original)
+++ comdev/projects.apache.org/site/json/foundation/HEADER.html Thu May 14 14:15:31 2015
@@ -5,9 +5,8 @@ for more information.
 <ul>
 <li><a href="accounts-evolution.json"><code>accounts-evolution.json</code></a>
generated by <code>cronjobs/countaccounts.py</code> from LDAP</li>
 <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="cycles.json"><code>cycles.json</code></a> manually
maintained</li>
 <li><a href="groups.json"><code>groups.json</code></a>, <a
href="people.json"><code>people.json</code></a> and <a href="people_name.json"><code>people_name.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="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> (not used any more, replaced by tlps.json)</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>



Mime
View raw message