aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-04 19:04:21 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-04 19:04:21 +0000
commitf752a90d7caa1d43593bab022232ce9ae848c900 (patch)
treed4839834edf7fa774e8690c6a4bd0c9739bdfa12
parent509b8b6f5b292dc2917d17761801939818e119cc (diff)
downloadmgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar
mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.gz
mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.bz2
mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.xz
mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.zip
add config options for maintdb
-rw-r--r--MgaRepo/commands/maintdb.py2
-rw-r--r--mgarepo.conf4
2 files changed, 5 insertions, 1 deletions
diff --git a/MgaRepo/commands/maintdb.py b/MgaRepo/commands/maintdb.py
index 1e5ad80..08bf723 100644
--- a/MgaRepo/commands/maintdb.py
+++ b/MgaRepo/commands/maintdb.py
@@ -31,7 +31,7 @@ def parse_options():
return opts
def maintdb(maintdb_args):
- host = config.get("submit", "host")
+ host = config.get("maintdb", "host", "maintdb.mageia.org")
maintdb_helper = get_helper("maintdb")
cmd_args = ' '.join(maintdb_args)
command = "ssh %s %s %s" % (host, maintdb_helper, cmd_args)
diff --git a/mgarepo.conf b/mgarepo.conf
index 325c7db..fe93317 100644
--- a/mgarepo.conf
+++ b/mgarepo.conf
@@ -23,3 +23,7 @@ default = Cauldron
download_url = http://binrepo.mageia.org/
upload_host = binrepo.mageia.org
+[maintdb]
+host = maintdb.mageia.org
+url = http://maintdb.mageia.org/
+