Page 1 of 1

SVN Repositories

PostPosted: Thu Mar 08, 2012 1:32 pm
by wisni1rr
Can someone give me an overview on how to set up updates with the SVN Repositories?

Re: SVN Repositories

PostPosted: Thu Mar 08, 2012 1:49 pm
by shannah
What operating system do you use? OS X has subversion built-in (and linux you can install easily by package manager). Windows has a number of subversion clients that you can install and use, but I'm not very familiar with any of them (I use OS X and Linux generally).

On OS X, you just open a Terminal window, navigate to the directory where you want xataface to be placed and type:
Code: Select all
svn co http://weblite.ca/svn/dataface/core/branches/1.3.x xataface-1.3.x

(to check it out in a directory named xataface-1.3.x)
(Note "co" is just short for "checkout")

Then any time you want to update to the latest, just open the terminal, navigate tot he xataface-1.3.x directory and type:
Code: Select all
svn update


That's it.

Re: SVN Repositories

PostPosted: Thu Mar 08, 2012 1:56 pm
by wisni1rr
Forgive me, I am new to the web environment. I am using a webhost that is running Linux with cPanel X.

From what I can tell, I cannot access a terminal window. Is this something I could handle with a Cron Job?

Re: SVN Repositories

PostPosted: Thu Mar 08, 2012 2:02 pm
by shannah
If you don't have shell access then you probably can't use SVN on your host. You could check things out on your own machine with SVN then upload them to your host.

Personally I find it very limiting when my host doesn't provide me with SSH and SVN access. Many hosts do not. But there are enough around that do offer it that I generally don't have to deal with the dark ages of FTP at all anymore.