You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2010/07/27 06:51:49 UTC

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

What Stephen said.

@Ramkumar, if you told us *why* you think you want that info, we might be able
to help you solve your problem in a different way.

Stephen Connolly wrote on Mon, Jul 26, 2010 at 18:08:25 +0100:
> Probably not available.
> 
> Keep in mind that depending on how a repo is set up people could be
> accessing it via:
> 
> svn:
> ssh+svn:
> http:
> https:
> 
> They kep point here is that ssh+svn will appear to subversion as a commit
> from localhost (i.e. 127.0.0.1)
> 
> So it is likely that the commit scripts do not have the info passed through
> because the info could well be useless... a.k.a. Design for lowest common
> denominator
> 
> -Stephen
> 
> On 26 July 2010 10:57, Dharmaraj, Ramkumar <Ra...@nds.com> wrote:
> 
> >  Hi,
> >
> >
> >
> > I need your help.
> >
> >
> >
> > I need the client host information in either pre or post-commit trigger.
> >
> >
> >
> > Regards,
> >
> > Ram
> >
> >
> >
> > ------------------------------
> > This message is confidential and intended only for the addressee. If you
> > have received this message in error, please immediately notify the
> > postmaster@nds.com and delete it from your system as well as any copies.
> > The content of e-mails as well as traffic data may be monitored by NDS for
> > employment and security purposes.
> > To protect the environment please do not print this e-mail unless
> > necessary.
> >
> > An NDS Group Limited company. www.nds.com
> >