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

RE: Setup post-commit mailer fails

From: Michael Silberman <Michael.Silberman_at_Netgear.com>
Date: Thu, 26 Jan 2017 18:33:53 +0000

Hello Pavel,
   I'm on a VM with Red Hat Enterprise Linux Server release 6.8 (Santiago) so I'm limited to the packages I can get through yum, but I used the RPM to get Python 2.7 installed. I replicated the files on our old Subversion server for the mailer.conf, post-commit, and the mailer.py. The new server has Subversion 1.9.4 (r1740329 wd-1) installed. I'm not a Python programmer so I don't know what packages are required to transition the mailer.py script to work with the Subversion 1.9 installed and the Python 2.7 version.
Here is the error I get during testing.

$ svn ci -m "addin readme" README
Adding README
Transmitting file data .
Committed revision 2.

Warning: post-commit hook failed (exit code 1) with output:
You need version 1.5.0 or better of the Subversion Python bindings.

Is there an RPM or set of them I need to install to make this work? Is there a path issue? Any steps necessary to edit the script?

Regards,
Michael Silberman
-----Original Message-----
From: Pavel Lyalyakin [mailto:pavel.lyalyakin_at_visualsvn.com]
Sent: Thursday, January 26, 2017 3:16 AM
To: Michael Silberman <Michael.Silberman_at_Netgear.com>
Cc: users_at_subversion.apache.org
Subject: Re: Setup post-commit mailer fails

Hello Michael,

On Thu, Jan 26, 2017 at 1:27 AM, Michael Silberman <Michael.Silberman_at_netgear.com> wrote:
>
> Hello,
>
> I’ve upgraded Subversion to 1.9 and Python to 2.7. Where can I find the Subversion Python binding and Python script mailer.py? Does anyone have instructions to configure the notification script environment so email notices work with this script?
>
> Regards,
>
> Michael

What exactly do you mean by "setup post-commit mailer fails"?

Anyway, `mailer.py` is available at
https://urldefense.proofpoint.com/v2/url?u=http-3A__svn.apache.org_viewvc_subversion_trunk_tools_hook-2Dscripts_mailer_&d=DwIFaQ&c=mPqdMxlQPdltZylzF3sRPA&r=3Cfm8zsX3deZqG3JCZLpFealAzwN9AMA_A7tQtJEAFY&m=0KxTt-1pzStcu8elgA8_6bcgSQtmi-C8WZg2x_A4acs&s=d06yH1k94ReCDy1AYmWOzNtR3dsHrL4bFkJdgs-xNJw&e=

--
With best regards,
Pavel Lyalyakin
VisualSVN Team
Received on 2017-01-26 19:34:10 CET

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.