wiki:SvnUrlsPlugin

Version 10 (modified by k0s, 6 years ago) (diff)

point to new home on trac-hacks and make the wiki page look like every other trac-hack wiki page (yay conformity!)

show SVN URL links in /browser, /log, and /changelog

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for SvnUrlsPlugin are here.

If you have any issues, create a new ticket.

Download and Source

Download the zipped source, check out using Subversion, or browse the source with Trac.

Example

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

Recent Changes

[7228] by k0s on 2009-12-07 17:23:49
fixes #5428
[3836] by k0s on 2008-06-13 22:17:03
add excluded_fields to not be marked up by AutoQuery; fixes #3178
[3816] by k0s on 2008-06-10 17:57:33
if urllib fails, just pass on the query as is. could have space issues that may also need fixing; fixes #3157

Author/Contributors

Author: k0s
Contributors:

Attachments (1)

Download all attachments as: .zip