Rev 9146: Convert more files to C in
abartlet at samba.org
Mon Jan 22 20:32:52 GMT 2007
On Mon, 2007-01-22 at 21:25 +0100, Jelmer Vernooij wrote:
> On Tue, Jan 23, 2007 at 06:45:56AM +1100, tridge at samba.org wrote:
> > > Convert more files to C
> > ...
> > > === renamed file 'source/scripting/libjs/provision.js' => 'source/lib/provision/provision.c'
> > Why are you converting to C?
> > I was quite happy that a fair bit of our code was going from C to
> > js. I'd actually like things like smbclient to become a js program
> > eventually, so admins can more easily extend/modify it.
> Please note this is an experimental branch. I'm not planning on
> committing this stuff without discussing it first as it changes some
> pretty core code. This branch has existed for about half a year now,
> and I occassionally make changes to it.
> I'm playing with moving some functionality from js to C (especially
> the upgrade code I did a while ago), because I find EJS hard to work
> with. This shouldn't touch the provisioning code later on, but I've
> changed some of the provisioning code in this branch as well as it's
> so tightly coupled to the upgrade code.
On the 'hard to work on', I have to agree that I find ejs easy to write,
but *very* painful to debug. The things that make it 'flexible', also
make it a real pain...
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070123/c9370e60/attachment.bin
More information about the samba-technical