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

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


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

    Further cleanup and initialization of languages.
    
    * cron/spiderinit: Cleanup.
    * cron/spiderinit: Activate Danish, Slovak, and Swedish
    * cron/spiderinit: Do not create the html directories, dl10n-html
    will create them if missing.

diff --git a/Changelog b/Changelog
index 53c58f6..9ef7ebf 100644
--- a/Changelog
+++ b/Changelog
@@ -5,6 +5,9 @@
 	and Romanian mailing lists.
 	* cron/spiderinit: Fix display of error messages.
 	* cron/spiderinit: Cleanup.
+	* cron/spiderinit: Activate Danish, Slovak, and Swedish
+	* cron/spiderinit: Do not create the html directories, dl10n-html
+	will create them if missing.
 
 2012-06-17  Nicolas François  <nicolas.francois at centraliens.net>
 
diff --git a/cron/spiderinit b/cron/spiderinit
index e6e3961..e328819 100755
--- a/cron/spiderinit
+++ b/cron/spiderinit
@@ -19,11 +19,9 @@ source $(dirname $0)/../etc/dl10n.conf
 # OUTDIR overwritten, where to put produced data ?
 OUTDIR=$I18NROOT/htdocs/coordination
 
+mkdir -p "$LOGDIR"
 mkdir -p "$OUTDIR/data"
 
-#mkdir -p html/include
-#mkdir -p include
-
 export PERLLIB="$DL10NDIR/lib"
 export PATH=$DL10NDIR:$PATH
 TMPDB="$TMP/temp.db"
@@ -59,23 +57,22 @@ run_all () {
 	run_spider ar 2011 11
 	run_spider ar 2012 02
 	run_spider ar 2012 06
-	mkdir -p "$OUTDIR/html/arabic"
 
 	# ca uses their own robot, but all mails are sent to the list
 	# No preferred start date
 	run_spider ca 2001 08
-	mkdir -p "$OUTDIR/html/catalan"
 
 	# Czech are not using the robot, but bubulle is tagging reported bugs
 	run_spider cs 2010 10
-	mkdir -p "$OUTDIR/html/czech"
+
+	# Christian started filling BTS mails in January 2012
+	run_spider da 2012 01
 
 	if [ "$FAST" = 1 ]; then
 		run_spider de 2006 01
 	else
 		run_spider de 2003 01
 	fi
-	mkdir -p "$OUTDIR/html/german"
 
 	# Not used for translation, but coordination needed.
 	# No preferred start date
@@ -88,7 +85,6 @@ run_all () {
 		run_spider en 2003 03
 		run_spider en 2005 09
 	fi
-	mkdir -p "$OUTDIR/html/english"
 
 	# No preferred start date
 	if [ "$FAST" = 1 ]; then
@@ -98,23 +94,21 @@ run_all () {
 		run_spider es 1999 02
 		run_spider es 1999 11
 	fi
-	mkdir -p "$OUTDIR/html/spanish"
 
 	if [ "$FAST" = 1 ]; then
 		run_spider fr 2006 01
 	else
 		run_spider fr 1998 11
 	fi
-	mkdir -p "$OUTDIR/html/french"
 
 	run_spider gl 2011 07
 	run_spider gl 2011 10
 	run_spider gl 2012 01
 	run_spider gl 2012 05
-	mkdir -p "$OUTDIR/html/galician"
 
 	run_spider id 2011 12
-	mkdir -p "$OUTDIR/html/indonesian"
+
+	run_spider it 2012 01
 
 	# The Dutch team uses another robot.
 	# The mailing list do not received all the mails.
@@ -134,7 +128,6 @@ run_all () {
 		run_spider pt_BR 2000 08
 		run_spider pt_BR 2001 03
 	fi
-	mkdir -p "$OUTDIR/html/brazilian"
 
 	if [ "$FAST" = 1 ]; then
 		run_spider ro 2007 01
@@ -144,12 +137,12 @@ run_all () {
 	run_spider ro 2010 03
 	run_spider ro 2011 07
 	run_spider ro 2011 11
-	mkdir -p "$OUTDIR/html/romanian"
 
 	run_spider ru 2009 02
-	mkdir -p "$OUTDIR/html/russian"
 
-	mkdir -p "$OUTDIR/html/swedish"
+	run_spider sk 2011 08
+
+	run_spider sv 2008 09
 
 	if [ "$FAST" = 1 ]; then
 		run_spider tr 2012 02
@@ -159,7 +152,6 @@ run_all () {
 		run_spider tr 2010 10
 		run_spider tr 2011 08
 	fi
-	mkdir -p "$OUTDIR/html/turkish"
 }
 
 run_all >> $LOGPREFIX.log 2>> $LOGPREFIX.err
@@ -173,7 +165,7 @@ run_all >> $LOGPREFIX.log 2>> $LOGPREFIX.err
 cd $OUTDIR
 
 # nl
-for language in ar ca cs de en es fr gl id pt_BR ro ru tr; do
+for language in ar ca cs da de en es fr gl id pt_BR ro ru sk sv tr; do
   if [ -f "$OUTDIR/data/status.$language" ]; then
     cp "$OUTDIR/data/status.$language" "$TMPDB"
   fi

-- 
Debian i18n - l10n development - dl10n robots



More information about the Debian-l10n-commits mailing list