Page 1 of 1

Updating a site from SVN?

Posted: Wed Sep 20, 2006 1:12 am
by klarinetking
Hi,

Basically, I'm trying to find a way to update a site, hosted on SF.net, from SVN (also on SF). Basically, my current plan is something like this:

1) Cron runs 1/day. Determines if any of the site files have changed.
2) If so, somehow downloads the files that have changed.
3) Uploads them to the SF Shell server, overwriting the old ones.

Any comments? Is this feasible? And if so, can anyone point me in the right direction?

Thanks for any and all help.

klarinetking

Posted: Wed Sep 20, 2006 1:21 am
by nickvd
Write a script (in bash/perl/php) that uses that uses shell commands to run the command line program... (#svn update, #svn --help)

Then have the cron run that script...


(this assumes that sf hosting allows you to run that command, or even has it installed on the webservers)