Author: sebb
Date: Sun Feb 26 14:56:25 2017
New Revision: 1784452
URL: http://svn.apache.org/viewvc?rev=1784452&view=rev
Log:
COMDEV-215 projects.a.o msicounts podlings in evolution graph
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=1784452&r1=1784451&r2=1784452&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sun Feb 26 14:56:25 2017
@@ -27,6 +27,7 @@ var committees = {}; // id -> committee
var committeesByName = {}; // name -> committee info
var retiredCommittees = {}; // retired committees information: id -> committee
info (established, retired, homepage, id, name)
var projects = {}; // Projects
+var podlings = {}; // current podlings
var podlingsHistory = {}; // Podlings history (now graduated or retired)
var repositories = {}; // source repositories id -> url
@@ -1227,8 +1228,8 @@ function renderPodlingsEvolution(obj) {
}
// add current podlings
var p;
- for (p in projects) {
- p = projects[p];
+ for (p in podlings) {
+ p = podlings[p];
if (p['podling']) {
evo[p.started]['started'].push(p);
}
@@ -1680,7 +1681,7 @@ function preloadEverything(callback) {
["json/foundation/committees.json", "committees", setCommittees],
["json/foundation/groups.json", "groups", function(json) { unixgroups
= json; }],
["json/foundation/people_name.json", "people", function(json) { people
= json; }],
- ["json/foundation/podlings.json", "podlings", weaveInProjects], // do
this first
+ ["json/foundation/podlings.json", "podlings", function(json) {
podlings = json; weaveInProjects(json)}], // do this first
["json/foundation/projects.json", "projects", weaveInProjects], // so
can replace with DOAP data where it exists
["json/foundation/committees-retired.json", "retired committees",
weaveInRetiredCommittees],
["json/foundation/podlings-history.json", "podlings history",
function(json) { podlingsHistory = json; }],