Changes between Version 5 and Version 6 of SvnCliRemotePlugin


Ignore:
Timestamp:
Mar 24, 2021, 8:49:21 AM (8 weeks ago)
Author:
Cinc-th
Comment:

Information update after renaming connector types and enabling caching

Legend:

Unmodified
Added
Removed
Modified
  • SvnCliRemotePlugin

    v5 v6  
    77This 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.
    88
    9 This 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.
     9The plugin provides a connector with caching and a direct connector without.
    1010
     11The latter is useful if you want to quickly or maybe just temporarily provide access to a (remote) repository.
     12Initial 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.
    1113Nevertheless working with subtrees (like https://trac-hacks.org/svn/peerreviewplugin) is going well.
    1214
    1315== 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)''
     16The following bugs are known:
    1717* 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)
    2019
    21 
     20The plugin was tested with ''Subversion 1.10.3''.
    2221== !Bugs/Feature Requests
    2322
     
    5150{{{#!ini
    5251[components]
    53 subversioncli.svn_cli.subversioncliconnector = enabled
     52subversioncli.svn_cli.* = enabled
    5453}}}
    5554
     55The subversion client {{{svn}}} must be in your path.
    5656== Configuration
    5757Use the Trac repository admin page to configure a repository.
    5858
    5959There are two connector types available:
    60 * `svn-cli-direct` for local repositories
    61 * `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
    6262
    6363=== Local repository
    6464For local repositories you have to provide an ''absolute path'' to the repository directory.
    6565
    66 Choose `svn-cli-direct` as connector.
     66{{{
     67/path/to/local/repo
     68}}}
     69
     70or when using Windows
     71{{{
     72x:/path/to/local/repo
     73}}}
    6774
    6875=== Remote repository
     
    7279
    7380We 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:
    7582
    7683{{{
     
    7986or
    8087{{{
    81 x:\https://trac-hacks.org/svn
     88x:/https://trac-hacks.org/svn
    8289}}}
    83 Choose `svn-cli-remote` as connector.
    8490
    8591=== Subtree as repository
     
    9197/https://trac-hacks.org/svn/peereviewplugin
    9298}}}
     99Chose `svn-cli-direct` as connector.
    93100
     101There 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 
    94102=== Hints
    95103Set the following in your ''trac.ini'':