Edgewall Software

Changes between Version 6 and Version 147 of Ticket #493


Ignore:
Timestamp:
Feb 19, 2009, 9:29:16 AM (15 years ago)
Author:
Christian Boos
Comment:

There are many possible solutions to this ticket.

  • implement a new VersioningSystemBackend
    • using Subversion SWIG Python bindings, the svn_ra layer API. This has been tried by Shun-ichi Goto, it worked somehow, with some weak points due to bugs in the bindings, IIRC. Unfortunately, that plugin doesn't seem to be available anymore.
    • using Subversion ctypes bindings (with svn 1.5).
    • using the PySVN bindings (not a good idea according to comment:72) Any of the above is possible, and if a good working implementation emerges, then I'm sure it can find its way into Trac proper.
  • workaround the limitation by replicating the remote svn repository
    • have a post-commit-hook in the main repository which triggers a svnsync to the Trac-dedicated repository (comment:64)
    • trigger a svnsync from Trac (TracHacks:SvnsyncPlugin, comment:117)
    • mirror the svn repository using git or Mercurial and have Trac use the mirror

So yes, using a remote Subversion repository is not yet as easy as putting an http://… URL in the repository_dir, but there are solutions.

I think there are enough +1 voices here so that there's no need to add more… Please consider adding to this ticket only if you want to share with the numerous people on the CC: list a new information about this issue (in particular, an update from Shun-Ichi would be more than welcomed).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #493

    • Property Status newreopened
    • Property Reporter changed from radix@… to radix at twistedmatrix.com
    • Property Cc yuangang28@… nslater@… oetiker@… marshall@… slith76@… jwin1@… azrael@… mr0winky@… caio1982@… edgewall.cjy@… anarcat@… chris@… chris.a.williams@… jp@… scott@… tdussa@… heikki.lampen@… climaxius@… felix.schwarz@… trac.edgewall.org@… martin.marcher@… rflegel@… soloturn@… imanuel.scholz@… jyrki.muukkonen@… dewey@… sergei@… thomas.subera@… sloukam@… dstaple@… buckett@… jasonm23@… ryanmccue@… jcalcote@… trac@… mdecoffe@… a_baranenko@… jan-trac@… termim@… dl9pf@… richard@… robert@… mike@… andy@… bbdakraxor@… added
    • Property Component generalversion control
    • Property Priority normalhigh
    • Property Owner changed from Jonas Borgström to Christian Boos
    • Property Version 0.70.9.2
    • Property Milestone0.12
    • Property Keywords repository svk added
    • Property Severity enhancementmajor
  • Ticket #493 – Description

    v6 v147  
    1 It stinks pretty bad that I have to install trac on my Subversion server AND give it write access to it.
     1Currently Trac needs to have a direct (read-only) access to the Subversion repository. It's not yet possible to simply specify an URL to a remote repository.