[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: build index_notify only for Debian

Mattia Rizzolo gitlab at salsa.debian.org
Thu Dec 13 17:29:54 GMT 2018


Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
2d1708e1 by Mattia Rizzolo at 2018-12-13T16:02:11Z
reproducible: build index_notify only for Debian

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_html_indexes.py


Changes:

=====================================
bin/reproducible_html_indexes.py
=====================================
@@ -647,6 +647,7 @@ pages = {
     },
     'notify': {
         'global': True,
+        'limit': ['debian'],
         'notes': True,
         'nosuite': True,
         'title': 'Packages with notification enabled',
@@ -712,7 +713,7 @@ def build_leading_text_section(section, rows, suite, arch):
             timespan_percent = round(((total/timespan_count)*100), 1)
         except ZeroDivisionError:
             log.error('Looks like there are either no tested package or no ' +
-                  'packages available at all. Maybe it\'s a new database?')
+                      'packages available at all. Maybe it\'s a new database?')
             timespan_percent = 0
 
         html += section['text'].substitute(tot=total, percent=percent,
@@ -768,6 +769,8 @@ def build_page_section(page, section, suite, arch):
 
 
 def build_page(page, suite=None, arch=None):
+    if 'limit' in pages[page] and DISTRO not in pages[page]['limit']:
+        return
     gpage = False
     if pages[page].get('global') and pages[page]['global']:
         gpage = True



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2d1708e13c8eabaa8e8d3c91b44c3d88ce421952

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/2d1708e13c8eabaa8e8d3c91b44c3d88ce421952
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181213/69c50c33/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list