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

Re: Commiter's IP address in commit comment?

From: Sohail Somani <sohail_at_taggedtype.net>
Date: 2007-12-20 19:40:38 CET

On Thu, 20 Dec 2007 13:36:57 -0500, John Peacock wrote:

> Sohail Somani wrote:
>> Actually, the last one is the easiest. Most SSH implementations set
>> some environment variable. For example, on Ubuntu:
>>
>> SSH_CONNECTION='127.0.0.1 34727 127.0.0.1 22'
>
> But that information won't be present in any post-commit script (which
> strip most things out of ENV for security reasons). Any solution will
> have to rely on the server process itself to log that information and
> then postprocess the log files...

Of course, duh! Another option may be to search up the process tree.

-- 
Sohail Somani
http://uint32t.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 20 20:00:05 2007

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.