community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1679380 - in /comdev/projects.apache.org/site: js/projects.js json/foundation/HEADER.html
Date Thu, 14 May 2015 14:21:45 GMT
Author: hboutemy
Date: Thu May 14 14:21:44 2015
New Revision: 1679380

URL: http://svn.apache.org/r1679380
Log:
don't use chairs.json: everything is in tlps.json

Modified:
    comdev/projects.apache.org/site/js/projects.js
    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=1679380&r1=1679379&r2=1679380&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Thu May 14 14:21:44 2015
@@ -20,7 +20,6 @@
 var people = {}; // committer -> name lookups
 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 projects = {}; // Projects (sub + tlp)
 var committees = {}; // TLP committees for TLP evolution charts et al
 var committees_raw = {}; // TLP committees, sorted by date founded
@@ -346,9 +345,7 @@ function renderProjectPage(json, state)
         var tlp = tlps[json.pmc];
 
 	// VP
-	if (chairs[json.name]) {
-	    appendLiInnerHTML(ul, "<b>PMC Chair:</b> " + chairs[json.name]);
-	}
+        appendLiInnerHTML(ul, "<b>PMC Chair:</b> " + people[tlp.chair]);
 
 	// Reporting cycle
         var cycles = [ "every month", "January, April, July, October", "February, May, August,
November", "March, June, September, December" ];
@@ -1260,7 +1257,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/chairs.json", function(json) { chairs = json; }],
 	    ["/json/foundation/podlings-evolution.json", function(json) { evolution = json; }],
 	    ["/json/foundation/accounts-evolution.json", function(json) { accounts = json; }],
 	    ["/json/foundation/tlps-evolution.json", setCommittees],

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=1679380&r1=1679379&r2=1679380&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:21:44 2015
@@ -4,7 +4,7 @@ see <code><a href="http://svn.apache.org
 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="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>
(not used any more, replaced by tlps.json)</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> (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>



Mime
View raw message