From 68b8532eeb3d81ad059049bcdefb308ad8e3a03d Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 7 Sep 2018 14:16:02 -0500 Subject: [PATCH] Add operations-guide to redirect ignore list The openstack/operations-guide repo is not cycle based and uses the publish-openstack-tox-docs-direct job. This adds the repo to the list to be ignored when generating the .htaccess file of redirects so it does not get sent to /latest. Change-Id: I41f1c88a823c4c6873ae2a179ec9df6d52501d37 Signed-off-by: Sean McGinnis --- tools/www-generator.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/www-generator.py b/tools/www-generator.py index f385478147..7e7a2895b5 100755 --- a/tools/www-generator.py +++ b/tools/www-generator.py @@ -350,6 +350,7 @@ _IGNORED_REPOS = [ 'openstack/releases', 'openstack-infra/releasestatus', 'openstack/contributor-guide', + 'openstack/operations-guide', ] # List of infra repos that publish to the normal location (/REPO/) and @@ -417,6 +418,8 @@ def _get_official_repos(): base = name.rsplit('/')[-1] if name in seen_repos: continue + if name in _IGNORED_REPOS: + continue regular_repos.append({ 'name': name, 'base': base,