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

Re: update dev and test servers from SVN

From: Ryan Schmidt <subversion-2012a_at_ryandesign.com>
Date: Mon, 9 Jan 2012 11:53:46 -0600

On Jan 9, 2012, at 07:40, fmdano wrote:

> Ok, so CI is the best approach, but is there a way or an approach that
> just uses SVN? can you use a tag and update a test server via an
> update, or do you have to use export and export over the existing
> code? Is there an easy way to do this where the test server code can
> be a working copy checked out of SVN, or does it need to be just code
> and use an export?

Sure, either way. Actually I'd be skeptical about exporting on top of an existing directory, and would recommend updating a working copy instead. You haven't said what kind of dev and test servers these are -- I've been assuming so far you're talking about web site development. That may affect your choice of script. But another script to look into is SVN::Notify::Mirror.

http://search.cpan.org/perldoc?SVN::Notify::Mirror

The idea of this script is that by just creating tags in your repository that follow a certain naming pattern (that you define), code gets promoted to the dev or test or live environments. Developers never need (and never get) passwords or access to the dev or test or live environment servers.
Received on 2012-01-09 18:54:26 CET

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.