On Oct 22, 2006, at 12:26, Kevin Greiner wrote:
> On 10/21/06, Kip Warner wrote:
>
>> Is there any further way that someone creative might come up with to
>> find out or log who (user) is connecting from where (ip address) and
>> what they are doing (commit, checkout, etc.)? I would like to be
>> able to
>> do this without installing Apache.
>
> Have you thought about using hooks to write or append to a log
> file? Chapter 5 of the Subversion book contains a section on hooks
> for committing, change revprops, and modifying a file's lock
> status. There aren't any plans to implement checkout or export
> hooks though. See http://svn.haxx.se/dev/archive-2005-10/0920.shtml
> for some details.
Checkout, export and update hooks are available with my hook
dispatcher script:
http://www.ryandesign.com/svnhookdispatcher/
It does require that you serve the repository using Apache though.
This would also be somewhat backward: The Subversion Apache module as
of Subversion 1.3 provides a high-level log; it is this log that my
script uses to dispatch the extra hooks. So to use the hooks just to
write a log file wouldn't be that sensible; you could just use the
log that mod_dav_svn already provides.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Oct 22 19:56:28 2006