community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1679341 - /comdev/projects.apache.org/site/js/projects.js
Date Thu, 14 May 2015 11:27:36 GMT
Author: hboutemy
Date: Thu May 14 11:27:36 2015
New Revision: 1679341

URL: http://svn.apache.org/r1679341
Log:
code cleanup: remove old code that is not used any more

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=1679341&r1=1679340&r2=1679341&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Thu May 14 11:27:36 2015
@@ -1229,26 +1229,6 @@ function weaveInProjects(json) {
     }
 }
 
-// Add committer IDs+names to project hashes
-function weaveInGroups(groups) {
-    unixgroups = groups;
-    for (g in groups) {
-	var project = projects[g];
-	if (project && g != 'incubator') {
-	    var group = groups[g];
-	    var fn = [];
-	    for (i in group) {
-		if (people[group[i]]) {
-		    fn.push(people[group[i]]);
-		}
-	    }
-	    project.committers = group.join(", ");
-	    project.committers_fullname = fn.join(", ");
-	}
-    }
-}
-
-
 function setCommittees(json, state) {
     committees_raw = json
     for (established in json) {
@@ -1313,6 +1293,7 @@ function buildReleases() {
 function preloadEverything(callback) {
     GetAsyncJSONArray([
 	    ["/json/foundation/pmcs.json", function(json) { pmcs = json; }],
+	    ["/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; }],
@@ -1321,7 +1302,6 @@ function preloadEverything(callback) {
 	    ["/json/foundation/tlps-evolution.json", setCommittees],
 	    ["/json/foundation/projects.json", weaveInProjects],
 	    ["/json/foundation/podlings.json", weaveInProjects],
-	    ["/json/foundation/groups.json", weaveInGroups],
 	    ["/json/foundation/releases.json", function(json) { releases = json; }],
         ],
 	callback);



Mime
View raw message