Changes between Version 8 and Version 9 of SvnsyncPlugin
- Timestamp:
- Apr 13, 2015, 5:52:17 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SvnsyncPlugin
v8 v9 1 = Front-end to svnsyncing a remote svn repo = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 == Description == 4 {{{ 5 Note: Plugin seems to be incompatible with Trac V1.0 6 }}} 3 = Front-end to svnsyncing a remote svn repo 7 4 8 Trac does not provide an out-of-the-box solution for svn repositories that don't reside on the same server as trac. SvnsyncPlugin provides a front-end to aid in the creation of a svnsync-ed repository locally. This requires svn 1.4 to be installed locally (including the svnsync command on the $PATH). 5 == Description 9 6 10 This plugin is still a beta and is not as automated as could be. Also, svnsync is not 100% reliable -- for instance, it does not work as expected on edgewall's repositories. Like all holes, these can be patched if time and interest warrant.7 '''Note''': Plugin seems to be incompatible with Trac v1.0. 11 8 12 == Bugs/Feature Requests == 9 Trac does not provide an out-of-the-box solution for svn repositories that don't reside on the same server as Trac. SvnsyncPlugin provides a front-end to aid in the creation of a svnsync-ed repository locally. This requires svn 1.4 to be installed locally, including the svnsync command on the $PATH. 10 11 This plugin is still a beta and is not as automated as it could be. Also, svnsync is not 100% reliable: for instance, it does not work as expected on edgewall's repositories. 12 13 == Bugs/Feature Requests 13 14 14 15 '''svnsync, and therefore the SvnsyncPlugin, requires the remote version svn server to be at least version 1.4; see the {{{svnsync}}} section of the [http://subversion.tigris.org/svn_1.4_releasenotes.html subversion 1.4]''' … … 20 21 [http://trac-hacks.org/newticket?component=SvnsyncPlugin&owner=k0s new ticket]. 21 22 22 == Download == 23 [[TicketQuery(component=SvnsyncPlugin&group=type,format=progress)]] 24 25 == Download 23 26 24 27 Download the zipped source from [download:svnsyncplugin here]. 25 28 26 == Source ==29 == Source 27 30 28 31 You can check out SvnsyncPlugin from [http://trac-hacks.org/svn/svnsyncplugin here] using Subversion, or [source:svnsyncplugin browse the source] with Trac. 29 32 30 == Example ==33 == Example 31 34 32 In order to use this plugin, you must make some make some changes to the .ini file for your trac project.First, enable the plugin:35 In order to use this plugin, you must make some make some changes to the .ini file for your Trac project. First, enable the plugin: 33 36 34 {{{ 37 {{{#!ini 35 38 [components] 36 39 svnsyncplugin.* = enabled … … 39 42 Make sure your repository type is set to svnsync: 40 43 41 {{{ 44 {{{#!ini 42 45 [trac] 43 46 repository_dir = /path/to/directory … … 45 48 }}} 46 49 47 Note that {{{repository_dir}}} is used as the destination directory for the sync. 50 Note that {{{repository_dir}}} is used as the destination directory for the sync. You must also give the repository_url you wish to sync to: 48 51 49 {{{ 52 {{{#!ini 50 53 [svn] 51 54 repository_url = http://yoursvnserver.org/svn 52 55 }}} 53 56 54 The repository will be synced on each request. The first sync (to get all past version) will take some time.You can get around this by using the svnsync.py script [UNIX syntax shown]:57 The repository will be synced on each request. The first sync (to get all past versions) will take some time. You can get around this by using the svnsync.py script [UNIX syntax shown]: 55 58 56 {{{ 59 {{{#!sh 57 60 `python -c 'import svnsyncplugin, os; print os.path.dirname(svnsyncplugin.__file__)'`/svnsync.py --directory /path/to/directory --repository http://yoursvnserver.org/svn 58 61 }}} 59 62 60 == Recent Changes ==63 == Recent Changes 61 64 62 65 [[ChangeLog(svnsyncplugin, 3)]] 63 66 64 == Author/Contributors ==67 == Author/Contributors 65 68 66 69 ''Originally developed at [http://www.openplans.org The Open Planning Project]'' 67 70 68 71 '''Author:''' [wiki:k0s] [[BR]] 69 '''Maintainer:''' [ wiki:hanki] [[BR]]72 '''Maintainer:''' [[Maintainer]] [[BR]] 70 73 '''Contributors:'''