Noah Slater wrote:
On Fri, Feb 27, 2009 at 07:48:17PM +0100, eric casteleijn wrote:
For me, this weird behaviour breaks the rule of least surprise.
I understand that, but for me it was actually the reverse. I expected
the default.ini to be used unless I specified an option to not use it,
and anything I passed into -c to customize the settings I wanted to
override. Perhaps it is my zc.buildout history, where you only ever
state what needs to be changed, and can even do things like:
The --help output is very clear about this:
-c FILE use configuration FILE (chainable, resets system default)
I can see that a consensus may not be within reach here, so perhaps
another option that does provide this behavior could be added, and if we
can find clear enough descriptions to distinguish the two. Perhaps
override vs. custom(ize) although all the obvious letters have already
been taken...
I would accept a patch which added:
-c FILE use configuration FILE (chainable, reset system default)
-C FILE use configuration FILE (chainable, do not reset system default)
That seems like the best option, I shall write a patch, and put it in
JIRA. Thanks for the feedback, all.
--
- eric casteleijn
http://www.canonical.com