[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: _html_indexes: build global pages in a different loop than the others, to build them only once
Holger Levsen
holger at moszumanska.debian.org
Fri Aug 7 14:58:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ec368ff0d82a7ac429938b45d29c3f3ed2ebd4a1
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Fri Aug 7 14:56:04 2015 +0000
reproducible: _html_indexes: build global pages in a different loop than the others, to build them only once
---
TODO | 1 -
bin/reproducible_html_indexes.py | 6 +++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/TODO b/TODO
index 4b1476f..f08a906 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 0f665ce..94a8da6 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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list