[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: show total number of packages in a pkg set

Holger Levsen gitlab at salsa.debian.org
Sat Jan 12 19:48:01 GMT 2019


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
47654780 by Holger Levsen at 2019-01-12T19:47:47Z
reproducible Debian: show total number of packages in a pkg set

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/reproducible_html_pkg_sets.py
- mustache-templates/reproducible/pkgset_details.mustache


Changes:

=====================================
bin/reproducible_html_pkg_sets.py
=====================================
@@ -3,6 +3,7 @@
 #
 # Copyright © 2016 Valerie Young <spectranaut at riseup.net>
 #           © 2018 Mattia Rizzolo <mattia at mapreri.org>
+#           © 2016-2019 Holger Levsen <holger at layer-acht.org>
 # Based on reproducible_html_pkg_sets.sh:
 #           © 2014-2016 Holger Levsen <holger at layer-acht.org>
 #           © 2015 Mattia Rizzolo <mattia at debian.org>
@@ -210,6 +211,7 @@ def create_pkgset_page_and_graphs(suite, arch, stats, pkgset_name):
     html_body += create_pkgset_navigation(suite, arch, pkgset_name)
     pkgset_context = ({
         'pkgset_name': pkgset_name,
+        'count_all': stats["count_all"],
         'suite': suite,
         'arch': arch,
         'pkg_symbol_legend_html':


=====================================
mustache-templates/reproducible/pkgset_details.mustache
=====================================
@@ -2,13 +2,13 @@
 {{#png}}
   <a href="{{png}}">
     <img src="{{png}}" class="overview"
-     title="Package set {{pkgset_name}} in {{suite}}/{{arch}}. (To switch suite and arch, see top left.)"
+     title="Package set {{pkgset_name}} in {{suite}}/{{arch}}. (To switch suite and/or arch, see top left.)"
      alt="package set {{pkgset_name}} in {{suite}}/{{arch}}">
   </a>
   {{/png}}
   <br />
   The package set <span class="highlight">{{pkgset_name}}</span> in
-  <span class="highlight">{{suite}}/{{arch}}</span> consists of:
+  <span class="highlight">{{suite}}/{{arch}}</span> consists of {{count_all} packages:
   <br />
   {{#status_details}}
   {{{icon_html}}} {{status_count}} ({{status_percent}}%) packages



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/4765478085a97f9a9dcf1dc897d3a559edeaf340

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/4765478085a97f9a9dcf1dc897d3a559edeaf340
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/20190112/23abf25f/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list