[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible: Also format the log size of the second build in HTML pages (eg. "12KB" vs "12345")

Mattia Rizzolo gitlab at salsa.debian.org
Sat Aug 17 09:15:09 BST 2019



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


Commits:
080d7ba3 by Chris Lamb at 2019-08-17T00:40:07Z
reproducible: Also format the log size of the second build in HTML pages (eg. "12KB" vs "12345")

- - - - -
6727f4a1 by Mattia Rizzolo at 2019-08-17T08:13:56Z
Merge branch 'format-size-of-build2-log' of salsa.debian.org:lamby/jenkins.debian.net

MR: https://salsa.debian.org/qa/jenkins.debian.net/merge_requests/39
Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_html_packages.py


Changes:

=====================================
bin/reproducible_html_packages.py
=====================================
@@ -182,7 +182,7 @@ def gen_suitearch_details(package, version, suite, arch, status, spokenstatus,
         context['buildlogs'] = {}
         if build.build2 and build.logdiff:
             context['buildlogs']['build2_uri'] = build.build2.url
-            context['buildlogs']['build2_size'] = build.build2.size
+            context['buildlogs']['build2_size'] = sizeof_fmt(build.build2.size)
             context['buildlogs']['diff_uri'] = build.logdiff.url
         else:
             log.error('Either {} or {} is missing'.format(



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/30f567ff4fc061cacf18373f40a959fdf10e7270...6727f4a1befbc64cce6e7d9a60c1a69b97cff748

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/30f567ff4fc061cacf18373f40a959fdf10e7270...6727f4a1befbc64cce6e7d9a60c1a69b97cff748
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/20190817/7c49ab41/attachment.html>


More information about the Qa-jenkins-scm mailing list