[Debian-l10n-commits] [SCM] Debian i18n - l10n development - dl10n robots branch, master, updated. 8da4cd530c413fef432090c964b5873818bb56fe

Nicolas François nicolas.francois at centraliens.net
Sun Jun 17 15:33:15 UTC 2012


The following commit has been merged in the master branch:
commit 27e55a90a68c97796a3c02e940fff5fc937ede53
Author: Nicolas François <nicolas.francois at centraliens.net>
Date:   Sun Jun 17 17:24:17 2012 +0200

    Use global dl10n.conf in spiderbts.
    
    * cron/spiderbts: Use dl10n.conf

diff --git a/Changelog b/Changelog
index aa24a92..6ade742 100644
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,6 @@
 2012-06-17  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* cron/spiderbts: Use dl10n.conf
 	* cron/spiderbts: Cleanups.
 	* cron/spiderbts: Update to the i18n.d.o layout.
 	* cron/spiderbts: Do not create the html directories, dl10n-html
diff --git a/cron/spiderbts b/cron/spiderbts
index 89df4ea..e5467de 100755
--- a/cron/spiderbts
+++ b/cron/spiderbts
@@ -4,21 +4,16 @@ set -e
 
 # spiderbts - Check the status of bugs attached to the messages tagged BTS.
 #             (it also check for new messages and update the coordination pages)
-I18NROOT=/srv/i18n.debian.org/
-DL10NDIR=$I18NROOT/dl10n/git
-LOGDIR=$I18NROOT/log/spiderbts
-LOGPREFIX=$LOGDIR/spiderbts.$(date "+%Y%m%d-%H%M")
-OUTDIR=$I18NROOT/dl10n/data/spiderbts
-TMPDB="$OUTDIR/data/tmp"
 
-export PERLLIB="$DL10NDIR/lib"
+PROGNAME=$(basename $0)
 
-OPTS="--check-bts"
+# Get global config and checks
+source $(dirname $0)/../etc/dl10n.conf
 
-mkdir -p "$LOGDIR"
-mkdir -p "$OUTDIR/data"
+OPTS="--check-bts"
 
 cd $OUTDIR
+TMPDB="$OUTDIR/data/tmp"
 
 # nl not supported
 for language in ar ca cs da de en es fr gl id it pt_BR ro ru sk sv tr; do

-- 
Debian i18n - l10n development - dl10n robots



More information about the Debian-l10n-commits mailing list