Home - xenji/crucible-websvn-plugin GitHub Wiki
Introduction
This plugin enables pure Crucible Users to link from a changeset to a the changeset on WebSVN server.
Functionality
ReST API
Go to the ReST API page to read more about it.
Administration
After you have installed the plugin you can navigate to the admin menu and find a new link in the global configuration. Here you can configure your basic WebSVN server settings like the base url and the context on the server behind your base url.
When you navigate to your list of repositories, you will find another link on each repository. This link leads you to the repository bound config for your WebSVN. This is the place to map you repository to the final part of the context on your WebSVN server. Please see the examples section below for more details.
Changeset View
A new link will be created below the permalink in the dropdown on the right side of any changeset. The url is not yet customizable and links to the changeset view of WebSVN by opening the target site in a new window via a JavaScript anchor. As long as I do not get any feedback from Atlassian's forums how to inject custom resources into every page context in Crucible this won't change.
Examples
Global Settings
The global setting can be found at the admin menu located under the General menu block. The configuration lets you enter your WebSVN base url and a path, where the WebSVN installation resides.
Example 1: The installation resides on the document root
- base url: http://websvn.example.com
- path:
Example 2: The installation resides on a shared host in a subdirectory
- base url: http://svn.example.com/
- path: /subdir/wsvn
Repository Settings
The repository bound settings are located in the repository list view, next to links in the list that contains the action links.
You have to enter the last part of the contex of the WebSVN url.
Example 1:
- base url: http://svn.example.com/
- path: /subdir/wsvn
- repository: /myproject