[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Spying on svnserve

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-22 19:55:52 CEST

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

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.