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

Re: Automatic updating on a checkin

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-05-03 18:55:05 CEST

Duncan Booth wrote:
> The FAQ has an answer for "I'm managing a website in my repository.
> How can I make the live site automatically update after every
> commit?", but I want to update a working copy on a system which isn't
> the subversion server.
>
> Does anyone have any suggestions how best to arrange that a checkin
> to the subversion server does an update on another server (or more
> likely separate servers: a development one for the trunk checkins and
> a live one which updates only from a specific branch or tag)? I can
> think of lots of ways to do it, but if anyone who has already done
> this would be willing to share their experience I think it might make
> my life easier.

I've used an export of the web directory via WebDAV/HTTPS, and a cron job to
do the updates on a scheduled basis. Alternatively, if the directory can be
exported via CIFS or AFS (as a more reliable and secure from off-site
network directory mounting technique), the user can then do their own
updates in order to do their own resolution of any conflicts.

OpenAFS to Linux and Windows clients is something I've used in the past, but
I've never tried a subversion location with it. Unfortunately, too many web
editing tools auto-expand URL's for you, so that "href=filename.html"
becomes "hrefe=file:///E:/webdir/filename.html", and life gets severely
nutty.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 3 18:56:19 2006

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.