lib/sysrev/sysrevMeta.js
function(user, namespace, name, repoName, repoPath, systemId, cb) {
    if (!_systems[systemId]) {
      _systems[systemId] = { name: name, namespace: namespace, repoName: repoName, repoPath: repoPath };
      fse.writeFileSync(systemsJsonPath, JSON.stringify(_systems, null, 2), 'utf8');
      git.commit(sysRepoPath, 'registered system: ' + repoPath, user.name, user.email, cb);
    }
    else {
      cb(null);
    }
  }
function(user, namespace, name, repoName, repoPath, systemId, cb) {
    if (!_systems[systemId]) {
      _systems[systemId] = { name: name, namespace: namespace, repoName: repoName, repoPath: repoPath };
      fse.writeFileSync(systemsJsonPath, JSON.stringify(_systems, null, 2), 'utf8');
      git.commit(sysRepoPath, 'registered system: ' + repoPath, user.name, user.email, cb);
    }
    else {
      cb(null);
    }
  }
register a system