[Collab-qa-commits] r1237 - in udd: doc scripts

lucas at alioth.debian.org lucas at alioth.debian.org
Mon Sep 8 07:06:03 UTC 2008


Author: lucas
Date: 2008-09-08 07:06:00 +0000 (Mon, 08 Sep 2008)
New Revision: 1237

Modified:
   udd/doc/README
   udd/scripts/sync-data-from-udd.d.n.sh
Log:
more docs

Modified: udd/doc/README
===================================================================
--- udd/doc/README	2008-09-07 22:23:49 UTC (rev 1236)
+++ udd/doc/README	2008-09-08 07:06:00 UTC (rev 1237)
@@ -14,7 +14,10 @@
 - install postgresql-8.3 python-syck python-psycopg2 libdbi-perl
   libparams-validate-perl libdbd-pg-perl
 - setup postgresql-8.3 (see /usr/share/doc/postgresql-common/README.Debian.gz)
-  and create a database (naming it 'udd' will make things easier later)
+  and create a database:
+     createdb -U user -E SQL_ASCII udd
+  ASCII encoding is necessary because some of the data we will import might
+  contain invalid UTF-8 characters
 - edit config.yaml (see README.config for details)
 - setup the DB: psql udd < sql/setup.sql
 
@@ -22,7 +25,6 @@
 -----
 - run ./udd.py <configuration> update [ fetches the external data ]
 - run ./udd.py <configuration> run [ import the data into the DB ]
-FIXME document all commands.
 
 Detailed information
 --------------------

Modified: udd/scripts/sync-data-from-udd.d.n.sh
===================================================================
--- udd/scripts/sync-data-from-udd.d.n.sh	2008-09-07 22:23:49 UTC (rev 1236)
+++ udd/scripts/sync-data-from-udd.d.n.sh	2008-09-08 07:06:00 UTC (rev 1237)
@@ -4,12 +4,15 @@
 
 # directory where to put the mirrors 
 # (usually /org/udd.debian.net/mirrors/ )
+TARGET=$1
 
+# You will probably need to symlink /org/bugs.debian.org to
+# /org/udd.debian.net/mirrors/bugs.debian.org
+
 if [ $# -ne 1 ]; then
 	echo "missing arg"
 	exit 1
 fi
-TARGET=$1
 
 rsync -avzP \
 udd.debian.net:/org/udd.debian.net/mirrors/{qa.debian.org,bugs.debian.org} \




More information about the Collab-qa-commits mailing list