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

Re: Using SVN to develop a website

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 13 Jun 2011 10:13:24 -0400

On Mon, Jun 13, 2011 at 10:08, Roberto <mrgreiner_at_gmail.com> wrote:
> Hi,
>
> I need help on a setup for SVN. I want to use SVN to develop a website, in a
> way that when one of our remote developers commit a change, the files is
> copied on a specific folder, located on the svn server (like /var/www/site).
> Is there any page/faq indicating how to do this? I understand that the best
> way would be to add it at the post-commit hook, but I don't know exactly
> what to add to the script.

http://subversion.apache.org/faq.html#website-auto-update

You could also set up a continuous integration server if your project
is more complex than "copy files to the right directory."

> PS: I'm using svn version 1.5.1(r32289), installed from debian packages, on
> a Debian 5.0 (somewhat old Debian, I know, but for now I need to use this
> version to make sure there are no compatibility problems between the
> development, approval and production servers).

Be advised that there are security fixes included in later 1.5.x
releases in addition to the usual bug fixes, and when Subversion 1.7
is released (the first alpha came out a few days ago) support for
1.5.x will end.
Received on 2011-06-13 16:14:38 CEST

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