From f752a90d7caa1d43593bab022232ce9ae848c900 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 4 Oct 2011 19:04:21 +0000 Subject: add config options for maintdb --- MgaRepo/commands/maintdb.py | 2 +- mgarepo.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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/ + -- cgit v1.2.1