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

Re: Bootstrapping nightly build from subversion

From: Jim Thompson <jim.thompson_at_doit.wisc.edu>
Date: 2007-02-05 17:09:10 CET

We've been using a process that works with CVS - don't suspect it would
be much different with Subversion.

Yes, we have a cron entry that's not in CVS. We've modified the run
time now and then, but otherwise it doesn't change:

00 04 * * 1-5 /my/up-test/admin/bin/update > /dev/null 2>&1

All scripts, etc. in admin/bin are in CVS. When we modify the update
script itself, the next run of the update will replace it and the run
_after_ will actually run the new code.

Cheers,
Jim

KM wrote:

> Why would this really be necessary? - Does the build script change
> that much that you need to automatically deliver it? - Why not store
> it in subversion but just have it delivered when you change it? - then
> your cron job can do exactly what you wanted
> deliver source, kick off the appropriate build with a makefile -
> Wouldn't this be easier than what you are trying to do?
>
> That's just an opinion - no answer to your actual question - sorry.
> KM
>
> */Tim Bingham <tim.bingham@comcast.net>/* wrote:
>
> I'm planning to set up automatic nightly builds of our source code.
> The source code is stored in subversion and I'd also like to store
> the nightly build script there. This raises the issue of how to get
> the nightly-build started.
>
> I could have a small bootstrap script outside of subversion, invoked
> by cron, which creates a working copy of the nightly-build script
> (directory) and invokes it with appropriate arguments. The nightly-
> build script would, in turn, create a working copy of the source and
> then invoke the makefile etc.
>
> Unfortunately the bootstrap script itself would have to live outside
> of subversion, but I'd really like to have _all_ of our scripts under
> revision control.
>
> I'd be interested to hear how the members of this list have solved
> this problem.
>
> Thanks,
> Tim.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ------------------------------------------------------------------------
> Never Miss an Email
> Stay connected with Yahoo! Mail on your mobile. Get started!
> <http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/services?promote=mail>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 5 17:09:41 2007

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