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

RE: Ideal Subversion Setup

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 17 Dec 2009 09:48:39 -0500

> Thanks for the reply. So there might be some hope.
>
> Let me elaborate on our setup. I've decided the first thing to do
> is to
> cut out the inbetween step of dragging files over. So I have setup
> a
> folder on our local linux webserver and setup apache web server to
> use
> it as a virtual host (to do testing). This works great. Now I need
> to
> sort out the symlinks for the images directory. We create the
> symlinks
> manually through command line (ssh). We are using TortoiseSVN as a
> way
> to create the checkout to be used on our Windows computers. So....
>
> 1. Linux Server: create a directory for development area
> 2. Linux Server: setup apache to use the newly created directory as
> a
> virtual host
> 3. Windows PC: Browse to the newly created directory via the
> network
> 4. Windows PC: Right click on the directory and select SVNcheckout
> and
> checkout the repository
> 5. Linux Server: Create a symlink in the directory to another
> directory
> on the linux server

Why don't you do step 3/4/5 all on the linux server. You will of course have to use the svn cli via and ssh to the linux server. So your steps would be something like:

1. Linux Server: create a directory for development area by using svn co ^/path/to/proj directoryname
2. Linux Server: setup apache to use the newly created directory as a virtual host
3. Linux Server: Create a symlink in the directory to another directory on the linux server
4. Commit the symlink. I assume this will only need to be done once since the same symlink will work for everyone right?

Once you do that you can use Windows tools over the network if you want. You will of course need tools that support linux line endings and watch your case. Or perhaps even better would be for you devs to use linux either nativly or in VMs on the Windows host machines.

BOb
Received on 2009-12-17 15:49:16 CET

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.