Try out email notifications, just to me initially.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d8929a6175
commit
274e715714
@ -59,6 +59,31 @@
|
||||
|
||||
<nightly-schedulers name="daily"/>
|
||||
|
||||
<!--
|
||||
Map SVN user ids to email addresses.
|
||||
-->
|
||||
|
||||
<emaillookup name="wx-devs">
|
||||
<xi:include href="include/wx-devs.xml" xpointer="xpointer(//*[@id='MW'])"/>
|
||||
</emaillookup>
|
||||
|
||||
<!--
|
||||
Notify people on the blame list when a build goes from good to bad.
|
||||
-->
|
||||
|
||||
<mailnotifier>
|
||||
<mode>problem</mode>
|
||||
<lookup>wx-devs</lookup>
|
||||
</mailnotifier>
|
||||
|
||||
<!--
|
||||
Log every build to a mailing list.
|
||||
-->
|
||||
|
||||
<mailnotifier>
|
||||
<extraRecipient>mike.wetherell -at- ntlworld.com</extraRecipient>
|
||||
</mailnotifier>
|
||||
|
||||
<!--
|
||||
Track SVN changes using the wx-cvs mailing list.
|
||||
The <prefix> is subtracted from the paths in the 'Modified Files:'
|
||||
|
@ -739,4 +739,52 @@ if [ -x test_gui ]; then ./test_gui; fi
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<!--
|
||||
email - substitute '@' for ' -at- ' in email addresses.
|
||||
-->
|
||||
<xsl:template name="emailfield">
|
||||
<xsl:param name="content"/>
|
||||
<xsl:param name="addr"/>
|
||||
<xsl:variable name="at"> -at- </xsl:variable>
|
||||
<xsl:choose>
|
||||
<xsl:when test="contains($addr, $at)">
|
||||
<xsl:value-of select="substring-before($addr, $at)"/>
|
||||
<xsl:text>@</xsl:text>
|
||||
<xsl:value-of select="substring-after($addr, $at)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="$addr"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="email">
|
||||
<xsl:param name="content"/>
|
||||
<xsl:param name="id"/>
|
||||
<email id="{$id}"><emailfield addr="{$content}"/></email>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="fromaddr">
|
||||
<xsl:param name="content"/>
|
||||
<fromaddr><emailfield addr="{$content}"/></fromaddr>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="extraRecipient">
|
||||
<xsl:param name="content"/>
|
||||
<extraRecipient><emailfield addr="{$content}"/></extraRecipient>
|
||||
</xsl:template>
|
||||
|
||||
<!--
|
||||
mailnotifier - add a default value for <fromaddr> to <mailnotifier>
|
||||
-->
|
||||
<xsl:template name="mailnotifier">
|
||||
<xsl:param name="content"/>
|
||||
<mailnotifier>
|
||||
<defaults content="{$content}">
|
||||
<fromaddr>wx-dev -at- lists.wxwidgets.org</fromaddr>
|
||||
</defaults>
|
||||
<xsl:copy-of select="$content"/>
|
||||
</mailnotifier>
|
||||
</xsl:template>
|
||||
|
||||
</bot>
|
||||
|
Loading…
Reference in New Issue
Block a user