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

Re: Pushing Files from Subversion

From: Theo Van Dinter <felicity_at_kluge.net>
Date: 2004-11-29 23:49:46 CET

On Mon, Nov 29, 2004 at 05:35:29PM -0500, pete@holidian.com wrote:
> I'd like to be able to make the change and then push those changes to all of the
> necessary servers. Does Subversion have the capacity to do this (or anything
> remotely similar)? Is this a feature even offered by source control tools
> today? If no to both of those, is there anywhere else I could look, or am I
> just SOL?

Unless I'm missing some complexity here, I've implemented
automated-updates for certain "system" svn-controlled directories
across all of the machines in my environment. Essentially on each box,
I do a checkout (read-only access to repo) of the appropriate directories,
which holds core config files needed on large sets of machines (sudoers,
web server configs, web server rc scripts, monitoring scripts, etc.)

Then there's a cronjob that goes off nightly (could be more often if
necessary) and essentially does a "svn -q update". (it does a bunch of
other things too, such as notice that the script itself will be updating
and re-exec after the update, installing files into the appropriate
locations if necessary, "svn update" other specific system-WCs, etc.)

I can also run the script manually to update as necessary on any set of
servers.

-- 
Randomly Generated Tagline:
Dasher, Dancer ... Prancer ... Nixon, Comet, Cupid ... Donna Dixon.
 
 		-- Homer Simpson
 		   Simpsons Roasting on an Open Fire

  • application/pgp-signature attachment: stored
Received on Mon Nov 29 23:53:33 2004

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

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