I am about to set up a subversion server to be accessed via svn+ssh. I was wondering, where the default repository location is (on a unix box).
Do you put it in
/opt/svn
or
/home/svn
or
/usr/subversion
or even
/svn
or somewhere else?
I am looking for the place, most people put it. Is there a convention?
EDIT:
It is absolutely possible to ‘hide’ the actual repository location from the user. For example (in my case) by wrapping the svnserve executable in a way that it is called like:
svnserve -r /var/svn/repos
I typically place the repositories somewhere under
/var, usually in/var/lib/svn– I’m trying to follow the Filesystem Hierarchy Standard which has this to say about the purpose of /var:/varis specified here in order to make it possible to mount/usrread-only. Everything that once went into/usrthat is written to during system operation (as opposed to installation and software maintenance) must be in/var.