From ec368ff0d82a7ac429938b45d29c3f3ed2ebd4a1 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 7 Aug 2015 14:56:04 +0000 Subject: 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 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) -- cgit v1.2.3-54-g00ecf