keep generated code in Samba4?

Jeremy Allison jra at samba.org
Thu Nov 20 17:40:46 GMT 2003


On Thu, Nov 20, 2003 at 05:00:59PM +1100, tridge at samba.org wrote:
> We now have around 50k lines of generated RPC code in Samba4, and its
> growing fast. It might make sense to not put this code in CVS, and
> instead rely on all developers having the pidl IDL compiler installed,
> or possibly even including pidl in the Samba4 cvs tree (pidl is much
> smaller than the code it generates).
> 
> Anyone have any special reason one way or the other? Up to now we have
> not relied on perl to build Samba, but perhaps that should change. For
> example a perl mkproto would probably be much faster and neater than
> our current awk one, and perl could be useful in some other parts of
> the build.
> 
> We might also decide to use an interim method, where we do not put the
> generated code in CVS, but we generate the code on samba.org before
> each release, so releases have the full generated code but developers
> who use cvs need to have pidl.

This is definately needed IMHO. Releases need the full generated
code, as you can't rely too much on the environment.

Jeremy.



More information about the samba-technical mailing list