[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian: store another idea

Holger Levsen gitlab at salsa.debian.org
Tue Feb 19 23:02:49 GMT 2019


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


Commits:
b26c60dd by Holger Levsen at 2019-02-19T21:24:44Z
reproducible Debian: store another idea

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

- - - - -
9d23ebea by Holger Levsen at 2019-02-19T23:02:37Z
reproducible Debian: include percentages for 'real' stats

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
=====================================
@@ -9,7 +9,10 @@
 # - loop through all packages
 # - show results in 'normal pages' 
 # - etc/a lot
+# - store date when a package was last reproduced... (and constantly do that...)
 
+echo
+echo
 echo 'this is an early prototype...'
 echo
 echo
@@ -48,9 +51,16 @@ 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)
+
 echo "-------------------------------------------------------------"
-echo reproducible packages: $reproducible_count: $reproducible_packages
+echo "reproducible packages: $reproducible_count: $reproducible_packages"
+echo
+echo "unreproducible packages: $unreproducible_count: $unreproducible_packages"
+echo
+echo "reproducible packages: $reproducible_count: ($percent_repro%)"
 echo
-echo unreproducible packages: $unreproducible_count: $unreproducible_packages
+echo "unreproducible packages: $unreproducible_count: ($percent_unrepro%)"
 
 rm $log



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/dd5dc5cd330ebd62fa7794f5b84704ab5beaf923...9d23ebea272bc21a865982a1d309666a9d37119c

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/dd5dc5cd330ebd62fa7794f5b84704ab5beaf923...9d23ebea272bc21a865982a1d309666a9d37119c
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/fa447e14/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list