[Freeipa-devel] [PATCH] jderose 005 improve Env in-tree behaviour
Rob Crittenden
rcritten at redhat.com
Mon May 11 20:21:16 UTC 2009
Jason Gerard DeRose wrote:
> Breakage warning: this patch renames the api.env 'conf_dir' variable to
> 'confdir'. greppin' through the tree showed that this var wasn't being
> used by any of the built-in plugins, but 3rd party plugins should take
> note.
>
> This patch does some cleanup with regard to how the automagic Env
> variables are generated when in-tree vs. when installed. It:
>
> * Correctly forces the xmlrpc tests to run with in_tree=True so config
> files possibly installed in /etc/ipa/ aren't read, can't break the
> test. On my VM this was causing the test to run against the
> installed IPA mod_python server rather than the in-tree
> lite-xmlrpc.py script.
>
> * Fixes Env._finalize_core() and Env._finalize() unit tests so they run
> with in_tree=True so possible files in /etc/ipa/ don't cause problems.
>
> * Renames env.conf_dir to env.confdir. env.conf now defaults to
> <confdir>/<context>.conf
>
> * Adds env.logdir variable. env.log now defaults to <logdir>/<context>.log
>
> * Does some other misc. Env cleanup.
>
ack and pushed to master
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090511/e66ba605/attachment.bin>
More information about the Freeipa-devel
mailing list