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

Re: post-commit question/issue

From: Binod <binod3_at_gmail.com>
Date: 2007-05-02 22:40:55 CEST

Hey guys thanks for your help. I am still not done yet. These are the steps
that I have followed after I got the last email from Andrew and Jeff

I created a file called mailer.conf in /home/svn/repos/hooks/scripts/

I also have my mailer.py in the same folder i.e/home/svn/repos/hooks/scripts

But my post-commit file is on the /home/svn/repos/hooks

Does it matter where the files are located?

The other thing that I did was I gave the python path as Jeff mentioned in
the following way in the post-commit file in the /home/svn/repos/hooks
folder:

/usr/bin/python $REPOS/hooks/scripts/mailer.py commit "$REPOS" "$REV"

$REPOS/hooks/scripts/mailer.conf

I did *which python* in the command line and yea in my OS and the path for
python is /usr/bin/python itself.

Now after then I went to mailer.conf file in the
/home/svn/repos/hooks/scripts folder and then as mentioned by Andrew I added
only mine email address binod3@gmail.com in

<<<The default To: addresses for message. One or more addresses,

# separated by whitespace (no commas).

# NOTE: If you want to use a different character for separating the

# addresses put it in front of the addresses included in square

# brackets '[ ]'.

*to_addr =binod3@gmail.com*

 # If this is set, then a Reply-To: will be inserted into the message.

reply_to =

 # Specify which types of repository changes mailer.py will create

# diffs for. Valid options are any combination of

# 'add copy modify delete', or 'none' to never create diffs.

# If the generate_diffs option is empty, the selection is controlled>>>>

[This is just a portion from mailer.conf script to show where I added the
email address]

Ok, now I went through both the mailer.py and mailer.conf file to see if I
can get any idea out of them of what is happening and I could not understand
anything. So, I did not do anything in those files besides what I have
already mentioned.

My question?

Is this all? Do I not have to execute the file post-commit manually, how is
it going to run automatically? I am not cleared at this part yet? If I need
to make more configuration please let me know. After then I am planning to
test whether it works or not? And I will let you guys know how it goes.

*And I am very thankful to you guys for all the help. Really appreciated.*

Thanks,

Binod
**
Received on Wed May 2 22:41:21 2007

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.