Hello,
today I pushed the following patch to master:
commit 1bdaf24 (HEAD, refs/remotes/origin/master, refs/remotes/origin/HEAD, refs/heads/master)
Author: Kamil Páral <kparal(a)redhat.com>
Date: Fri Feb 10 13:31:12 2012 +0100
use centralized Config class for all configuration
This patch introduces a new Config class that centralizes all
configuration. Individual modules don't need to parse the config files
manually any more.
Detailed changelog:
* new class autoqa.config.Config - it has pre-populated defaults for
all options and everything has correct type; throws exception if
config files contents are invalid
* united all secret configuration in secrets.conf, removed fas.conf and
yourls.conf
* tests no longer receive 'autoqa_conf' variable. Everything is
available in the Config class. The only thing that need to be passed
from server is jobtag, which is available under
autoqa_args['config']['jobtag']
* removed some no longer needed methods from autoqa.util; some of them
had to be decoupled from Config and became too complex to use
Fixes #255, #335.
It means there are some changes you need to do after you update your git repository:
1. Merge changes into your /etc/autoqa/autoqa.conf
2. Move yourls/FAS credentials from /etc/autoqa/{yourls,fas}.conf into /etc/autoqa/secrets.conf
3. Delete /etc/autoqa/{yourls,fas}.conf
That should be all :)