X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.variables;h=000697fa71ec96dd6f0282972dbb491a9abe0b58;hb=7461bfcbebaba6b6734c5b568e49f256bd0bb41c;hp=be5b382a3e228fbf191fc930cf9bede585aa2657;hpb=9a14adff2ca4e7a5346c0c3b5723d9959022291a;p=dak.git diff --git a/config/debian/dinstall.variables b/config/debian/dinstall.variables index be5b382a..000697fa 100644 --- a/config/debian/dinstall.variables +++ b/config/debian/dinstall.variables @@ -1,11 +1,9 @@ +# -*- mode:sh -*- # usually we are not using debug logs. Set to 1 if you want them. DEBUG=0 -# our name -PROGRAM="dinstall" - # where do we want mails to go? For example log entries made with error() -if [ "x$(hostname -s)x" != "xriesx" ]; then +if [[ ${HOSTNAME} != franck ]]; then # Not our ftpmaster host MAILTO=${MAILTO:-"root"} else @@ -21,15 +19,12 @@ DINSTALLSTART="${lockdir}/dinstallstart" # Marker for dinstall end DINSTALLEND="${lockdir}/dinstallend" -# lock cron.unchecked (it immediately exits when this exists) -LOCK_DAILY="$lockdir/daily.lock" +# Timestamp for start +DINSTALLBEGIN="$(date -u +"%a %b %d %T %Z %Y (%s)")" # Lock cron.unchecked from doing work LOCK_ACCEPTED="$lockdir/unchecked.lock" -# Lock process-new from doing work -LOCK_NEW="$lockdir/processnew.lock" - # This file is simply used to indicate to britney whether or not # the Packages file updates completed sucessfully. It's not a lock # from our point of view @@ -38,3 +33,28 @@ LOCK_BRITNEY="$lockdir/britney.lock" # If this file exists we exit immediately after the currently running # function is done LOCK_STOP="$lockdir/archive.stop" + +# Lock buildd updates +LOCK_BUILDD="$lockdir/buildd.lock" + +# Lock changelog updates +LOCK_CHANGELOG="$lockdir/changelog.lock" + +# Statefile for the users +DINSTALLSTATE="${webdir}/dinstall.status" + +# dists for which we import external data (i18n, dep11) +# as thats usually testing and unstable, but we need codenames, +# get em out of the db. +extimportdists="" +for suite in testing unstable; do + codename=$(dak admin s show ${suite}|grep '^Codename') + codename=${codename##* } + extimportdists="${extimportdists} ${codename}" +done + +# Common wget options +wgetopts="-t2 -T20 -q -N --ca-directory=/etc/ssl/ca-debian" + +# dinstall wants timestamps added to stage logs +TIMESTAMP=true