[Trac] Re: trac module for commiting code in subversion

2009-09-25 Thread RJOllos

On Sep 18, 8:56 am, Shane Caraveo mixedpu...@gmail.com wrote:
 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.

To the best of my knowledge after many hours of effort and
research ... WebDAV is broken, but can be patched on Vista x32.
WebDAV is broken and there is no fix on Vista x64.  WebDAV is
unreliable on OSX 10.5.  I've found some decent third party clients
for OSX, but nothing I have been very happy with on Windows, thus far.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac module for commiting code in subversion

2009-09-25 Thread osimons

On Sep 25, 9:57 pm, RJOllos ry...@physiosonics.com wrote:
 On Sep 18, 8:56 am, Shane Caraveo mixedpu...@gmail.com wrote:

  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.

 To the best of my knowledge after many hours of effort and
 research ... WebDAV is broken, but can be patched on Vista x32.
 WebDAV is broken and there is no fix on Vista x64.  WebDAV is
 unreliable on OSX 10.5.  I've found some decent third party clients
 for OSX, but nothing I have been very happy with on Windows, thus far.

WebDAV for Subversion on linux/osx at least committs a lot of changes
- a single 'save' will create a new file, delete the old and then a
rename (making 3 changesets). Without a chance to even document what
the saving entails, the revision log gets close to unusable - also
seeing that the new file breaks the revision history of the old file
it replaces (added as a new file every time). One project manager with
an Office document and a life-log habit of continually hitting 'ctrl-
s' (as you never know when office will crash...) will make 100's of
changes in the repos during a morning editing session...

At least this was my experience back at svn 1.3/1.4 when I tested and
rejected the idea of using it. I don't think anything has changed
since, but haven't looked either.

:::simon

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac module for commiting code in subversion

2009-09-24 Thread Chris Heller
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 mixedpu...@gmail.com wrote:


 On 09-09-18 8:40 AM, W. Martin Borgert wrote:
 
  Quoting Noah Kantrowitzn...@coderanger.net:
  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 trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac module for commiting code in subversion

2009-09-18 Thread Noah Kantrowitz

Trac is a read-only viewer, you cannot alter the repo in any way. If  
you are using mod_dav_svn it is very easy to setup both Trac and SVN  
to use the same authentication config (just copy over the Apache  
config block). If you are using svnserve's password file, look at the  
AccountManager plugin. If you are using svn+ssh there a backend for  
accountmanager to use pwauth (http://code.google.com/p/pwauth/).

--Noah

On Sep 16, 2009, at 11:00 AM, Frederiko Costa wrote:


 Hello,

 Simple and quick question: I was able to work with the trac's svn-
 browser. I can check out the code, but can't commit code in, unless I
 talk directly to svn server, bypassing trac (which I still believe is
 the way to go). Is there any interface that would easy this situation?
 Would I have to maintain different account for trac and subversion?
 What's the recommended approach for this scenario?

 Thanks in advance.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac module for commiting code in subversion

2009-09-18 Thread yoheeb

On Sep 18, 3:50 am, Noah Kantrowitz n...@coderanger.net wrote:
 Trac is a read-only viewer, you cannot alter the repo in any way. If  
 you are using mod_dav_svn it is very easy to setup both Trac and SVN  
 to use the same authentication config (just copy over the Apache  
 config block). If you are using svnserve's password file, look at the  
 AccountManager plugin. If you are using svn+ssh there a backend for  
 accountmanager to use pwauth (http://code.google.com/p/pwauth/).

 --Noah

 On Sep 16, 2009, at 11:00 AM, Frederiko Costa wrote:



  Hello,

  Simple and quick question: I was able to work with the trac's svn-
  browser. I can check out the code, but can't commit code in, unless I
  talk directly to svn server, bypassing trac (which I still believe is
  the way to go). Is there any interface that would easy this situation?
  Would I have to maintain different account for trac and subversion?
  What's the recommended approach for this scenario?

  Thanks in advance.

And make use of the trac-post-commit-hook.py or appropriate variant
for you application
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac module for commiting code in subversion

2009-09-18 Thread W. Martin Borgert

Quoting Noah Kantrowitz n...@coderanger.net:
 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.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac module for commiting code in subversion

2009-09-18 Thread Shane Caraveo

On 09-09-18 8:40 AM, W. Martin Borgert wrote:

 Quoting Noah Kantrowitzn...@coderanger.net:
 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 trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---