[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible coreboot and openwrt: turn the 'reproducible?' headline into a statement if that's the case

Holger Levsen holger at moszumanska.debian.org
Sat Jun 13 09:22:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 74d068eb534bf14b597766b82e5138303f54b91e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Jun 13 11:21:58 2015 +0200

    reproducible coreboot and openwrt: turn the 'reproducible?' headline into a statement if that's the case
---
 bin/reproducible_coreboot.sh | 8 +++++++-
 bin/reproducible_openwrt.sh  | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index d431335..2dc98d5 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -228,6 +228,12 @@ done
 echo "       </ul>" >> $ROMS_HTML
 GOOD_PERCENT=$(echo "scale=1 ; ($GOOD_ROMS*100/$ALL_ROMS)" | bc)
 BAD_PERCENT=$(echo "scale=1 ; ($BAD_ROMS*100/$ALL_ROMS)" | bc)
+# are we there yet?
+if [ "$GOOD_PERCENT" = "100.0" ] ; then
+	MAGIC_SIGN="!"
+else
+	MAGIC_SIGN="?"
+fi
 
 #
 #  finally create the webpage
@@ -250,7 +256,7 @@ cat > $PAGE <<- EOF
         <p><center><img src="coreboot.png" width="300" class="alignnone size-medium wp-image-6" alt="coreboot" height="231" /><br />
         <blockquote>
 	  <br />
-          <strong>coreboot™</strong>: fast, flexible <em>and reproducible</em> Open Source firmware?
+          <strong>coreboot™</strong>: fast, flexible <em>and reproducible</em> Open Source firmware$MAGIC_SIGN
         </blockquote>
        </center></p>
 EOF
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index f8ac938..b94e1f0 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -249,6 +249,12 @@ for i in * ; do
 done
 echo "       </table>" >> $IMAGES_HTML
 GOOD_PERCENT=$(echo "scale=1 ; ($GOOD_IMAGES*100/$ALL_IMAGES)" | bc)
+# are we there yet?
+if [ "$GOOD_PERCENT" = "100.0" ] ; then
+	MAGIC_SIGN="!"
+else
+	MAGIC_SIGN="?"
+fi
 
 #
 #  finally create the webpage
@@ -272,7 +278,7 @@ EOF
 cat $(find openwrt/build_dir/ -name banner | grep etc/banner|head -1) >> $PAGE
 write_page "       </code></center></p>"
 write_page "     </div><div id=\"main-content\">"
-write_page "       <h1>Reproducible OpenWRT - <em>reproducible</em> wireless freedom?</h1>"
+write_page "       <h1>Reproducible OpenWRT - <em>reproducible</em> wireless freedom$MAGIC_SIGN</h1>"
 write_page "       <p><em>Reproducible builds</em> enable anyone to reproduce bit by bit identical binary packages from a given source, so that anyone can verify that a given binary derived from the source it was said to be derived. There is a lot more information about <a href=\"https://wiki.debian.org/ReproducibleBuilds\">reproducible builds on the Debian wiki</a> and on <a href=\"https://reproducible.debian.net\">https://reproducible.debian.net</a>. The wiki has a lot more information [...]
 write_page "        <em>Reproducible OpenWRT</em> is an effort to apply this to OpenWRT. Thus each OpenWR target is build twice, with a few varitations added and then the resulting images from the two builds are compared using <a href=\"https://tracker.debian.org/debbindiff\">debbindiff</a>. Please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild.</p>"
 write_page "       <p>There is a monthly run <a href=\"https://jenkins.debian.net/view/reproducible/job/reproducible_openwrt/\">jenkins job</a> to test the <code>master</code> branch of <a href=\"git://git.openwrt.org/openwrt.git\">openwrt.git</a>. Currently this job is triggered more often though, because this is still under development and brand new. The jenkins job is simply running <a href=\"http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_openwrt.sh\">r [...]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list