[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

integrating Subversion with a build tool?

From: Steven Knight <knight_at_baldmt.com>
Date: 2003-03-22 22:43:35 CET

Hi. I'm the project leader for SCons (http://www.scons.org/), a
Python-based build tool with a number of cool features.

I'm going to be rolling out our next version soon (I hope this week)
with support for fetching files from a number of source code management
systems, including SCCS, RCS, BitKeeper, CVS and Perforce. I'm hoping
to also support Subversion, but I'm runnning up against the apparent
design decision to only support checkouts of entire directories, not
individual files.

GNU Make (et al.) supports a widely-used automatic ability to check out
individual source files from SCCS and RCS if a local copy file doesn't
already exist. I've implemented a similar feature in SCons, extending
it to also support BitKeeper and CVS.

The best idea I've been able to come up with for Subversion is to use
"svn cat" to redirect the current contents to the local file. This
works, but it's still kind of a lose because it's not a real checkout.
People wouldn't be able to then work with the file(s) and check them in
like they're used to with other source code systems.

Of course, I've only used Subversion enough for my own testing purposes,
so I'm probably overlooking some other bright way to do this. Are
there any other build tools out there that support automagic Subversion
checkouts? Can anyone give me any good ideas for other ways I can
support this in a way that's more natural for Subversion's design?

I'm not on the Subversion list, so please keep me CC:ed on any replies.

Thanks!

        --SK

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 22 23:16:31 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.