Changes between Version 8 and Version 9 of SvnsyncPlugin


Ignore:
Timestamp:
Apr 13, 2015, 5:52:17 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • SvnsyncPlugin

    v8 v9  
    1 = Front-end to svnsyncing a remote svn repo =
     1[[PageOutline(2-5,Contents,pullout)]]
    22
    3 == Description ==
    4 {{{
    5 Note: Plugin seems to be incompatible with Trac V1.0
    6 }}}
     3= Front-end to svnsyncing a remote svn repo
    74
    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
    96
    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.
    118
    12 == Bugs/Feature Requests ==
     9Trac 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
     11This 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
    1314
    1415'''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]'''
     
    2021[http://trac-hacks.org/newticket?component=SvnsyncPlugin&owner=k0s new ticket].
    2122
    22 == Download ==
     23[[TicketQuery(component=SvnsyncPlugin&group=type,format=progress)]]
     24
     25== Download
    2326
    2427Download the zipped source from [download:svnsyncplugin here].
    2528
    26 == Source ==
     29== Source
    2730
    2831You can check out SvnsyncPlugin from [http://trac-hacks.org/svn/svnsyncplugin here] using Subversion, or [source:svnsyncplugin browse the source] with Trac.
    2932
    30 == Example ==
     33== Example
    3134
    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:
     35In order to use this plugin, you must make some make some changes to the .ini file for your Trac project. First, enable the plugin:
    3336
    34 {{{
     37{{{#!ini
    3538[components]
    3639svnsyncplugin.* = enabled
     
    3942Make sure your repository type is set to svnsync:
    4043
    41 {{{
     44{{{#!ini
    4245[trac]
    4346repository_dir = /path/to/directory
     
    4548}}}
    4649
    47 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:
     50Note that {{{repository_dir}}} is used as the destination directory for the sync. You must also give the repository_url you wish to sync to:
    4851
    49 {{{
     52{{{#!ini
    5053[svn]
    5154repository_url = http://yoursvnserver.org/svn
    5255}}}
    5356
    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]:
     57The 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]:
    5558
    56 {{{
     59{{{#!sh
    5760`python -c 'import svnsyncplugin, os; print os.path.dirname(svnsyncplugin.__file__)'`/svnsync.py --directory /path/to/directory --repository http://yoursvnserver.org/svn
    5861}}}
    5962
    60 == Recent Changes ==
     63== Recent Changes
    6164
    6265[[ChangeLog(svnsyncplugin, 3)]]
    6366
    64 == Author/Contributors ==
     67== Author/Contributors
    6568
    6669''Originally developed at [http://www.openplans.org The Open Planning Project]''
    6770
    6871'''Author:''' [wiki:k0s] [[BR]]
    69 '''Maintainer:''' [wiki:hanki] [[BR]]
     72'''Maintainer:''' [[Maintainer]] [[BR]]
    7073'''Contributors:'''