| Vendor | MindTouch |
| Type | Native |
| Categories | Developer |
| Requires | MindTouch 1.9 or later |
| OS Restriction | None |
| Status | Stable |
| License | Free/Open Source |
| SID (service id) | sid://mindtouch.com/2008/02/svn |
| Assembly | mindtouch.deki.services |
Install Extension
Table of Contents
This extension contains functions for embeding Subversion (SVN) commit logs with automatic links to a bug tracker.
See also How to add an extension, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.
Configuration:
Before the Subversion service can be used, it must be configured.
| Config Key | Description |
| svn-uri | URI to the SVN repository. Example: https://dekiwiki.svn.sourceforge.net/svnroot/dekiwiki |
| username | Optional username for SVN repository |
| password | Optional password for SVN repository |
| path-to-svn | Path to the 'svn' binary on the file system. Default: /usr/bin/svn |
| bugs-uri | Optional URI to a bug tracker with the bug# replaced with '$1'. Example: http://bugs.opengarden.org/view.php?id=$1 |
| svn-revision-uri | Optional URI to a web based SVN revision viewer with the revision# replaced with '$1' . Example: http://dekiwiki.svn.sourceforge.net/...ev&revision=$1 |
Additional Information:
As for every extension, the subversion extension can be added several times, e.g. for different servers. To accomplish this, set the service preference "namespace". If it is set e.g. to "mysvn", the subversion service is being invoked by mysvn.table(...). If all repositories are on the same server, this is not needed, use the parameter "path" (see below) for this.
The SVN revision log from a given path. Bug numbers mentioned in the commit messages can be automatically linked to a bug tracking system
Parameters:
| Name | Type | Description |
| path | string | optional. Path within the repository to include |
| range | string | optional. Revision ranges to include. Same syntax as described in 'svn help log' |
| limit | int | optional. Limit the number of revisions returned |
| verbose | bool | optional. Show full log message or just the first line. (Default: false) |
Samples:
| Images 1 | ||
|---|---|---|
Example of embedded SVN logsvn table.PNG | ||
Copyright © 2011 MindTouch, Inc. Powered by
"Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted"
I guess I need a proper SSL certificate.
Would it be too hard to make it configurable? Or if it is, then use some kind of a standard instead of the current format, for example YYYY-MM-DD HH:MM:SS without the AM/PM or something? The current American version is unreadable for anyone who is from anywhere else than US.
However, when I use this subversion extension, the time is 3 hours behind, showing 2:40PM as the commit time. I have changed the timezone settings from the personal preferences to GMT+3. So, is Deki assuming that the server is always at GMT+0 and it's trying to adjust the date wrong or something?
Anyways, could be useful to have a configurable timezone for the Deki itself, as the server time doesn't have to mean that it's the wanted Deki timezone aswell. At least I can find a few instances where it might need to be different from the server's time.
/p[2]/span, function 'Table' failed with response:
SVN error: svn: PROPFIND request failed on '/svn/myrepo'
svn: PROPFIND of '/svn/myrepo': Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted (https://example.com)
any solution anybody?
sudo su - dekiwiki
svn list https://example.com/mysvnroot
and accept the issuer permanently (p) edited 06:31, 12 Nov 2008
That way there could be set different SVN rights for different pages and to hide SVN from using from different Deki user groups.
How does this work in the case of a Windows installation (e.g. C:\Program Files\CollabNet\Subversion Client)?