[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    RE: Need Help
From:       Jewel Nuruddin <jungi_unavailable () yahoo ! com>
Date:       2009-04-24 7:03:12
Message-ID: 888457.28398.qm () web57202 ! mail ! re3 ! yahoo ! com
[Download RAW message or body]

Great Erik.......
Its work for me also.
Thank you very much

--- On Fri, 4/24/09, Erik Hemdal <erik@comprehensivepower.com> wrote:

From: Erik Hemdal <erik@comprehensivepower.com>
Subject: RE: Need Help
To: "'Jewel Nuruddin'" <jungi_unavailable@yahoo.com>
Cc: users@subversion.tigris.org
Date: Friday, April 24, 2009, 2:30 AM



 
Message

  

  
  -----Original Message-----
From: Jewel Nuruddin 
  [mailto:jungi_unavailable@yahoo.com] 
Sent: Thursday, April 23, 2009 
  11:25 AM
To: Ryan Schmidt
Cc: 
  users@subversion.tigris.org
Subject: Re: Need 
  Help


  
    
    
      
        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@game.com -s "SVN commit in packages" 
        subversion-users@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
  
        Jewel, I think I ran into the same problem you  have.   
        The commit-email.pl script is documented to take an argument for a path 
        regular expression.   But when I tested it, I could not discover the 
        right syntax to make it work and do what you describe.   I burned a 
        lot of time trying to sort it out.
          
        The default regex seems to be set at line 742, in sub 
        new_project.(look for the value associated with the key 
        match_regex).   I changed that default from '.' to 'trunk' and got 
        the script to notify only on trunk changes.   Obviously, this is changing the default behavior, 
        but all I want is trunk notifications anyway.
          
        I'm sure there's a smarter, better fix, but this worked for 
        me.   Maybe it will work for you, too.
          
        Erik

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
[Attachment #3 (text/html)]

<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: \
inherit;">Great Erik.......<br>Its work for me also.<br>Thank you very \
much<br><br>--- On <b>Fri, 4/24/09, Erik Hemdal \
<i>&lt;erik@comprehensivepower.com&gt;</i></b> wrote:<br><blockquote \
style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: \
5px;"><br>From: Erik Hemdal &lt;erik@comprehensivepower.com&gt;<br>Subject: RE: Need \
Help<br>To: "'Jewel Nuruddin'" &lt;jungi_unavailable@yahoo.com&gt;<br>Cc: \
users@subversion.tigris.org<br>Date: Friday, April 24, 2009, 2:30 AM<br><br><div \
id="yiv466402556">

 
<title>Message</title>

<div><font color="#0000ff" face="Arial" size="2"></font>&nbsp;</div>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; \
margin-left: 5px; margin-right: 0px;">  <div></div>
  <div class="OutlookMessageHeader" dir="ltr" align="left" lang="en-us"><font \
face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> Jewel Nuruddin   \
[mailto:jungi_unavailable@yahoo.com] <br><b>Sent:</b> Thursday, April 23, 2009   \
11:25 AM<br><b>To:</b> Ryan Schmidt<br><b>Cc:</b>   \
users@subversion.tigris.org<br><b>Subject:</b> Re: Need   Help<br><br></font></div>
  <table border="0" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
      <td valign="top">
        <div>yes I want to get mail only from certain path.<br>in my post-commit 
        file I write the following 
        code<br><br>REPOS="$1"<br>REV="$2"<br>/usr/local/bin/commit-email.pl 
        "$REPOS" "$REV" --from admin@game.com -s "SVN commit in packages" 
        subversion-users@game.com<br><br>and I use commit-email.pl file and it 
        give me notification mail for every repository<br>so if you can would 
        you please kindly give me some solution.<br>Thank you very much for 
        great help<br><span class="593022017-23042009"><font color="#0000ff" \
                face="Arial" size="2">&nbsp;</font></span></div>
        <div><span class="593022017-23042009"><font color="#0000ff" face="Arial" \
                size="2">Jewel, I think I ran into the same problem \
                you&nbsp;have.&nbsp; 
        The commit-email.pl script is documented to take an argument for a path 
        regular expression.&nbsp; But when I tested it, I could not discover the 
        right syntax to make it work and do what you describe.&nbsp; I burned a 
        lot of time trying to sort it out.</font></span></div>
        <div><span class="593022017-23042009"></span>&nbsp;</div>
        <div><span class="593022017-23042009"><font color="#0000ff" face="Arial" \
size="2">The default regex seems to be set at line 742, in sub   new_project.(look \
                for the value associated with the key 
        match_regex).&nbsp; I changed that default from '.' to 'trunk' and got 
        the script to notify only on trunk changes.</font>&nbsp;<font color="#0000ff" \
face="Arial" size="2"> Obviously, this is changing the default behavior,   but all I \
                want is trunk notifications anyway.</font></span></div>
        <div><span class="593022017-23042009"><font color="#0000ff" face="Arial" \
                size="2"></font></span>&nbsp;</div>
        <div><span class="593022017-23042009"><font color="#0000ff" face="Arial" \
size="2">I'm sure there's a smarter, better fix, but this worked for   me.&nbsp; \
                Maybe it will work for you, too.</font></span></div>
        <div><span class="593022017-23042009"><font color="#0000ff" face="Arial" \
                size="2"></font></span>&nbsp;</div>
        <div><span class="593022017-23042009"><font color="#0000ff" face="Arial" \
                size="2">Erik</font></span></div>
        <div><br><br><br><br></div></td></tr></tbody></table><br></blockquote></div></blockquote></td></tr></table><br>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic