From 379420067139a2c8d71578e9d42b00d411f86336 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 16 Oct 2015 23:24:17 +0200 Subject: reproducible arch: build simple web page --- bin/reproducible_html_archlinux.sh | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 bin/reproducible_html_archlinux.sh (limited to 'bin/reproducible_html_archlinux.sh') diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh new file mode 100755 index 00000000..80f99ec2 --- /dev/null +++ b/bin/reproducible_html_archlinux.sh @@ -0,0 +1,53 @@ +#!/bin/bash + +# Copyright 2014-2015 Holger Levsen +# © 2015 Reiner Herrmann +# released under the GPLv=2 + +DEBUG=false +. /srv/jenkins/bin/common-functions.sh +common_init "$@" + +# common code defining db access +. /srv/jenkins/bin/reproducible_common.sh + +# +# finally create the webpage +# +PAGE=archlinux/archlinux.html +cat > $PAGE <<- EOF + + + + + Repoducible Archlinux ? + + +EOF +cd $BASE/archlinux +write_page "" +for PKG in $(ls * -d1) ; do + write_page " " + write_page " " + for LOG in build1.log build2.log ; do + if [ -f $PKG/$LOG ] ; then + write_page " " + else + write_page " " + fi + done + if [ -z "$(ls *.pkg.tar.xz.html 2>/dev/null)" ] ; then + write_page " " + else + write_page " " + fi +done + +write_page "
source packagetest date1st build log2nd build logdiffoscope output for binary packages
$PKG$(ls $PKG -dl|cut -d " " -f6-8)$LOG failed to build from source" + for ARTIFACT in *.pkg.tar.xz.html ; do + write_page " ${ARTIFACT:0:-5}
" + done + write_page "
" +write_page_footer Archlinux +publish_page + -- cgit v1.2.3-70-g09d2