summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_indexes.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-08-07 14:56:04 +0000
committerHolger Levsen <holger@layer-acht.org>2015-08-07 16:57:33 +0200
commitec368ff0d82a7ac429938b45d29c3f3ed2ebd4a1 (patch)
tree88879c15675bbb3a149c99e0ca3ec4b3287e9f0a /bin/reproducible_html_indexes.py
parentd9a935133fd959278916d3ffaaf775d835b76821 (diff)
downloadjenkins.debian.net-ec368ff0d82a7ac429938b45d29c3f3ed2ebd4a1.tar.xz
reproducible: _html_indexes: build global pages in a different loop than the others, to build them only once
Diffstat (limited to 'bin/reproducible_html_indexes.py')
-rwxr-xr-xbin/reproducible_html_indexes.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index 0f665ce4..94a8da62 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -568,4 +568,8 @@ if __name__ == '__main__':
for suite in SUITES:
for arch in ARCHS:
for page in pages.keys():
- build_page(page, suite, arch)
+ if 'global' not in pages[page] or not pages[page]['global']:
+ build_page(page, suite, arch)
+ for page in pages.keys():
+ if 'global' in pages[page] and pages[page]['global']:
+ build_page(page)