|Version 7 (modified by k0s, 6 years ago) (diff)|
show SVN URL links in /browser, /log, and /changelog
The SvnUrlsPlugin provides links to the url of repository files as viewable at /browser, /log, and /changelog in trac. This enables easy reference to the actual svn entities for svn operations To make this work, you will have to add a section in the trac.ini for your project.
[svnurls] svn_base_url = https://your.repository/location
Optionally, you may also add an entry to this section controlling what text is displayed:
link_text = [svn]
The above is the default.
Where SVN URLs Lives
SVN URLs lives at
See http://trac.openplans.org/openplans/browser . The [svn] links in the image below point to the http svn location of the relevant resources:
How SVN URLs Works
svnurls filters the outgoing stream using ITemplateStreamFilter. This requires the latest version of genshi. Running python setup.py [develop|install] should pull down the correct version