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

Re: dav_svn and directory hierarchie

From: Tony Butt <tjb_at_cea.com.au>
Date: Thu, 22 Jan 2009 02:03:05 +0000

On Wed, 2009-01-21 at 17:42 -0700, Yves Dorfsman wrote:
> Yves Dorfsman wrote:
> > I want to bury my repositories under directories, something like:
> >
> > /svn/marketing/US/proj1
> > US/proj2
> > EU/proja
> > EU/projb
> > sales/newcustomers/tracking/traditional
> > /web
> >
> > etc....
> >
> > The last direcotries (the ones at the bottom of the trees) are all
> > subversion repositories.
> >
> > Now, if I put:
> > SVNParentPath /svn
> >
> > in my httpd.conf, and move proj1 into /svn, I can browse, check out etc...
> > my project, but as soon as I create one extra layer (eg:
> > /svn/marketing/proj1), then I cannot access my project, neither with a
> > browser, nor with svn.
> >
> > I tried to add "SVNListParentPath on" (and restarted the server), but that
> > did not change anything.
> >
> > Is there a way to do this with dav_svn ?
>
> I cannot believe nobody run into this problem before. It is typical of CVS
> servers to have multiple "modules" under one "repository", and multilple
> "repositories" under one "root". A "CVS module" correspond to a subversion
> repository. I cannot believe that people have hundreds of svn repositories
> into one directory ?
>
> How do you address this ?

You address it by not having one module or project be one subversion
repository. Effectively you could make the top level directories of four
subversion repository be equivalent to CVS modules, or you can impose
any other tree structure you wish.

It is trivial to divide a repository into separate projects, and manage
multiple projects in a single repository. The most difficult part we
found was finding a workable directory structure standard, getting 20
software engineers to agree on it, and then enforcing it.

Here we have one repository for all of our software projects ( and there
are quite a few), and one repository for our hardware engineers, who
store and manage FPGA code there.

Tony Butt
CEA Technologies
Canberra, Australia.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1042628

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Received on 2009-01-22 03:04:54 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.