summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--TODO1
-rwxr-xr-xbin/reproducible_html_indexes.py6
2 files changed, 5 insertions, 2 deletions
diff --git a/TODO b/TODO
index 4b1476fa..f08a9063 100644
--- a/TODO
+++ b/TODO
@@ -190,7 +190,6 @@ properties:
** new page: packages which are orphaned but have a reproducible usertagged patch
** a reproducible_log_grep_by_sql.(py|sh) would be nice, to only grep in packages with a certain status (build in the last X days)
** replace submit form by one without javascript (maybe with more url rewriting)
-** html_indexes.py creates /index_notify.html three times, even though one is enough.
** when a package is automatically rescheduled because of the mirror was updated between the two tests, there will be three rbuild logs in one. thats confusing, the first one should be dropped.
** reproducible_blacklist.sh should delete rbuild logs and debbindiff output too
** adopt usertag script from pkg-apparmor to notify us about new usertagged bugs automatically
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)