You can access svn via file:/// URLs from within Trac. We do this for a very limited set of scenarios where a commit is initiated from within Trac (e.g. tagging releases - not a general svn client), but this bypasses things like path based authentication (since you're not going through the svn server code) so you have to take care to restrict the commits in your logic (meaning don't let the user specify random paths from within Trac).
Trac does have a module for processing svnauthz files so even if you are using path based authentication in Subversion, but not in Trac, you can still determine whether a commit would be allowed by the Subversion server code. I think that this is the same thing that trac-hacks does to create a new project/hack when you register one. It's probably worth mentioning that this presumes that your Trac users match exactly to your Subversion user names. On Fri, Sep 18, 2009 at 8:56 AM, Shane Caraveo <[email protected]> wrote: > > On 09-09-18 8:40 AM, W. Martin Borgert wrote: > > > > Quoting "Noah Kantrowitz"<[email protected]>: > >> Trac is a read-only viewer, you cannot alter the repo in any way. > > > > Btw, the idea of a plugin that allows SVN commits striked me more than > > once. We use Trac both for software developers and for "less technical > > staff". They have sometimes to get a document from SVN (which they can > > do easily using the Trac web interface) as well as updating a file > > (for which they have to use e.g. Tortoise SVN on Windows). I believe > > an "SVN upload plugin" would be an interesting add-on for some users. > > What's wrong with a webdav interface to the repository? End user mounts > the drive, and has transparent versioning for anything they save to it. > > Shane > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
