[Qa-jenkins-scm] [jenkins.debian.net] 01/04: reproducible: html_indexes: set suite/arch to the defaults when building a global page

Holger Levsen holger at moszumanska.debian.org
Mon Jun 1 16:49:06 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 9d11e700923fa7abf80bc36332606d204deeeed3
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Mon Jun 1 18:24:27 2015 +0200

    reproducible: html_indexes: set suite/arch to the defaults when building a global page
---
 bin/reproducible_html_indexes.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index 1291780..a250c46 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -399,6 +399,8 @@ def build_page(page, suite=None, arch=None):
     gpage = False
     if pages[page].get('global') and pages[page]['global']:
         gpage = True
+        suite = defaultsuite
+        arch = defaultarch
     if not gpage and suite and not arch:
         print_critical_message('The architecture was not specified while ' +
                                'building a suite-specific 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