community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1723356 - /comdev/projects.apache.org/site/js/projects.js
Date Wed, 06 Jan 2016 16:02:40 GMT
Author: sebb
Date: Wed Jan  6 16:02:40 2016
New Revision: 1723356

URL: http://svn.apache.org/viewvc?rev=1723356&view=rev
Log:
Use the actual PMC roster from committee-info.txt (not the LDAP group)

Modified:
    comdev/projects.apache.org/site/js/projects.js

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1723356&r1=1723355&r2=1723356&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Wed Jan  6 16:02:40 2016
@@ -538,13 +538,16 @@ function renderCommitteePage(committeeId
     appendLiInnerHTML(ul, "<b>Reporting cycle:</b> " + cycles[committee.reporting]
+ ", see <a href='https://whimsy.apache.org/board/minutes/" + minutes + ".html'>minutes</a>");
 
     // PMC
-    if (unixgroups[unixgroup + "-pmc"]) {
+    if (committee.roster) { // check we have the data
         var pmcl = [];
-        var pmcgroup = unixgroups[unixgroup + "-pmc"];
-        for (i in pmcgroup) {
-            pmcl.push(linkCommitterIndex(pmcgroup[i]));
+        for (i in committee.roster) {
+            pmcl.push(linkCommitterIndex(i));
+        }
+        if (pmcl.length > 0) {
+            appendLiInnerHTML(ul, "<b>PMC Roster (from committee-info.txt) (" + pmcl.length
+ "):</b> <blockquote>" + pmcl.join(",&nbsp; ") + "</blockqoute>");
+        } else {
+            appendLiInnerHTML(ul, "<b>PMC Roster not found in committee-info.txt (check
that Section 3 has been updated)</b>");
         }
-        appendLiInnerHTML(ul, "<b>PMC Members (" + pmcgroup.length + "):</b>
<blockquote>" + pmcl.join(",&nbsp; ") + "</blockqoute>");
     }
 
     // Committers



Mime
View raw message