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

Nicolas François nicolas.francois at centraliens.net
Sat Jun 16 22:38:02 UTC 2012


The following commit has been merged in the master branch:
commit 002776d46145e4a8e6828fef6d6475a7e0c42b07
Author: Nicolas François <nicolas.francois at centraliens.net>
Date:   Sun Jun 17 00:32:59 2012 +0200

    Remove spiderinit.2006: use spiderinit with FAST for speedup.
    
    * cron/spiderinit.2006: Removed: use cron/spiderinit with FAST set
    to 1 (default).

diff --git a/Changelog b/Changelog
index 1ab49a1..416c4d9 100644
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,10 @@
 2012-06-17  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* cron/spiderinit.2006: Removed: use cron/spiderinit with FAST set
+	to 1 (default).
+
+2012-06-17  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* cron/spiderinit: Added intermediate checkpoint for the Arabic
 	mailing list.
 	* cron/spiderinit: Update to the i18n.d.o layout.
diff --git a/cron/spiderinit.2006 b/cron/spiderinit.2006
deleted file mode 100755
index 384656f..0000000
--- a/cron/spiderinit.2006
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/bash
-
-# spiderinit - Initialize the spider databases.
-# It looks for all the messages in the mailing lists, since their creation.
-# This takes a long time to build the database
-# TODO: dl10n-spider needs to be run multiple time because it stops when no
-#       messages are sent during a month. It should check the current date and
-#       move to the next month.
-
-MAINDIR=/srv/dl10n-stuff/svn/dl10n
-LOGDIR=/srv/dl10n-stuff/log
-LOGPREFIX=$LOGDIR/spider.cron.$(date "+%Y%m%d-%H%M")
-OUTDIR=/srv/i18n.debian.net/www/debian-l10n-coordination
-
-cd $MAINDIR
-umask 0002
-
-mkdir -p html/include
-mkdir -p data
-mkdir -p include
-mkdir -p html/{arabic,catalan,czech,english,german,spanish,french,galician,indonesian,brazilian,romanian,russian,swedish,turkish}
-
-# No preferred start date
-echo "Running dl10n-spider (ar 2005-Apr)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2005 --month=03 --message=0 ar >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-echo "Running dl10n-spider (ar 2007-Sep)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2007 --month=09 --message=0 ar >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-# ca uses their own robot, but all mails are sent to the list
-# No preferred start date
-echo "Running dl10n-spider (ca 2001-Aug)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2001 --month=08 --message=0 ca >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-# Czech are not using the robot, but bubulle is tagging reported bugs
-echo "Running dl10n-spider (cz 2010-Oct)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2010 --month=10 --message=0 cs >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-echo "Running dl10n-spider (de 2006-Jan)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2006 --month=01 --message=0 de >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-# Not used for translation, but coordination needed.
-# No preferred start date
-echo "Running dl10n-spider (en 2006-Sep)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2006 --month=01 --message=0 en >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-# No preferred start date
-echo "Running dl10n-spider (es 2004-Jan)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2004 --month=01 --message=0 es >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-echo "Running dl10n-spider (fr 2006-Jan)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2006 --month=01 --message=0 fr >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-echo "Running dl10n-spider (gl 2011-07)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2011 --month=07 --message=0 gl >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-echo "Running dl10n-spider (id 2010-12)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2011 --month=12 --message=0 id >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-# The Dutch team uses another robot.
-# The mailing list do not received all the mails.
-##echo "Running dl10n-spider (nl 2000-Aug)..." >> $LOGPREFIX.log
-##PERLLIB=lib ./dl10n-spider --year=2000 --month=11 --message=0 nl >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-##echo "Running dl10n-spider (nl 2002-Jan)..." >> $LOGPREFIX.log
-##PERLLIB=lib ./dl10n-spider --year=2002 --month=01 --message=0 nl >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-# No preferred start date
-echo "Running dl10n-spider (pt_BR 2006-Jan)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2006 --month=01 --message=0 pt_BR >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-echo "Running dl10n-spider (ro 2007-Jan)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2007 --month=01 --message=0 ro >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-echo "Running dl10n-spider (ru 2009-Feb)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2009 --month=02 --message=0 ru >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-echo "Running dl10n-spider (tr 2012-Feb)..." >> $LOGPREFIX.log
-PERLLIB=lib ./dl10n-spider --year=2012 --month=02 --message=0 tr >> $LOGPREFIX.log 2>> $LOGPREFIX.err
-
-# Now check the BTS and build the HTML pages.
-for language in ar ca cs de en es fr gl id pt_BR ro ru tr; do
-  echo "Running dl10n-spider ($language)..."       >> $LOGPREFIX.log
-  PERLLIB=lib ./dl10n-spider --check-bts $language >> $LOGPREFIX.log \
-                                                  2>> $LOGPREFIX.err
-  echo "Running dl10n-html ($language)..."         >> $LOGPREFIX.log
-  PERLLIB=lib ./dl10n-html $language               >> $LOGPREFIX.log \
-                                                  2>> $LOGPREFIX.err
-done
-
-# Only display the errors to the cronjob subscribers
-cat $LOGPREFIX.err
-
-# Do some cleanups
-chgrp -R debian-i18n-robots html/ include $LOGPREFIX.log $LOGPREFIX.err
-
-# Install the HTML pages
-cp -r html/{arabic,catalan,czech,english,german,spanish,french,galician,indonesian,brazilian,romanian,russian,swedish} $OUTDIR/
-

-- 
Debian i18n - l10n development - dl10n robots



More information about the Debian-l10n-commits mailing list