You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Irfan Sayed <ir...@gmail.com> on 2009/05/11 07:09:48 UTC

commit email notification

Hi All,

I am using email notification whenever there is a commit operation.
following is the line i put in the post-commit file
perl /usr/local/svn/platform/hooks/commit-email.pl "$REPOS" "$REV" --from
software-commit-mailer@abc.com -s "svn commit" irf@abc.com   -m projects

now this line will send the mail to irf@abc.com whenever there is a commit.
my doubt is that what is the use of -m flag in this line.
when i see the help of this , it shows that it is a regular expression whcih
shows the commited path which i dont understand

now my requirement is that i need to enable this notification for diff.
projects. can i do something like
perl /usr/local/svn/platform/hooks/commit-email.pl "$REPOS" "$REV" --from
software-commit-mailer@exfo.com -s "svn commit" irf@abc.com   -m projects,
project_1


please advice

Regards
Irf

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2185270

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: commit email notification

Posted by "Mihamina Rakotomandimby (R12y)" <mi...@lab.vectoris.fr>.
On 05/11/2009 02:56 PM, Irfan Sayed wrote:
> please advice. i tried to get into it but no luck.

Are your developpers working your way?
It is awesome!

-- 
                              Chef de projet chez Vectoris
                                  Phone: +261 33 11 207 36
System: xUbuntu 8.10 with almost all from package install
    http://www.google.com/search?q=mihamina+rakotomandimby

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2189950

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: commit email notification

Posted by Andy Levy <an...@gmail.com>.
On Mon, May 11, 2009 at 07:56, Irfan Sayed <ir...@gmail.com> wrote:
> please advice. i tried to get into it but no luck.

You need to do more than this. It's pointless for us to "advise" if
you don't tell us what you've already "tried."

> On Mon, May 11, 2009 at 4:47 PM, Andy Levy <an...@gmail.com> wrote:
>>
>> On Mon, May 11, 2009 at 06:28, Irfan Sayed <ir...@gmail.com> wrote:
>> > Hi all,
>> >
>> > let me explain :
>> > i have onre repository called /usr/local/svn/projects
>> > total three project are usimg this repository 1: project_a 2: project_b
>> > 3:
>> > project_c (these folders are created in subversion)
>> >
>> > now for all these projects , the develoment team is different so what i
>> > want
>> > to do is i want to send mail to only each concern developer of a
>> > specific
>> > project whenevr there is a commit.
>> > there should not be a mail addressing to all developers when there is a
>> > commit related to only one project (say project_a)
>>
>>
>> Have you read the documentation/instructions for the mailer script(s)
>> you've used or been advised to use? They probably address this.
>>
>> > On Mon, May 11, 2009 at 2:11 PM, Mihamina Rakotomandimby (R12y)
>> > <mi...@lab.vectoris.fr> wrote:
>> >>
>> >> On 05/11/2009 11:37 AM, Irfan Sayed wrote:
>> >> > i agree but i dont know python. how i can then understand??
>> >>
>> >> - Tell us what do you know
>> >> - Dont be affraid to learn.
>> >>
>> >> --
>> >>                              Chef de projet chez Vectoris
>> >>                                  Phone: +261 33 11 207 36
>> >> System: xUbuntu 8.10 with almost all from package install
>> >>    http://www.google.com/search?q=mihamina+rakotomandimby
>> >>
>> >> ------------------------------------------------------
>> >>
>> >>
>> >> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2186345
>> >>
>> >> To unsubscribe from this discussion, e-mail:
>> >> [users-unsubscribe@subversion.tigris.org].
>> >
>> >
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2189759

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: commit email notification

Posted by Irfan Sayed <ir...@gmail.com>.
please advice. i tried to get into it but no luck.

regards
irf

On Mon, May 11, 2009 at 4:47 PM, Andy Levy <an...@gmail.com> wrote:

> On Mon, May 11, 2009 at 06:28, Irfan Sayed <ir...@gmail.com> wrote:
> > Hi all,
> >
> > let me explain :
> > i have onre repository called /usr/local/svn/projects
> > total three project are usimg this repository 1: project_a 2: project_b
> 3:
> > project_c (these folders are created in subversion)
> >
> > now for all these projects , the develoment team is different so what i
> want
> > to do is i want to send mail to only each concern developer of a specific
> > project whenevr there is a commit.
> > there should not be a mail addressing to all developers when there is a
> > commit related to only one project (say project_a)
>
>
> Have you read the documentation/instructions for the mailer script(s)
> you've used or been advised to use? They probably address this.
>
> > On Mon, May 11, 2009 at 2:11 PM, Mihamina Rakotomandimby (R12y)
> > <mi...@lab.vectoris.fr> wrote:
> >>
> >> On 05/11/2009 11:37 AM, Irfan Sayed wrote:
> >> > i agree but i dont know python. how i can then understand??
> >>
> >> - Tell us what do you know
> >> - Dont be affraid to learn.
> >>
> >> --
> >>                              Chef de projet chez Vectoris
> >>                                  Phone: +261 33 11 207 36
> >> System: xUbuntu 8.10 with almost all from package install
> >>    http://www.google.com/search?q=mihamina+rakotomandimby
> >>
> >> ------------------------------------------------------
> >>
> >>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2186345
> >>
> >> To unsubscribe from this discussion, e-mail:
> >> [users-unsubscribe@subversion.tigris.org].
> >
> >
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2188888

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: commit email notification

Posted by Andy Levy <an...@gmail.com>.
On Mon, May 11, 2009 at 06:28, Irfan Sayed <ir...@gmail.com> wrote:
> Hi all,
>
> let me explain :
> i have onre repository called /usr/local/svn/projects
> total three project are usimg this repository 1: project_a 2: project_b 3:
> project_c (these folders are created in subversion)
>
> now for all these projects , the develoment team is different so what i want
> to do is i want to send mail to only each concern developer of a specific
> project whenevr there is a commit.
> there should not be a mail addressing to all developers when there is a
> commit related to only one project (say project_a)


Have you read the documentation/instructions for the mailer script(s)
you've used or been advised to use? They probably address this.

> On Mon, May 11, 2009 at 2:11 PM, Mihamina Rakotomandimby (R12y)
> <mi...@lab.vectoris.fr> wrote:
>>
>> On 05/11/2009 11:37 AM, Irfan Sayed wrote:
>> > i agree but i dont know python. how i can then understand??
>>
>> - Tell us what do you know
>> - Dont be affraid to learn.
>>
>> --
>>                              Chef de projet chez Vectoris
>>                                  Phone: +261 33 11 207 36
>> System: xUbuntu 8.10 with almost all from package install
>>    http://www.google.com/search?q=mihamina+rakotomandimby
>>
>> ------------------------------------------------------
>>
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2186345
>>
>> To unsubscribe from this discussion, e-mail:
>> [users-unsubscribe@subversion.tigris.org].
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2188296

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: commit email notification

Posted by Irfan Sayed <ir...@gmail.com>.
Hi all,

let me explain :
i have onre repository called /usr/local/svn/projects
total three project are usimg this repository 1: project_a 2: project_b 3:
project_c (these folders are created in subversion)

now for all these projects , the develoment team is different so what i want
to do is i want to send mail to only each concern developer of a specific
project whenevr there is a commit.
there should not be a mail addressing to all developers when there is a
commit related to only one project (say project_a)

please advice

regards
irf

On Mon, May 11, 2009 at 2:11 PM, Mihamina Rakotomandimby (R12y) <
mihamina@lab.vectoris.fr> wrote:

> On 05/11/2009 11:37 AM, Irfan Sayed wrote:
> > i agree but i dont know python. how i can then understand??
>
> - Tell us what do you know
> - Dont be affraid to learn.
>
> --
>                              Chef de projet chez Vectoris
>                                  Phone: +261 33 11 207 36
> System: xUbuntu 8.10 with almost all from package install
>    http://www.google.com/search?q=mihamina+rakotomandimby
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2186345
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2187626

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: commit email notification

Posted by "Mihamina Rakotomandimby (R12y)" <mi...@lab.vectoris.fr>.
On 05/11/2009 11:37 AM, Irfan Sayed wrote:
> i agree but i dont know python. how i can then understand??

- Tell us what do you know
- Dont be affraid to learn.

-- 
                              Chef de projet chez Vectoris
                                  Phone: +261 33 11 207 36
System: xUbuntu 8.10 with almost all from package install
    http://www.google.com/search?q=mihamina+rakotomandimby

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2186345

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: commit email notification

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 11, 2009, at 03:37, Irfan Sayed wrote:
>


> On Mon, May 11, 2009 at 1:36 PM, Ryan Schmidt wrote:
>
>> Please look into using the newer mailer.py script instead of  
>> commit-email.pl, which is now deprecated (i.e. no longer being  
>> maintained and no longer recommended).
>>
>> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer/
>
> i agree but i dont know python. how i can then understand??

I don't think you need to understand Python to use mailer.py, just as  
you don't need to understand C to use Subversion. I think all you  
need to do is write a config file for mailer.py to use. The sample  
config file contains a lot of comments explaining how to use it so I  
suggest you begin there:

http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer/ 
mailer.conf.example

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2186357

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: commit email notification

Posted by Irfan Sayed <ir...@gmail.com>.
i agree but i dont know python. how i can then understand??

please advice

Regards
Irf

On Mon, May 11, 2009 at 1:36 PM, Ryan Schmidt <
subversion-2009b@ryandesign.com> wrote:

>
> On May 11, 2009, at 02:09, Irfan Sayed wrote:
>
> I am using email notification whenever there is a commit operation.
>> following is the line i put in the post-commit file
>> perl /usr/local/svn/platform/hooks/commit-email.pl "$REPOS" "$REV" --from
>> software-commit-mailer@abc.com -s "svn commit" irf@abc.com   -m projects
>>
>> now this line will send the mail to irf@abc.com whenever there is a
>> commit.
>> my doubt is that what is the use of -m flag in this line.
>> when i see the help of this , it shows that it is a regular expression
>> whcih shows the commited path which i dont understand
>>
>> now my requirement is that i need to enable this notification for diff.
>> projects. can i do something like
>> perl /usr/local/svn/platform/hooks/commit-email.pl "$REPOS" "$REV" --from
>> software-commit-mailer@exfo.com -s "svn commit" irf@abc.com   -m
>> projects, project_1
>>
>
> Please look into using the newer mailer.py script instead of
> commit-email.pl, which is now deprecated (i.e. no longer being maintained
> and no longer recommended).
>
> http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer/
>
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2186309

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: commit email notification

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 11, 2009, at 02:09, Irfan Sayed wrote:

> I am using email notification whenever there is a commit operation.  
> following is the line i put in the post-commit file
> perl /usr/local/svn/platform/hooks/commit-email.pl "$REPOS" "$REV"  
> --from software-commit-mailer@abc.com -s "svn commit" irf@abc.com    
> -m projects
>
> now this line will send the mail to irf@abc.com whenever there is a  
> commit.
> my doubt is that what is the use of -m flag in this line.
> when i see the help of this , it shows that it is a regular  
> expression whcih shows the commited path which i dont understand
>
> now my requirement is that i need to enable this notification for  
> diff. projects. can i do something like
> perl /usr/local/svn/platform/hooks/commit-email.pl "$REPOS" "$REV"  
> --from software-commit-mailer@exfo.com -s "svn commit"  
> irf@abc.com   -m projects, project_1

Please look into using the newer mailer.py script instead of commit- 
email.pl, which is now deprecated (i.e. no longer being maintained  
and no longer recommended).

http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/mailer/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2186096

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].