<?xml version="1.0" encoding="utf-8"?>

<!--
    Name:       common.xml
    Purpose:    Schedulers and locks common to all slaves.
    Author:     Mike Wetherell
    Copyright:  (c) 2007 Mike Wetherell
    Licence:    wxWindows licence
-->

<bot xmlns:xi="http://www.w3.org/2001/XInclude">

<xi:include href="include/defs.xml"/>

<!--
    Quick schedulers. Builds using these are triggered after each change to
    the sources on the given branch.

    name:               unique
    branch:             branch to watch
    treeStableTimer:    wait until the tree has stopped changing for the
                        given number of seconds before firing
    fileNotImportant:   files matching these patterns do not trigger a build
-->

<scheduler>
    <name>trunk_quick</name>
    <branch>trunk</branch>
    <treeStableTimer>900</treeStableTimer>
    <fileNotImportant>docs/* interface/*</fileNotImportant>
</scheduler>

<scheduler>
    <name>release_quick</name>
    <branch><RELEASE_BRANCH/></branch>
    <treeStableTimer>900</treeStableTimer>
    <fileNotImportant>docs/* interface/*</fileNotImportant>
</scheduler>

<scheduler>
    <name>stable_quick</name>
    <branch><STABLE_BRANCH/></branch>
    <treeStableTimer>900</treeStableTimer>
    <fileNotImportant>docs/*</fileNotImportant>
</scheduler>

<!--
    Schedulers that fire once a week.

    A build can use one of these to be triggered once a week, or more than
    one if it should run several times a week on particular days.
-->

<nightly-schedulers name="sunday"/>
<nightly-schedulers name="monday"/>
<nightly-schedulers name="tuesday"/>
<nightly-schedulers name="wednesday"/>
<nightly-schedulers name="thursday"/>
<nightly-schedulers name="friday"/>
<nightly-schedulers name="saturday"/>

<!--
    Schedulers for daily builds.
-->

<nightly-schedulers name="daily"/>

<!--
    A general purpose slave lock and ones for the trunk and stable branches.
-->

<slavelock>
    <name>slave</name>
</slavelock>

<slavelock>
    <name>trunk</name>
</slavelock>

<slavelock>
    <name><STABLE_BRANCH/></name>
</slavelock>

<slavelock>
    <name><RELEASE_BRANCH/></name>
</slavelock>

<!--
    Map SVN user ids to email addresses.

    The email address in wx-devs.xml can be overridden by adding a line like
    this after the xi:include:

        <email id="JMS">jaakko.salli -at- dnainternet.net</email>

    or disabled using an empty tag:

        <email id="JMS"/>
-->

<emaillookup name="wx-devs">
    <xi:include href="include/wx-devs.xml"/>
    <!-- Overrides... -->
</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>wx-buildbot -at- googlegroups.com</extraRecipient>
</mailnotifier>

<!--
    Track SVN changes using the wx-cvs mailing list.
    The <prefix> is subtracted from the paths in the 'Modified Files:'
    section, the remainder is then assumed to give the branch and filename.
-->

<svnmaildirsource>
    <prefix>wxWidgets</prefix>
</svnmaildirsource>

</bot>
