From fac844021d3108a9b7186020327485f7c95cbfd8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 17 Dec 2014 17:46:53 +0100 Subject: fixup last commit --- bin/reproducible_build.sh | 6 +++--- bin/reproducible_common.sh | 1 - bin/reproducible_html_dd_list.sh | 2 +- bin/reproducible_html_graphs.sh | 2 +- bin/reproducible_html_notes.sh | 6 +++--- bin/reproducible_json.sh | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 835fd802..75295492 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -31,7 +31,7 @@ unschedule_from_db() { touch -d $PREDATE /var/lib/jenkins/userContent/rb-pkg/${SRCPACKAGE}.html process_packages $SRCPACKAGE echo - echo "Successfully updated the database and updated $JENKINS_URL/userContent/rb-pkg/$SRCPACKAGE.html" + echo "Successfully updated the database and updated $REPRODUCIBLE_URL/userContent/rb-pkg/$SRCPACKAGE.html" echo } @@ -162,9 +162,9 @@ else rm -f $DBDCHROOT_READLOCK echo | tee -a ${RBUILDLOG} if [ $RESULT -eq 124 ] ; then - echo "$(date) - debbindiff was killed after running into timeouot... maybe there is still $JENKINS_URL/userContent/dbd/${LOGFILE}" | tee -a ${RBUILDLOG} + echo "$(date) - debbindiff was killed after running into timeouot... maybe there is still $REPRODUCIBLE_URL/userContent/dbd/${LOGFILE}" | tee -a ${RBUILDLOG} elif [ $RESULT -eq 1 ] ; then - DEBBINDIFFOUT="debbindiff found issues, please investigate $JENKINS_URL/userContent/dbd/${LOGFILE}" + DEBBINDIFFOUT="debbindiff found issues, please investigate $REPRODUCIBLE_URL/userContent/dbd/${LOGFILE}" fi if [ ! -f ./${LOGFILE} ] && [ -f b1/${BUILDINFO} ] ; then cp b1/${BUILDINFO} /var/lib/jenkins/userContent/buildinfo/ > /dev/null 2>&1 diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 5e3f6465..ba5bdb15 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -104,7 +104,6 @@ fi REPRODUCIBLE_URL=https://reproducible.debian.net DBDCHROOT_READLOCK=/var/lib/jenkins/reproducible-dbdchroot.readlock DBDCHROOT_WRITELOCK=/var/lib/jenkins/reproducible-dbdchroot.writelock - # shop trailing slash JENKINS_URL=${JENKINS_URL:0:-1} diff --git a/bin/reproducible_html_dd_list.sh b/bin/reproducible_html_dd_list.sh index ce29b54c..fa38cf26 100755 --- a/bin/reproducible_html_dd_list.sh +++ b/bin/reproducible_html_dd_list.sh @@ -28,7 +28,7 @@ while IFS= read -r LINE ; do if [ "$UPLOADERS" = "$PACKAGE" ] ; then UPLOADERS="" fi - write_page " $PACKAGE $UPLOADERS" + write_page " $PACKAGE $UPLOADERS" else LINE="$(echo $LINE | sed 's#&#\&#g ; s#<#\<#g ; s#>#\>#g')" write_page "$LINE" diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 02532fc2..5e5c9a19 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -171,7 +171,7 @@ for i in 0 1 3 ; do if [ "$i" = "3" ] ; then write_usertag_table fi - write_page " \"${MAINLABEL[$i]}\"" + write_page " \"${MAINLABEL[$i]}\"" # redo pngs once a day if [ ! -f /var/lib/jenkins/userContent/${TABLE[$i]}.png ] || [ -z $(find /var/lib/jenkins/userContent -maxdepth 1 -mtime +0 -name ${TABLE[$i]}.png) ] ; then redo_png diff --git a/bin/reproducible_html_notes.sh b/bin/reproducible_html_notes.sh index db5c0aeb..5679d2e2 100755 --- a/bin/reproducible_html_notes.sh +++ b/bin/reproducible_html_notes.sh @@ -83,7 +83,7 @@ issues_loop() { if [ "${p:0:2}" = "- " ] ; then p="${p:2}" fi - write_page "" + write_page "
Identifier:$p
" if [ "${ISSUES_URL[$p]}" != "" ] ; then write_page "" fi @@ -108,7 +108,7 @@ create_pkg_note() { # write_page_header() is not used as it contains the

tag... write_page "" write_page "" - write_page "" + write_page "" write_page "Notes for $1" write_page "" write_page "

Identifier:$p
URL${ISSUES_URL[$p]}
" @@ -350,7 +350,7 @@ if $VALID_YAML ; then write_page "" ISSUES=$(echo ${ISSUES} | sed -s "s# #\n#g" | sort | xargs echo) for ISSUE in ${ISSUES} ; do - write_page "" + write_page "" done write_page "
Identified issues
${ISSUE}
${ISSUE}
" else diff --git a/bin/reproducible_json.sh b/bin/reproducible_json.sh index df2727b5..1bbf0d19 100755 --- a/bin/reproducible_json.sh +++ b/bin/reproducible_json.sh @@ -41,6 +41,6 @@ done write_json "]" echo -echo "$(date) - $JENKINS_URL/userContent/reproducible.json has been updated." +echo "$(date) - $REPRODUCIBLE_URL/userContent/reproducible.json has been updated." mv $JSON /var/lib/jenkins/userContent/reproducible.json chmod 755 /var/lib/jenkins/userContent/reproducible.json -- cgit v1.2.3-54-g00ecf