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

Re: Post commit script running 'svn log'

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-07-26 23:53:09 CEST

Kavika Vollmar wrote:
> Hi there!
> I am very confused: I am trying to run
> 'svn log --verbose -r x:y' from a post-commit script in order to send
> emails out after each commit.
> Since these post-commit scripts are execute from apache with no valid
> user name specified, I can not get
> Authenticated. (We use the LDAP authentication.)
> The only way I could get this to work is to explicitly specifiy
> '--username ****** --password ****' for the
> 'svn log' command my post-commit script, which is highly insecure.
>
> What am I missing?

Why don't you use the mailer.py that comes with Subversion. It will do most
everything you need in a post commit mailer? You point it directly at the
repository's location on your filesystem and it doesn't need any authorization.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 26 23:54:28 2006

This is an archived mail posted to the Subversion Users mailing list.