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

Re: automatic export?

From: Eric S <ejs_at_americanlowlife.com>
Date: 2005-03-17 21:54:01 CET

Philipp Wagner wrote:

> I'm using Subversion for developing websites. I would like subversion
> to automatically export the repository to a folder in my www-directory
> after every commit, so that every developer can test and verify their
> changes by opening the site by simply typing the url in the browser.
> Otherwise everybody would have to run a webserver for testing on his
> computer with the same settings as on our server. Does anybody have an
> idea?

We have exactly that in place here. Basically, the post-commit script
takes a look a which files where modified, and re-exports any branch
that got updated into the appropriate directory.

I was lazy and did it by doing an rm -rf directory then exporting,
rather than trying to extract/update/delete individual files as
appropriate, though in hindsight I think I would have been better off
configuring apache to lock out access to .svn directories, then then
just make the directories working directories so all I'd need to do
would be to run an update. As is, the site (partially) disappears until
the export is done.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 17 21:56:25 2005

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.