diff --git a/tools/www-generator.py b/tools/www-generator.py index a032a20784..65c78a3591 100755 --- a/tools/www-generator.py +++ b/tools/www-generator.py @@ -405,6 +405,7 @@ def load_project_data(source_directory, _GOVERNANCE_URL = 'http://git.openstack.org/cgit/openstack/governance/plain/reference/projects.yaml' # noqa _GOVERNANCE_SIGS_URL = 'http://git.openstack.org/cgit/openstack/governance/plain/reference/sigs-repos.yaml' # noqa +_GOVERNANCE_FOUNDATION_URL = 'http://git.openstack.org/cgit/openstack/governance/plain/reference/foundation-board-repos.yaml' # noqa _IGNORED_REPOS = [ 'openstack/releases', 'openstack-infra/releasestatus', @@ -470,24 +471,25 @@ def _get_official_repos(): # name: # - repo: name # - raw = requests.get(_GOVERNANCE_SIGS_URL) - data = yaml.safe_load(raw.text) - for sig_name, sig_data in data.items(): - for repo in sig_data: - name = repo['repo'] - base = name.rsplit('/')[-1] - if name in seen_repos: - continue - if name in _IGNORED_REPOS: - continue - regular_repos.append({ - 'name': name, - 'base': base, - }) - seen_repos.add(name) - # Treat sig repos as deliverables so they do not trigger - # a warning for not appearing to be official. - deliverables.append(base) + for url in [_GOVERNANCE_SIGS_URL, _GOVERNANCE_FOUNDATION_URL]: + raw = requests.get(url) + data = yaml.safe_load(raw.text) + for sig_name, sig_data in data.items(): + for repo in sig_data: + name = repo['repo'] + base = name.rsplit('/')[-1] + if name in seen_repos: + continue + if name in _IGNORED_REPOS: + continue + regular_repos.append({ + 'name': name, + 'base': base, + }) + seen_repos.add(name) + # Treat sig repos as deliverables so they do not trigger + # a warning for not appearing to be official. + deliverables.append(base) return (regular_repos, infra_repos, deliverables) diff --git a/www/project-data/latest.yaml b/www/project-data/latest.yaml index 0d0f0266fb..4ede2b0ea1 100644 --- a/www/project-data/latest.yaml +++ b/www/project-data/latest.yaml @@ -403,7 +403,6 @@ service: Infrastructure Optimization service service_type: resource-optimization type: service - has_in_tree_api_docs: true has_install_guide: true has_admin_guide: true has_user_guide: true