We have gone a little ways down this path of allowing constrained operations
against the underlying subversion repository, primarily for copying/tagging
things so far, although we also like the idea of supporting the simple edit
via the web browser as well.

That's worked out fairly well,  although what we have done is probably a
little too tied to our specific use case to release as a plugin.  We'd be
open to helping on a generic plugin though.

One thing that we ended up doing as part of getting this working is to use
svnmucc under the covers because we're often wanting to do multiple copies
in a single commit and svnmucc allows us to accomplish that.  We generate
the input file that svnmucc will read from within Trac and then run svnmucc
via a subprocess call.


On Wed, Jun 23, 2010 at 10:49 AM, Christian Boos <[email protected]> wrote:

> Hello,
>
>
> On 6/23/2010 6:39 PM, Piper, Nick wrote:
>
>> Dear Trac-Users list,
>>
>> As mentioned briefly on IRC (my username is pipern), we'd like to provide
>> our Trac users with the ability to write to the svn repository via their web
>> browser, through the source browser.
>>
>> We're interested in svn only at the moment.
>>
>> It's already been discussed a little over the last few years as
>> http://trac.edgewall.org/ticket/2956
>>
>>
>
>  That ticket is mostly about 'Upload file', but we'd also like to have:
>>  * Rename
>>  * Delete
>>
>>
>
> "Delete" really? Then don't forget to add a "Resurrect" button as well ;-)
>
>
>   * mkdir
>>  * Maybe edit for simple text files
>>
>>
>>
>
> There's also an "intermediate" level I'm quite interested to implement
> myself, as I think this will ease contributions of small fixes: it's the
> possibility to edit the content and then produce a patch, eventually with
> the possibility to save it as an attachment to a ticket.
>
> Doing the upload side (or any of the other "write" operation you suggest
> below) is a bit more involved, as for doing it well it would require to
> extend the trac.versioncontrol.api.
>
>
>  We'll be doing this work ourselves eventually, but it would be ideal for
>> us if we could fund the development so that we can do it at the same time as
>> other work.
>>
>>
>
> In any case, it would be nice to contribute the code back, in one form or
> another (plugin or patch).
>
> -- Christian
>
>
> --
> 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]<trac-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.
>
>

-- 
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.

Reply via email to