summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-25 09:53:01 +0200
committerErich Eckner <git@eckner.net>2018-05-25 09:53:01 +0200
commita8d6f44f3088bbcebb48754b8a0c8af2ed2ab8ce (patch)
tree6a64e5ce5a327e9c516f98e74f22166d20b812af /conf
parent0be03e8056755deaaf1492fa1df38907eade690e (diff)
downloadbuilder-a8d6f44f3088bbcebb48754b8a0c8af2ed2ab8ce.tar.xz
conf/default.conf: add TODOs
Diffstat (limited to 'conf')
-rwxr-xr-xconf/default.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/default.conf b/conf/default.conf
index e712034..daa1955 100755
--- a/conf/default.conf
+++ b/conf/default.conf
@@ -7,6 +7,10 @@
set -e
export LANG=C
+# TODO: This should become lib/load-configuration to avoid confusion.
+# Additionally, there should be conf/common.conf.example,
+# conf/master.conf.example and conf/slave.conf.example.
+
# dirty hack to get this stuff debugable from a bash
if [ "x${0##*/}" = "x-bash" ] || [ "x${0##*/}" = "xbash" ] || [ "x${0##*/}" = "xdash" ]; then
base_dir=$(pwd)
@@ -27,6 +31,7 @@ if pgrep -x mysqld >/dev/null 2>&1; then
. "${base_dir}/lib/mysql-functions"
fi
+# TODO: some of this should be read from the database instead
repo_names='packages community archlinux32'
repo_paths__packages="${work_dir}/repos/packages"
repo_paths__community="${work_dir}/repos/community"