[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: Brian Mathis <bmathis_at_directedge.com>
Date: 2004-07-15 21:20:24 CEST

/srv is brand-spanking new, and I've never actually seen it used
anywhere. Prior to the existence of /srv, /var/lib was the standard
place for this stuff, AFAIK.

At the moment, I would say that either would do fine. Personally I
don't like the idea of another top level directory, but I'm sure it will
start to show up in more places in the future.

Kenneth Porter wrote:
> --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.
>

-- 
Brian Mathis
http://directedge.com/b/
---------------------------------------------------------------------
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:20:54 2004

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