LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Where is the right place to install svn (subversion) repositories? (https://www.linuxquestions.org/questions/linux-software-2/where-is-the-right-place-to-install-svn-subversion-repositories-731964/)

rhimbo 06-10-2009 12:09 PM

Where is the right place to install svn (subversion) repositories?
 
Hello everyone,

Could anyone tell me where is the "right" place to install subversion repositories?

I seem to recall from my Unix days (and it's been a while since I had to think about these issues!) that /var is the preferred place for program variable data. But doesn't /var get cleaned out with each boot?

Is /var appropriate for "permanent data" such as an svn repository or a database? If not, where is the "right" place to put my repositories?

Many thanks in advance....

jdkaye 06-10-2009 12:34 PM

Quote:

Originally Posted by rhimbo (Post 3569338)
Hello everyone,

Could anyone tell me where is the "right" place to install subversion repositories?

I seem to recall from my Unix days (and it's been a while since I had to think about these issues!) that /var is the preferred place for program variable data. But doesn't /var get cleaned out with each boot?

Is /var appropriate for "permanent data" such as an svn repository or a database? If not, where is the "right" place to put my repositories?

Many thanks in advance....

I've always put them in my home directory with no ill effects. I can always put a link to the executable that I've created in /usr/local/bin or add a ~/bin folder to my path. I'm not sure if there's an established norm for locating svn folders but I guess googling would turn one up if there were. /var seems a non-intuitive place to put them but maybe that's just my ignorance.

Cheers,
jdk

mase 06-10-2009 03:14 PM

/usr/src or /usr/local/src or just /home is where I would put them.


All times are GMT -5. The time now is 08:19 PM.