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

Re: Website release

From: David Kramer <david_at_thekramers.net>
Date: 2005-01-14 17:02:05 CET

On Tue, 11 Jan 2005, Kristian Hebert wrote:

> Hello everyone,
>
> I hope this is the right mailinglist for my question.
>
> I was just wondering if there is any way to "release" a version of my
> website to the server? I have all the files in svn, and I'm running the
> webserver on the same server.
> I guess I could log into the server and checkout all the files whenever I
> want to release, but that seems very cumbersome, espesially if I want to
> release to a testsite first. I haven't found anything in the manual or the
> FAQ.
> Am I blind? Or am I missing the obvious?

Our web server points to a Subversion working copy of our website. I just
implemented a php page this week to do an svn update. I just go to that
page, it runs the svn update in $DOCUMENT_ROOT/.. , and prints the output
and return value. No need to ssh in. Just remember to tell your
webserver to hide .svn directories.

If you don't want to do this, you can use the same basic technique to do
an svn export.
-------------------------------------------------------------------
DDDD David Kramer http://thekramers.net
DK KD
DKK D
DK KD Pretense and adversity are inversely proportional;
DDDD Adversity reveals the true nature of all things.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 14 17:05:27 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.