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

RE: Newbie Q: Good path for repository?

From: Kenneth Porter <shiva_at_sewingwitch.com>
Date: 2004-07-15 21:05:39 CEST

--On Thursday, July 15, 2004 11:58 AM -0700 Kenneth Porter
<shiva@sewingwitch.com> wrote:

> What happened to /srv? I've seen it used in a few places, so I tossed my
> initial repository in /srv/svn. But it would be trivial to move it (just
> edit the line in /etc/httpd/conf.d/subversion.conf). I, too, would like
> to "standardize" the location for the benefit of future admins.

Answering my own question:

For /var/lib:
<http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION>
"/var/lib/<name> is the location that must be used for all distribution
packaging support."

For /srv:
<http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM>
"/srv contains site-specific data which is served by this system."

So perhaps it's a question of whether Subversion is included in the distro.
If so, the data goes in /var/lib/subversion. If not, it goes in
/srv/subversion. (The latter directory is a suggestion, the internal
structure of /srv is totally site-specific.)

As a rule, distro's won't create repositories, so they won't create
/var/lib/subversion, leaving the logical choice to be somewhere in /srv.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 15 21:00:35 2004

This is an archived mail posted to the Subversion Users mailing list.