Support for config files
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 23 Apr 2013 06:12:54 +0000 (09:12 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 23 Apr 2013 06:52:39 +0000 (09:52 +0300)
commit2141652b27e47ed134d02905d1008ac76e0f8b60
tree6dcd9fd9939968bfa29fc27c70302385e0af9c4e
parentbb8ea21383addbcd594b031d92e57df3afb961de
Support for config files

Initial support for reading service configuration from a file.
Currently, there is only one configuration setting, i.e.
'repo-cache-dir'. All configuration settings can be overridden with
environment variables.

By default, the service tries to read '/etc/obs/services/gbse' and
'~/.obs/gbs'. Other file(s) can be defined with the --config cmdline
option.

Also, change each test case to be run in individual temp dir and have
individual repo cache.

Change-Id: I8dbc713eaa06875f1f1b1163b3962f491dbce4e6
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
config/gbs [new file with mode: 0644]
obs_service_gbs/command.py
packaging/obs-service-gbs.spec
setup.py
tests/test_obs_service_gbs.py