[viewvc-dev] Patch to display checkout URL

Ben Bell <[email protected]> Fri, 25 Sep 2009 08:52:33 -0700 (PDT)
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Message-ID <13771689.10680.1253893953339.JavaMail.httpd@localhost>
I've done some work for a client which has involved patching viewvc 1.0.5 to support an extra config variable "url_map" which will map on-disk repository paths to checkout URLS that you can stick in the templates.

e.g.

url_maps = /home/svnrepos: http://svnserver.my.com/dav,
           /home/(.*)/svnroot/(.*)/svn/: svn://svnusers.my.com/$1/$2

I've also tweaked the templates to display this URL -- if present -- on the page.

I've heard people ask for something like this in the past. Is there any interest in me cleaning it up and porting it to the latest version? I'm happy to do it but only if there's interest in the feature.

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4251&dsMessageId=2400294

To unsubscribe from this discussion, e-mail: [[email protected]].