[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 18:50:48 CET

On Thu, 20 Dec 2007 12:36:37 -0500, John Peacock wrote:

> Andre-John Mas wrote:
>> Is there any way to have the IP address of the committer's system
>> automatically added to the check-in comment?
>
> Using what method to connect to the server?
>
> http[s]://
> svn://
> svn+ssh://
>
> Each of these would be different (the last is particularly tricky since
> the user is literally connecting from the local host via an ssh tunnel).

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'

-- 
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 19:30:04 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.