Menu

Conditional CommitExclusions

Help
koushik
2008-06-02
2013-05-01
  • koushik

    koushik - 2008-06-02

    Hi,

    Thank you very much for the software - it works great!

    I am trying to create a conditional commit mail trigger. For example, if the commit has a folder path named /release/<something> in it, then a mail is triggered to a distributionlist1 . If that path is not changed, a mail is triggered to a distributionlist2.
    Is it possible to create such a condition?

    A related question- How does the svnId map to the email addresses?

    Thanks
    Koushik

     
    • mmckechney

      mmckechney - 2008-06-03

      Koushik,
      To have conditional e-mails by folder path, you will need to set up an additional <ReproPathConfig> element that has a separate ControlledPath value. This will allow you to set up separate e-mail rules as well as other commit requirements, etc.

      The SvnID mapping is meant to associate the users SVN login id with an Active Directory account. Subversion Notify then queries Active Directory with the AD account to retrieve the e-mail address. If your SVN login already matches an  Active Directory account, you don't need the mapping section. Also, if the tool can't find an associated e-mail account after looking for it, it will default to use the "FromAddress" attribute value set in the <MailServer> element.

      I hope this helps. Please feel free to ask other questions, I'm happy to help.

      Cheers,
      Mike

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.