[Gdal-dev] Motion: Adding the SWIG generated files to the SVN repository

Mateusz Loskot mateusz at loskot.net
Tue Jan 23 08:44:17 EST 2007


Tamas Szekeres wrote:
> Before applying such changes I would like to know how the folks can 
> live with this idea. When I get some positive confirmation I'm ready 
> to make it for the SWIG C# binding.

My personal preference is that SVN/CVS is for developers not for users.
So, I prefer to not to have there any generated files, like
configure or SWIG interfaces.

The main problem I can see is that having generated files makes the
working copy marked as M - modified too often and it's easy to commit
such modified file back to SVN.

ie. if I run ./autogen.sh I get new ./configure, now before every commit
I have to keep in mind to delete the ./configure to not to overwrite the
"official" version living in the SVN.

Now, if there are more such generated files, the problem is much bigger,
because you have to check & clean many places before doing commit from
highest level directory of the source tree

> I would start a vote on this approval with a +0 on my side.

I'm not sure who is supposed to vote, because usually motions are posted
by and to GDAL PSC. But if this motion is to all committers,
My vote is -1 for all generated and intermediate files in SVN

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list