Changes between Version 5 and Version 6 of SvnCliRemotePlugin
- Timestamp:
- Mar 24, 2021, 8:49:21 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SvnCliRemotePlugin
v5 v6 7 7 This plugin allows you to connect to remote and/or local subversion repositories. It uses the subversion command line client {{{svn}}} so no subversion-python bindings need to be installed which sometimes can be a daunting task. 8 8 9 Th is is a direct connector without any caching so initial viewing of large trees is slow especially for remote ''Http:''/''Https:'' repositories like https://trac-hacks.org/svn. Same for very large changesets.9 The plugin provides a connector with caching and a direct connector without. 10 10 11 The latter is useful if you want to quickly or maybe just temporarily provide access to a (remote) repository. 12 Initial viewing of large trees with the direct connector is slow especially for remote ''Http:''/''Https:'' repositories like https://trac-hacks.org/svn. Same for very large changesets. 11 13 Nevertheless working with subtrees (like https://trac-hacks.org/svn/peerreviewplugin) is going well. 12 14 13 15 == Status 14 Note that this plugin is still in development so bugs may exist and features may still be missing. 15 * ~~No support for properties~~ ''(implemented now)'' 16 * ~~No preview for certain files containing unicode characters~~ ''(implemented now)'' 16 The following bugs are known: 17 17 * Context navigation for ''Next Revision'' doesn't work 18 * ~~Timeline sometimes doesn't show changes. Seen on trac-hacks.org for periods long ago. Current changes (first page) are visible.~~ (fixed) 19 * No caching (as designed) 18 * No caching for subtree repositories (local mirrors of subtrees do work, though) 20 19 21 20 The plugin was tested with ''Subversion 1.10.3''. 22 21 == !Bugs/Feature Requests 23 22 … … 51 50 {{{#!ini 52 51 [components] 53 subversioncli.svn_cli. subversioncliconnector= enabled52 subversioncli.svn_cli.* = enabled 54 53 }}} 55 54 55 The subversion client {{{svn}}} must be in your path. 56 56 == Configuration 57 57 Use the Trac repository admin page to configure a repository. 58 58 59 59 There are two connector types available: 60 * `svn-cli -direct` for localrepositories61 * `svn-cli- remote` for remote repositories like ''http:'' or ''https:''60 * `svn-cli` caching connector for local and remote repositories 61 * `svn-cli-direct` direct connector for local and remote repositories 62 62 63 63 === Local repository 64 64 For local repositories you have to provide an ''absolute path'' to the repository directory. 65 65 66 Choose `svn-cli-direct` as connector. 66 {{{ 67 /path/to/local/repo 68 }}} 69 70 or when using Windows 71 {{{ 72 x:/path/to/local/repo 73 }}} 67 74 68 75 === Remote repository … … 72 79 73 80 We have to trick Trac into accepting a Url by prepending it with a slash `/` (or 74 `x: \` when running Trac on Windows) like this:81 `x:/` when running Trac on Windows) like this: 75 82 76 83 {{{ … … 79 86 or 80 87 {{{ 81 x: \https://trac-hacks.org/svn88 x:/https://trac-hacks.org/svn 82 89 }}} 83 Choose `svn-cli-remote` as connector.84 90 85 91 === Subtree as repository … … 91 97 /https://trac-hacks.org/svn/peereviewplugin 92 98 }}} 99 Chose `svn-cli-direct` as connector. 93 100 101 There is currently no caching available for remote subtree repositories. You have to mirror a subtree to your local system using {{{svnsync}}} if you need caching. See here: https://trac.edgewall.org/wiki/TracMigrate#SubversionReplication 94 102 === Hints 95 103 Set the following in your ''trac.ini'':