Add a default parser in ConfigMgr
authorHuang Hao <hao.h.huang@intel.com>
Mon, 17 Sep 2012 07:23:12 +0000 (15:23 +0800)
committerHuang Hao <hao.h.huang@intel.com>
Tue, 18 Sep 2012 02:30:03 +0000 (10:30 +0800)
commit2fecf92a36d44aae7f38f128e5d76c457811bd85
tree70f71ed21a970996b9cb792de4f081862fd52b46
parent50570ca0179966275adbf727f9a201acb4abe3ca
Add a default parser in ConfigMgr

- Fix bug#333.
- Change config item like %(xxx)s to ${xxx} in DEFAULTS
    dict, otherwise InterpolationError will be raised
- Transform ${upstream_tag} back to %(upstream_tag)s before
    calling gbp, which does not change functionality of gbp

Change-Id: I3ba122ef4a633c23d59e136773ae98d1e280dab3
gitbuildsys/cmd_export.py
gitbuildsys/conf.py
tests/test_config.py
tests/testdata/ini/interpolation.ini [new file with mode: 0644]
tools/gbs