[PATCH/Samba4] Switch to using Python instead of EJS for default provision

Jelmer Vernooij jelmer at samba.org
Sat Feb 9 19:52:28 GMT 2008


Hi!

The attached patch switches Samba 4 to use the Python provision by
default and only use the EJS provision code if the PROVISION_EJS
environment variable is set. All of the Python tests are succeeding at
the moment.

Once this patch is in, we can gradually start to remove the EJS bits
that are no longer necessary.

The Python code has the same level of functionality as the EJS code at
the moment and has better test coverage. The only exception to this is
SWAT, but I plan to add a EJS wrapper for the Python provision so SWAT
can continue to work as EJS, at least for the time being.

There are two or three build farm hosts that don't build with Python
properly yet and the SWAT hack isn't in yet. However, maintaining the
provision code in both Python and EJS in parallel is a duplication of
effort and makes things more complex and those issues will be fixed
soon.

Does anybody object to switching over now?

Cheers,

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-python.diff
Type: text/x-patch
Size: 3151 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080209/6ebbf973/use-python.bin


More information about the samba-technical mailing list