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

Re: Email to any user while any branch updated

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-08-08 20:34:23 CEST

On Aug 8, 2007, at 06:50, Laxmilal Menaria wrote:

> On 8/8/07, Ryan Schmidt wrote:
>
>> On Aug 8, 2007, at 02:38, Laxmilal Menaria wrote:
>>
>>> On 8/8/07, TROSSET,DIDIER (A-Switzerland,ex1) wrote:
>>>
>>>> On Wed, 2007-08-08 at 12:04 +0530, Laxmilal Menaria wrote:
>>>>
>>>>> I am using Subversion form last 1 year, and now I repository have
>>>>> too
>>>>> may projects, and I am not able to find out where are changed and
>>>>> who
>>>>> was changed, that is manually process and take too much time,
>>>>> so can
>>>>> anybody tell me if any changes are made in repository then a email
>>>>> send to any admin user ? or any other automated process .?
>>>>
>>>> There is the mailer.py hook script in the distribution, that does
>>>> this
>>>> job perfectly. I also setup mailman in combination, so that
>>>> users can
>>>> subscribe to the lists that are relevant for them.
>>>
>>> I am using msi package and I have checked the Installation folder,
>>> there are no mailer.py script., please let me know where to download
>>> and How to configure ?
>>
>> Binary installers generally do not include these extra scripts. You
>> need the source package.
>>
>> If you will use Google to search for "mailer.py" you will find that
>> the first result is:
>>
>> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer/
>> mailer.py
>>
>> That is the script. You will also need Python to run it.
>>
>> If you will then take off the last component of the URL:
>>
>> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer/
>>
>> You will find that there is an example configuration file:
>>
>> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer/
>> mailer.conf.example
>
> Ok..Thanks, I have downloaded both files and Installed python, so Now
> how can i configure it.. where should I place the mailer.py and conf
> file..

You can put the script anywhere you like. You will be calling it via
absolute path from your post-commit hook, which is in the hooks
directory of your repository directory.

The config file can also be anywhere you like. According to the
comments at the top of the mailer.py script, you will be passing the
config file's path to the script when you invoke it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 8 20:33:33 2007

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