[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 27 Jul 2010 09:51:49 +0300

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 <RamkumarD_at_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_at_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
> >
Received on 2010-07-27 08:53:33 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.