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

Subversion based GForge

From: Sung Kim <hunkims_at_hotmail.com>
Date: 2004-01-02 09:53:58 CET

Hello,

We are working on Subversion/WebDAV integration for GForge which is a
successor of the source forge package.
Basically it replaces CVS and ssh using WebDAV/Subversion.

The test version is available http://dforge.cse.ucsc.edu/svn/?group_id=5
Also DForge provide some SVN metrics graphs:
http://dforge.cse.ucsc.edu/scm/stats/?group_id=5&_scm=svn

This DForgr will be used for class and several research projects.

Please feel free to give us some feedback.

But there is one problem:

We want to assign each project a URL for Subversion and WebDAV repositories:

http://svn.test.dforge.cse.ucsc.edu (Subversion)
http://test.dforge.cse.ucsc.edu (WebDAV)

Every Apache configuration is set using virtual hosting directives:

<VirtualHost 128.114.63.81:80>
  ServerName dforge.cse.ucsc.edu
  ServerAlias *.dforge.cse.ucsc.edu
  VirtualDocumentRoot /usr/local/gforge/var/chroot/home/groups/%1/htdocs
  VirtualScriptAlias /usr/local/gforge/var/chroot/home/groups/%1/cgi-bin

 # WebDAV support
  <Location />
    AllowOverride None
    DAV on
 </Location>
</VirtualHost>

There is no problem for WebDAV(mod_dav), since we need to set only "DAV on"

But for subversion we have to set SVNPath (or SVNParentPath) which is unknow
in our situation:

<VirtualHost 128.114.63.81:80>
  ServerName svn.dforge.cse.ucsc.edu
  ServerAlias svn.*.dforge.cse.ucsc.edu
  DocumentRoot /usr/local/gforge/var/chroot/home/groups/
  VirtualDocumentRoot /usr/local/gforge/var/svnroot/%2/

  # SVN support
  <Location />
    AllowOverride None
    DAV svn
    DAVPath ?????
 </Locaton>
</VirtualHost>

We think it is cool if mod_dav_svn can catch the default-document root +
Location as SVNPath when there is no SVNPath is provided. It's exactly the
same sprit of "DAV on". We don't need to provide DAVPath for DAV on.

Another idea might be adding SVNVirtualPath like VirtualdocumentRoot so that
we can set SVNVirtualPath something like /usr/local/gforge/var/svnroot/%2/

The attachment is a quick and dirty fix for the first method. This patch is
using our DForge site and works ok.

Any comments?

--
Sung Kim


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Jan 2 09:54:29 2004

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

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