From a8f7e0d214ba40dcecb96cbd2848aa670fe44d16 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Fri, 14 Aug 2009 18:36:44 +0200 Subject: Moved sample configuration files to examples/ dir --- examples/db_config.py | 8 ++++++++ examples/tinderbox_config.py | 17 +++++++++++++++++ src/db_config.py | 8 -------- src/tinderbox_config.py | 17 ----------------- 4 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 examples/db_config.py create mode 100644 examples/tinderbox_config.py delete mode 100644 src/db_config.py delete mode 100644 src/tinderbox_config.py diff --git a/examples/db_config.py b/examples/db_config.py new file mode 100644 index 0000000..627ce46 --- /dev/null +++ b/examples/db_config.py @@ -0,0 +1,8 @@ + +DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. +DATABASE_NAME = 'collagen' # Or path to database file if using sqlite3. +DATABASE_USER = 'username' # Not used with sqlite3. +DATABASE_PASSWORD = 'password' # Not used with sqlite3. +DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. +DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. +INSTALLED_APPS = ('collagen.matchbox.db.main') diff --git a/examples/tinderbox_config.py b/examples/tinderbox_config.py new file mode 100644 index 0000000..d6c1d48 --- /dev/null +++ b/examples/tinderbox_config.py @@ -0,0 +1,17 @@ +MATCHBOX_HOST="localhost" +MATCHBOX_PORT=10000 + +MK_CHROOT_SCRIPT="/usr/sbin/mktinderboxchroot.sh" +STAGE_TARBALL="/data/downloads/stage3-i686-2008.0.tar.bz2" + +WORKDIR="/data/temp" + +BASE_CHROOT=WORKDIR+"/collagen-base-chroot" +WORK_CHROOT=WORKDIR+"/collagen-work-chroot" + +CHROOT_LOGS="/logs" + +import logging as log +LOG_LEVEL=log.DEBUG + + diff --git a/src/db_config.py b/src/db_config.py deleted file mode 100644 index 627ce46..0000000 --- a/src/db_config.py +++ /dev/null @@ -1,8 +0,0 @@ - -DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. -DATABASE_NAME = 'collagen' # Or path to database file if using sqlite3. -DATABASE_USER = 'username' # Not used with sqlite3. -DATABASE_PASSWORD = 'password' # Not used with sqlite3. -DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. -DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. -INSTALLED_APPS = ('collagen.matchbox.db.main') diff --git a/src/tinderbox_config.py b/src/tinderbox_config.py deleted file mode 100644 index d6c1d48..0000000 --- a/src/tinderbox_config.py +++ /dev/null @@ -1,17 +0,0 @@ -MATCHBOX_HOST="localhost" -MATCHBOX_PORT=10000 - -MK_CHROOT_SCRIPT="/usr/sbin/mktinderboxchroot.sh" -STAGE_TARBALL="/data/downloads/stage3-i686-2008.0.tar.bz2" - -WORKDIR="/data/temp" - -BASE_CHROOT=WORKDIR+"/collagen-base-chroot" -WORK_CHROOT=WORKDIR+"/collagen-work-chroot" - -CHROOT_LOGS="/logs" - -import logging as log -LOG_LEVEL=log.DEBUG - - -- cgit v1.2.3-18-g5258