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

Re: svn enabled for a remote website

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-02-06 16:26:07 CET

Todd Eddy wrote:

> - website is hosted on a shared hosting plan, so can't install svn on
> that server (probably could with enough hacking, but don't want the
> limited ammount of space on have there eaten up by svn.

You should differentiate between the svn repository (and the associated
processes needed to access it) and the svn client only. The client only isn't
that bad.

> - svn is on the local network here on a computer that is connected
> 24/7 to an allways on internet connection.

This is your svn repository/server, then.

> - when modifing pages, I want to see the changes immediately if I
> mess up something

Not cool on a production site! YMMV

What I am in the process of setting up in subversion is exactly what I am doing
now with CVSNT:

1) Test server contains both the web sites and the subversion repository, with a
post-commit trigger to keep the web sites up to date;

2) Production server contains client only and is updated manually (after testing).

This works great now with CVSNT (recent versions have a post-commit hook) with
multiple developers. Another advantage to this scheme is that the test server
can actually keep a branch checked out for major updates, while the production
server is still on the trunk (or vice versa). A quick 'svn switch' can move
either to a different branch for testing or deployment. I can even make
corrections to the production site (by switching the trunk) and then return to
the major update (by switching back to the branch).

The one thing I would like to try is to serve the test site directly from the
repository (without a WC), but I haven't had to time to test that...

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 6 16:56:49 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.