[Debian-l10n-commits] r2880 - in /dl10n/trunk: Changelog cron/ cron/dl10n-txt-testing cron/gen-material cron/genpts cron/nmu-update cron/spiderbts cron/spiderinit cron/spiderinit.2006 etc/ etc/gen-material.cfg
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Fri Jun 15 17:38:38 UTC 2012
Author: nekral-guest
Date: Fri Jun 15 17:38:37 2012
New Revision: 2880
URL: http://svn.debian.org/wsvn/?sc=1&rev=2880
Log:
Added files from Churro (no update to i18n.d.o):
* etc/gen-material.cfg: Configuration for gen-material
* cron/gen-material: Generate the unstable or testing materials
* cron/genpts: Generate the PTS data
* cron/spiderbts: Parse mailing lists on the web
* cron/spiderinit: Initialize the per language status database
* cron/spiderinit.2006: Faster version not starting from the
creation of mailing lists
* cron/nmu-update: Generate the NMU radar pages
* cron/dl10n-txt-testing: Generate text reports for testing.
Added:
dl10n/trunk/cron/
dl10n/trunk/cron/dl10n-txt-testing (with props)
dl10n/trunk/cron/gen-material (with props)
dl10n/trunk/cron/genpts (with props)
dl10n/trunk/cron/nmu-update (with props)
dl10n/trunk/cron/spiderbts (with props)
dl10n/trunk/cron/spiderinit (with props)
dl10n/trunk/cron/spiderinit.2006 (with props)
dl10n/trunk/etc/
dl10n/trunk/etc/gen-material.cfg (with props)
Modified:
dl10n/trunk/Changelog
Modified: dl10n/trunk/Changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/Changelog?rev=2880&op=diff
==============================================================================
--- dl10n/trunk/Changelog (original)
+++ dl10n/trunk/Changelog Fri Jun 15 17:38:37 2012
@@ -1,3 +1,16 @@
+2012-06-15 Nicolas François <nicolas.francois at centraliens.net>
+
+ Added files from Churro (no update to i18n.d.o):
+ * etc/gen-material.cfg: Configuration for gen-material
+ * cron/gen-material: Generate the unstable or testing materials
+ * cron/genpts: Generate the PTS data
+ * cron/spiderbts: Parse mailing lists on the web
+ * cron/spiderinit: Initialize the per language status database
+ * cron/spiderinit.2006: Faster version not starting from the
+ creation of mailing lists
+ * cron/nmu-update: Generate the NMU radar pages
+ * cron/dl10n-txt-testing: Generate text reports for testing.
+
2012-06-15 Nicolas François <nicolas.francois at centraliens.net>
* dl10n-rrd/manpages-rrd.pl: No more mipsel in testing & unstable.
Added: dl10n/trunk/cron/dl10n-txt-testing
URL: http://svn.debian.org/wsvn/dl10n/trunk/cron/dl10n-txt-testing?rev=2880&op=file
==============================================================================
--- dl10n/trunk/cron/dl10n-txt-testing (added)
+++ dl10n/trunk/cron/dl10n-txt-testing Fri Jun 15 17:38:37 2012
@@ -1,0 +1,21 @@
+#!/bin/bash
+
+# dl10n-txt-testing - Check the status of podebconf translations in testing
+
+DL10NDIR=/srv/dl10n-stuff/svn/dl10n
+LOGDIR=/srv/dl10n-stuff/log
+LOGPREFIX=$LOGDIR/spiderbts.cron.$(date "+%Y%m%d-%H%M")
+OUTDIR=/srv/i18n.debian.net/www/debian-l10n-coordination
+LANGUAGES="fr ru de pt sv cs es"
+
+umask 0002
+
+#mkdir -p $LOGDIR
+mkdir -p $OUTDIR
+
+OPTS=""
+
+cd $DL10NDIR
+
+PERLLIB=lib ./dl10n-txt --todo --empty --db /srv/i18n.debian.net/www/debian-l10n-material/data/testing.gz --show podebconf $LANGUAGES > $OUTDIR/l10n-testing.txt
+
Propchange: dl10n/trunk/cron/dl10n-txt-testing
------------------------------------------------------------------------------
svn:executable = *
Added: dl10n/trunk/cron/gen-material
URL: http://svn.debian.org/wsvn/dl10n/trunk/cron/gen-material?rev=2880&op=file
==============================================================================
--- dl10n/trunk/cron/gen-material (added)
+++ dl10n/trunk/cron/gen-material Fri Jun 15 17:38:37 2012
@@ -1,0 +1,72 @@
+#! /bin/sh
+
+#set -x
+
+test -x /srv/dl10n-stuff/bin/gen-material.cfg && . /srv/dl10n-stuff/bin/gen-material.cfg
+
+d=$1
+shift
+
+if [ -z "$d" ]
+then
+ echo "Usage: $0 <distribution>"
+ exit 1
+fi
+
+PERLLIB=$dl10ndir/lib
+export PERLLIB
+
+umask 0002
+
+test -d $destdir/data || mkdir -p $destdir/data
+
+# wordtrans: tarball has a link debian/control -> control-kde
+# and thus cannot be processed by transmonitor-check
+# kernel-image-2.4.27-m68k: likewise (2.4.27-3)
+# debian-med: likewise (0.10.1)
+# kde-i18n: too large and is handled by KDE folks anyway
+# pptpd: see 209082
+# fortunes-bg: tarball has a link debian -> .
+# gcc-mingw-w64: tarball has a link debian/control -> control.full
+
+# To restrict the package names grep-dctrl -n -s Directory,Files -P -e '^[a-c]'
+# WARNING: grep-dctrl seems to be different in woody and sarge
+# WARNING: one or two N are needed!
+gzip -dc $mirrordir/dists/$d/main/source/Sources.gz \
+ $mirrordir/dists/$d/contrib/source/Sources.gz \
+ $mirrordir/dists/$d/non-free/source/Sources.gz \
+ | grep-dctrl -n -s Directory,Files '' \
+ | sed -n -e '/^pool\//{N;N;s/\n.* /\//g;p;}' \
+ | sed -e "s,^,$mirrordir/," \
+ | grep -v /kde-i18n/ \
+ | grep -v /wordtrans/ \
+ | grep -v /kernel-image-2.4.27-m68k/ \
+ | grep -v /debian-med/ \
+ | grep -v /manpages \
+ | grep -v /pptpd/ \
+ | grep -v /eliom/ \
+ | grep -v /fortunes-bg/ \
+ | grep -v /gcc-mingw-w64/ \
+ | $dl10ndir/dl10n-check \
+ --remove-unused \
+ --files-from=- \
+ --tmp=$tmpdir \
+ --db=$destdir/data/$d.gz \
+ --po=$destdir/po/$d \
+ --templates=$destdir/templates/$d \
+ --menu=$destdir/menu/$d $*
+
+cd $destdir
+rm -f po-debconf-$d.tar.new.gz
+:> po-debconf-$d.tar.new
+find po/$d/ -type f \
+ | LC_ALL=C sort \
+ | grep debian/po/ \
+ | xargs tar rf po-debconf-$d.tar.new
+gzip po-debconf-$d.tar.new
+mv -f po-debconf-$d.tar.new.gz po-debconf-$d.tar.gz
+
+tar cf po-$d.tar.new po/$d
+mv -f po-$d.tar.new po-$d.tar
+
+chgrp -R debian-i18n-robots $destdir/*
Propchange: dl10n/trunk/cron/gen-material
------------------------------------------------------------------------------
svn:executable = *
Added: dl10n/trunk/cron/genpts
URL: http://svn.debian.org/wsvn/dl10n/trunk/cron/genpts?rev=2880&op=file
==============================================================================
--- dl10n/trunk/cron/genpts (added)
+++ dl10n/trunk/cron/genpts Fri Jun 15 17:38:37 2012
@@ -1,0 +1,21 @@
+#!/bin/bash
+
+# genpts - Generate the data for the PTS links
+
+DL10NDIR=/srv/dl10n-stuff/svn/dl10n
+OUTDIR=/srv/i18n.debian.net/www/l10n-pkg-status
+STAT_DATABASE=/srv/i18n.debian.net/www/debian-l10n-material/data/unstable.gz
+
+umask 0002
+
+cd $DL10NDIR
+
+rm -rf "$OUTDIR"/*
+
+mkdir "$OUTDIR/img"
+cp html/translated.png html/fuzzy.png html/untranslated.png "$OUTDIR/img"
+
+PERLLIB=lib ./dl10n-pts \
+ --db "$STAT_DATABASE" \
+ --gendir "$OUTDIR"
+
Propchange: dl10n/trunk/cron/genpts
------------------------------------------------------------------------------
svn:executable = *
Added: dl10n/trunk/cron/nmu-update
URL: http://svn.debian.org/wsvn/dl10n/trunk/cron/nmu-update?rev=2880&op=file
==============================================================================
--- dl10n/trunk/cron/nmu-update (added)
+++ dl10n/trunk/cron/nmu-update Fri Jun 15 17:38:37 2012
@@ -1,0 +1,28 @@
+#!/bin/bash
+
+set -e
+
+DL10NDIR=/srv/dl10n-stuff/svn/dl10n
+LOGDIR=/srv/dl10n-stuff/log
+LOGPREFIX=$LOGDIR/dl10n-nmu.cron.$(date "+%Y%m%d-%H%M")
+OUTDIR=/srv/i18n.debian.net/www/debian-l10n-coordination/l10n-nmu/
+
+cd $DL10NDIR
+
+umask 0002
+
+rm -f data/by_inst
+wget -P data -o /dev/null http://popcon.debian.org/source/by_inst || {
+ echo "Failed to download http://popcon.debian.org/source/by_inst"
+ exit 1
+}
+
+PERLLIB=lib ./dl10n-nmu > $LOGPREFIX.log 2> $LOGPREFIX.err
+
+cat $LOGPREFIX.err
+chgrp debian-i18n-users $LOGPREFIX.log $LOGPREFIX.err
+
+chgrp debian-i18n-robots html/nmu*.html data/status.nmu data/by_inst
+
+cp html/nmu*.html $OUTDIR
+
Propchange: dl10n/trunk/cron/nmu-update
------------------------------------------------------------------------------
svn:executable = *
Added: dl10n/trunk/cron/spiderbts
URL: http://svn.debian.org/wsvn/dl10n/trunk/cron/spiderbts?rev=2880&op=file
==============================================================================
--- dl10n/trunk/cron/spiderbts (added)
+++ dl10n/trunk/cron/spiderbts Fri Jun 15 17:38:37 2012
@@ -1,0 +1,52 @@
+#!/bin/bash
+
+# spiderbts - Check the status of bugs attached to the messages tagged BTS.
+# (it also check for new messages and update the coordination pages)
+DL10NDIR=/srv/dl10n-stuff/svn/dl10n
+LOGDIR=/srv/dl10n-stuff/log
+LOGPREFIX=$LOGDIR/spiderbts.cron.$(date "+%Y%m%d-%H%M")
+OUTDIR=/srv/i18n.debian.net/www/debian-l10n-coordination
+
+umask 0002
+
+mkdir -p $LOGDIR
+mkdir -p $OUTDIR
+
+OPTS="--check-bts"
+#OPTS=""
+
+cd $DL10NDIR
+
+mkdir -p html/include
+mkdir -p data
+mkdir -p include
+# dutch not supported
+mkdir -p html/{arabic,catalan,czech,danish,english,german,spanish,french,galician,indonesian,italian,brazilian,romanian,russian,slovak,swedish,turkish}
+
+# 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
+ # If the status file does not exist, initialize it, with today as starting date
+ # otherwise nothing will happen
+ # example: PERLLIB=lib ./dl10n-spider --year=2006 --month=01 --message=0 it
+ if [ ! -f data/status.$language ]
+ then
+ echo "You need to initialize data/status.$language"
+ fi
+ echo "Running dl10n-spider ($language)..." >> $LOGPREFIX.log
+ PERLLIB=lib ./dl10n-spider $OPTS $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-users html/* include/ $LOGPREFIX.log $LOGPREFIX.err
+
+# Install the new HTML pages
+# dutch not supported
+cp -r html/{arabic,catalan,czech,danish,english,german,spanish,french,galician,indonesian,italian,brazilian,romanian,russian,slovak,swedish,turkish} $OUTDIR/
+
Propchange: dl10n/trunk/cron/spiderbts
------------------------------------------------------------------------------
svn:executable = *
Added: dl10n/trunk/cron/spiderinit
URL: http://svn.debian.org/wsvn/dl10n/trunk/cron/spiderinit?rev=2880&op=file
==============================================================================
--- dl10n/trunk/cron/spiderinit (added)
+++ dl10n/trunk/cron/spiderinit Fri Jun 15 17:38:37 2012
@@ -1,0 +1,112 @@
+#!/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
+
+mkdir -p html/include
+mkdir -p data
+mkdir -p include
+mkdir -p html/{arabic,catalan,czech,english,german,spanish,french,galician,indonesian,dutch,portuguese_BRAZIL,romanian,turkish}
+
+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
+
+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
+
+echo "Running dl10n-spider (cs 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 2003-Jan)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2003 --month=01 --message=0 de >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+
+echo "Running dl10n-spider (en 2001-Aug)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2001 --month=08 --message=0 en >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (en 2001-Dec)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2001 --month=12 --message=0 en >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (en 2002-Oct)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2002 --month=10 --message=0 en >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (en 2003-Mar)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2003 --month=03 --message=0 en >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (en 2005-Sep)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2005 --month=09 --message=0 en >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+
+echo "Running dl10n-spider (es 1997-Aug)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=1997 --month=08 --message=0 es >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (es 1999-Feb)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=1999 --month=02 --message=0 es >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (es 1999-Nov)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=1999 --month=11 --message=0 es >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+
+echo "Running dl10n-spider (fr 1998-Nov)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=1998 --month=11 --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
+
+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
+
+echo "Running dl10n-spider (pt_BR 1999-Jul)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=1999 --month=07 --message=0 pt_BR >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (pt_BR 2000-Jan)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2000 --month=01 --message=0 pt_BR >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (pt_BR 2000-Aug)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2000 --month=08 --message=0 pt_BR >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (pt_BR 2001-Mar)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2001 --month=03 --message=0 pt_BR >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+
+echo "Running dl10n-spider (ro 2005-Jan)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2005 --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 2003-May)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2003 --month=05 --message=0 tr >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (tr 2007-Sep)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2007 --month=09 --message=0 tr >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (tr 2010-Jan)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2010 --month=10 --message=0 tr >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+echo "Running dl10n-spider (tr 2011-Aug)..." >> $LOGPREFIX.log
+PERLLIB=lib ./dl10n-spider --year=2011 --month=08 --message=0 tr >> $LOGPREFIX.log 2>> $LOGPREFIX.err
+
+
+# Now check the BTS and build the HTML pages.
+for language in ar ca de en es fr gl id nl 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
+chmod -R g+w html/ include/ $LOGPREFIX.log $LOGPREFIX.err
+
+# Install the HTML pages
+cp -r html/{arabic,catalan,english,german,spanish,french,galician,indonesian,dutch,portuguese_BRAZIL,romanian,turkish} $OUTPUTDIR/
+
Propchange: dl10n/trunk/cron/spiderinit
------------------------------------------------------------------------------
svn:executable = *
Added: dl10n/trunk/cron/spiderinit.2006
URL: http://svn.debian.org/wsvn/dl10n/trunk/cron/spiderinit.2006?rev=2880&op=file
==============================================================================
--- dl10n/trunk/cron/spiderinit.2006 (added)
+++ dl10n/trunk/cron/spiderinit.2006 Fri Jun 15 17:38:37 2012
@@ -1,0 +1,97 @@
+#!/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/
+
Propchange: dl10n/trunk/cron/spiderinit.2006
------------------------------------------------------------------------------
svn:executable = *
Added: dl10n/trunk/etc/gen-material.cfg
URL: http://svn.debian.org/wsvn/dl10n/trunk/etc/gen-material.cfg?rev=2880&op=file
==============================================================================
--- dl10n/trunk/etc/gen-material.cfg (added)
+++ dl10n/trunk/etc/gen-material.cfg Fri Jun 15 17:38:37 2012
@@ -1,0 +1,12 @@
+# Location of the mirror
+mirrordir=/mnt/mirror/mirror-sources-debian/
+
+# Location of the dl10n checkout
+dl10ndir=/srv/dl10n-stuff/svn/dl10n/
+
+# Location where the l10n material will be extracted
+# $destdir should be publicly available.
+destdir=/srv/i18n.debian.net/www/debian-l10n-material/
+
+# Temporary directory where the packages are extracted
+tmpdir=/srv/i18n.debian.net/tmp/gen-material/
Propchange: dl10n/trunk/etc/gen-material.cfg
------------------------------------------------------------------------------
svn:executable = *
More information about the Debian-l10n-commits
mailing list