From 2a31967b96677472252d66bd54cc1e5b743c7a0d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 9 Dec 2015 11:09:50 +0100 Subject: reproducible archlinux: refactor html --- bin/reproducible_html_archlinux.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'bin/reproducible_html_archlinux.sh') diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index db06df23..0fd018ee 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -41,31 +41,31 @@ write_page " " write_page " " + write_page " " + write_page " could not resolve dependencies" elif [ ! -z "$(egrep '==> ERROR: .pacman. failed to install missing dependencies.' $ARCHBASE/$PKG/build1.log)" ] ; then - write_page " " + write_page " failed to install dependencies" elif [ ! -z "$(egrep '==> ERROR: A failure occurred in (build|package)' $ARCHBASE/$PKG/build1.log)" ] ; then - write_page " " + write_page " failed to build from source" elif [ ! -z "$(egrep '==> ERROR: A failure occurred in check' $ARCHBASE/$PKG/build1.log)" ] ; then - write_page " " + write_page " failed to build from source, while running tests" elif [ ! -z "$(egrep '==> ERROR: Failure while downloading' $ARCHBASE/$PKG/build1.log)" ] ; then - write_page " " + write_page " failed to download source" elif [ ! -z "$(egrep '==> ERROR: One or more files did not pass the validity check' $ARCHBASE/$PKG/build1.log)" ] ; then - write_page " " + write_page " failed to verify source" elif [ ! -z "$(egrep 'makepkg was killed by timeout after 4h' $ARCHBASE/$PKG/build1.log)" ] ; then - write_page " " + write_page " failed to build, killed by timeout after 4h" else - write_page " " + write_page " probably failed to build from source, please investigate" fi else - write_page " " fi + write_page " " write_page " " for LOG in build1.log build2.log ; do if [ -f $ARCHBASE/$PKG/$LOG ] ; then -- cgit v1.2.3-54-g00ecf
source packagetest resulttest d for PKG in $(find $ARCHBASE/* -maxdepth 1 -type d -exec basename {} \;) ; do write_page "
$PKG" if [ -z "$(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html 2>/dev/null)" ] ; then if [ ! -z "$(grep '==> ERROR: Could not resolve all dependencies' $ARCHBASE/$PKG/build1.log)" ] ; then - write_page " could not resolve dependenciesfailed to install dependenciesfailed to build from sourcefailed to build from source, while running testsfailed to download sourcefailed to verify sourcefailed to build, killed by timeout after 4hprobably failed to build from source, please investigate" for ARTIFACT in $(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html) ; do - write_page " ${ARTIFACT:0:-5}is unreproducible
" + write_page " ${ARTIFACT:0:-5}is unreproducible
" done - write_page "
$(ls -dl $ARCHBASE/$PKG/build1.log|cut -d " " -f6-8)