Opened 20 years ago
Last modified 17 months ago
#493 closed enhancement
Use trac with a remote Subversion repository — at Version 6
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | version control | Version: | 0.9.2 |
Severity: | major | Keywords: | subversion svn remote repository svk |
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@…, soloturn@…, imanuel.scholz@…, jyrki.muukkonen@…, sergei@…, sloukam@…, dstaple@…, buckett@…, jasonm23@…, ryanmccue@…, jcalcote@…, mdecoffe@…, a_baranenko@…, jan-trac@…, termim@…, dl9pf@…, richard@…, robert@…, mike@…, andy@…, bbdakraxor@…, linux-madagascar@…, jae+trac@…, crazedfred@…, chris.tandiono@…, olemis+trac@…, mpotter@…, cd@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
It stinks pretty bad that I have to install trac on my Subversion server AND give it write access to it.
Change History (6)
comment:1 by , 20 years ago
Severity: | normal → enhancement |
---|
comment:2 by , 20 years ago
As Mark pointed out, this is indeed the reason for above mentioned stink.
Whenever there's an official way to us the RA layer, Trac will utilize it.
comment:3 by , 20 years ago
This is understandably difficult. However, do ant trac'ers have recommendations for how to do do fine grained access control for users coming through trac? I'm currently using subversions apache module to control which users have read and write access to content via AuthzSVNAccessFile. Since trac is using the server bindings and not going through HTTP as a client, it is bypassing my access control layer. Does any one know how to do svn access control at a lower level???
I'll take this up on the svn lists too.
comment:4 by , 20 years ago
Summary: | Use trac with a REMOTE Subversion repository → Use trac with a remote Subversion repository |
---|
comment:5 by , 19 years ago
Subversion 1.2 has just been released and they've flattened the remote access API so SWIG can access it (and python bindings can be produced).
Is that all that's required to get trac to use a remote repository?
comment:6 by , 19 years ago
Description: | modified (diff) |
---|
I've experimented with this, but unfortunately the SWIG bindings for svn_ra
didn't seem to be completely usable.
For example, svn_ra_stat
(IIRC) should return a dirent object of some kind, but it expects a pointer to a struct. Apparently the mapping from C to python isn't quite worked out yet for that layer.
At present Subversion's Python bindings do not support the more-generic "repository access layer" that would facilitate accessing file://, http:// and svn:// repositories. Adding support for remote repositories to Trac will be difficult until this situation is remedied.