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

RE: RE: RE: RE: Directory structure for repositories

From: Glazner Ryan S Contr 412 RANS/ENR <ryan.glazner.ctr_at_edwards.af.mil>
Date: Tue, 15 Jan 2008 17:46:57 -0800

>> >> I have a Windows 2003 Server running Apache 2.2 with (I believe)
>> >> the most current Subversion. I want my SVN to look something like
>> >> this:
>> >>
>> >> C:\svn SVN root for SVNParentPath
>> >> C:\svn\Projects\ProjectA Sample repo within subdirectory
>> of svn root
>> >> C:\svn\Personal\MyRepo Another sample repo parallel to
> the above
>> >> in structure
>> >>
>> >> I have this set up already on the drive, with the
>> following Apache
>> >> setup:
>> >>
>> >> <Location /svn>
>> >> DAV svn
>> >> SVNParentPath C:\svn
>> >> AuthType Basic
>> >> AuthUserFile C:\svn\svn-passwd
>> >> AuthzSVNAccessFile C:\svn\authz
>> >> Require valid-user
>> >> </Location>
>> >>
>> >> With this setup, it seems I can create a new repo at
>> C:\svn\(repo),
>> >> but if I try to do something like
>> C:\svn\Projects\(MyProjectRepo),
>> >> Apache chops up all of the incoming URLs (i.e. http://server/svn/
>> >> Projects/MyProjectRepo) to read a repo named Projects. I thought
>> >> the SVNParentPath was supposed to allow multiple
>> repositories under
>> >> it. Is there a way around this? I've been trying different things
>> >> with all of the different configurations for weeks trying to get
>> >> something like this to work.
>> >Subversion does not currently support this. SVNParentPath
>> only finds
>> >repositories directly under the indicated directory, not
>> repositories
>> >in directories under the indicated directory.
>> >But I think this would be a useful feature to have. I recall the
>> >request being made at least twice before on this mailing
>> list. But I
>> >can find no ticket. It may be time to create a ticket for this.
>> That would certainly explain it not working. Okay, so I'm pretty much
>> forced to create one huge "department" repository with
>> project branches
>> and possible subproject subbranches, it sounds like. I know it may be
>> somewhat of a tall order, but is there a simpler way of accomplishing
>> the goal?
>NOTE: I haven't setup SVN with Apache/HTTP.
>As a suggestion, could you setup the separate areas as different locations >under Apache?
><Location /svn/project>
> SVNParentPath C:\svn\Projects
><Location /svn/Personal>
> SVNParentPath C:\svn\Personal
><Location /svn-project>
> SVNParentPath C:\svn\Projects
><Location /svn-personal>
> SVNParentPath C:\svn\Personal
>Daniel B.

I had thought of that... the problem is something like:

It's just pushing the problem back further. I and anyone creating a repository would have to edit the Apache config. The particular Subversion usage in this case requires multiple people to be creating and managing repositories who have no business being in the Apache config. For this reason, I'm looking for something fairly simple such that creating and managing repositories is a stepped process that basically only touches Subversion, or at least that I can set up and only need to modify occasionally.

It would still work. It just takes a lot more planning on my part on the actual directories involved for the solution to fit the above requirements (i.e. I'm the only one touching Apache). I suppose this is fine, at least until a case comes up that borks for the original reasons.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-16 02:47:23 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.