Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to put SVN repository directory in Linux?

Tags:

linux

svn

I am setting up a new SVN server on Ubuntu Linux. Where is a good place (best practice) to put the repositories? Should I create a new user? The server will be accessed via http:// so no need to create user accounts etc (as was the case for svn://).

Many thanks in advance

like image 652
alexloh Avatar asked Mar 19 '10 19:03

alexloh


People also ask

How do I find SVN directory?

svn list is most useful if you want to see what files a repository has without downloading a working copy: $ svn list http://svn.red-bean.com/repos/test/support README. txt INSTALL examples/ … For further details, see the earlier section the section called “Listing versioned directories”.

How do I add a folder to SVN repository?

One way is to browse the repository to the place where you want to insert your new directory and right-click and select "Create Folder". Then right click the folder and check it out to the location where you want it. Then copy the directory of files you want to put into SVN into the folder created by the checkout.


1 Answers

I like putting things under /srv, as it seems to match the definition in the FHS.

like image 105
Callahad Avatar answered Oct 01 '22 22:10

Callahad