[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: improve percentages ; )

Holger Levsen gitlab at salsa.debian.org
Tue Feb 19 23:14:45 GMT 2019


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


Commits:
23551895 by Holger Levsen at 2019-02-19T23:14:34Z
reproducible Debian: improve percentages ;)

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

- - - - -


1 changed file:

- bin/reproducible_compare_Debian_sha1sums.sh


Changes:

=====================================
bin/reproducible_compare_Debian_sha1sums.sh
=====================================
@@ -54,8 +54,8 @@ reproducible_count=$(echo $reproducible_packages | wc -w)
 unreproducible_packages=$(awk '/^UNREPRODUCIBLE:/{print $2}' $log)
 unreproducible_count=$(echo $unreproducible_packages | wc -w)
 
-percent_repro=$(echo "scale=3 ; $reproducible_count / ($reproducible_count+$unreproducible_count)" | bc)
-percent_unrepro=$(echo "scale=3 ; $reproducible_count / ($reproducible_count+$unreproducible_count)" | bc)
+percent_repro=$(echo "scale=4 ; $reproducible_count / ($reproducible_count+$unreproducible_count) * 100" | bc)
+percent_unrepro=$(echo "scale=4 ; $reproducible_count / ($reproducible_count+$unreproducible_count) * 100" | bc)
 
 echo "-------------------------------------------------------------"
 echo "reproducible packages: $reproducible_count: $reproducible_packages"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/23551895c9a0f9a6ed8fd0a12408bfc8b27a29f6

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/23551895c9a0f9a6ed8fd0a12408bfc8b27a29f6
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/20190219/2352b4b3/attachment.html>


More information about the Qa-jenkins-scm mailing list