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

Re: How to get the client hostname while user committing the code to the repository?

From: Volker Kopetzky <vk_at_vzkb.de>
Date: Wed, 28 Jul 2010 13:59:09 +0700

Ramkumar,

the client and server information is part of the HTTP header information.
You could use apache's mod_rewrite to rout the call to an additional (warpper) script on the server to get this information.

Could you please clarify more about what information is to be displayed and how the use case scenario looks like?

Beste Grüße,
kind regards,
Volker Kopetzky
vzk Beratung
Germany & Thailand

phone +49.6809.2163.30
phone +66.86.143.77.27
skype volker.kopetzky
email vk_at_vzkb.de
wsite http://www.vzkb.de

Am 28.07.2010 um 11:30 schrieb ram kumar:

Hi,
 
We are using http protocal. Please find the server and client details below. We have to popup some window on the client machine either in pre or post commit operation.
 
Prototype is working fine so need to know how to get the client ip adress or hostnmae in pre/post commit trigger.
 
SVN Server: Linux
SVN Clients: Windows XP
 
Regards,
Ramkumar
 
 
> Hi,
>
>
>
> I need your help.
>
>
>
> I need the client host information in either pre or post-commit trigger.
 
 
Good luck with that!! If you're using a single protocol of access, such as ssh+svn or HTTPS, it's conceivable that you could adopt a wrapper to do something clever and deduce the hostname. But it seems awkward.
 
Why do you want this?
 
Received on 2010-07-28 09:00:00 CEST

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.