function weaveInRetiredCommittees()

in site/js/projects.js [1601:1620]


function weaveInRetiredCommittees(json) {
    weaveById(json, retiredCommittees);
    var p;
    var projectsPmcs = {};
    for (p in projects) {
        projectsPmcs[projects[p].pmc] = p;
    }
    var c;
    for (c in committees) {
        c = committees[c];
        if (!projectsPmcs[c.id] && c.id != 'attic') {
            // no DOAP file written by the PMC: creating default content
            projects[c.id] = {
                'name': c.name,
                'homepage': c.homepage,
                'pmc': c.id
            }
        }
    }
}