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

Re: Need Help

From: Jewel Nuruddin <jungi_unavailable_at_yahoo.com>
Date: Thu, 23 Apr 2009 08:24:46 -0700 (PDT)

yes I want to get mail only from certain path.

in my post-commit file I write the following code

REPOS="$1"

REV="$2"

/usr/local/bin/commit-email.pl "$REPOS" "$REV" --from admin_at_game.com -s "SVN commit in packages" subversion-users_at_game.com

and I use commit-email.pl file and it give me notification mail for every repository

so if you can would you please kindly give me some solution.

Thank you very much for great help

--- On Thu, 4/23/09, Ryan Schmidt <subversion-2009a_at_ryandesign.com> wrote:

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Subject: Re: Need Help
To: "Jewel Nuruddin" <jungi_unavailable_at_yahoo.com>
Cc: users_at_subversion.tigris.org
Date: Thursday, April 23, 2009, 10:29 PM

On Apr 23, 2009, at 08:22, Jewel Nuruddin wrote:

> Thank you very much, I had seen this now I received mail both from
>
> /game/branch/test (Actual repository path --> https://svn.game.com/game/branch/test)
> and
> /game/trunk/test (Actual repository path ---> https://svn.game.com/game/trunk/test)
>
> I want to get mail only from /game/trunk/test  this repository
>
> Would you please kindly give me and example

Oh,
so you don't want to send mail only for some repositories and not for
other repositories after all. You want to send mail only for certain
paths within a repository and not for certain other paths within the
same repository.

Investigate the options for your mailer. For
example, if you are using the currently recommended mailer script,
mailer.py, then read up on the mailer.conf options. You can define a
regular expression in the for_paths variable defining what paths you
want it to match. In your case you might set this to ^/game/trunk/test

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

--- On Thu, 4/23/09, Ryan Schmidt <subversion-2009a_at_ryandesign.com> wrote:

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Subject: Re: Need Help
To: "Jewel Nuruddin" <jungi_unavailable_at_yahoo.com>
Cc: users_at_subversion.tigris.org
Date: Thursday, April 23, 2009, 10:29 PM

On Apr 23, 2009, at 08:22, Jewel Nuruddin wrote:

> Thank you very much, I had seen this now I received mail both from
>
> /game/branch/test (Actual repository path --> https://svn.game.com/game/branch/test)
> and
> /game/trunk/test (Actual repository path ---> https://svn.game.com/game/trunk/test)
>
> I want to get mail only from /game/trunk/test  this repository
>
> Would you please kindly give me and example

Oh, so you don't want to send mail only for some repositories and not for other repositories after all. You want to send mail only for certain paths within a repository and not for certain other paths within the same repository.

Investigate the options for your mailer. For example, if you are using the currently recommended mailer script, mailer.py, then read up on the mailer.conf options. You can define a regular expression in the for_paths variable defining what paths you want it to match. In your case you might set this to ^/game/trunk/test

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

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-23 17:26:10 CEST

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.