~tom.prince/twisted-trac-integration/updated-force-builds.py

« back to all changes in this revision

Viewing changes to commit-bot/config.py

  • Committer: Jean-Paul Calderone
  • Date: 2012-05-25 20:16:04 UTC
  • Revision ID: exarkun@twistedmatrix.com-20120525201604-g4vk2fzvwwx76slf
Add support for delivering commit and ticket notifications to multiple channels

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
# Three-tuples of (repository path, filename expression, channel) defining
24
24
# the rules for announcing commit messages.
25
25
COMMIT_RULES = [
26
 
    ('/svn/Divmod', '.*', '#divmod.test')]
 
26
    ('/svn/Divmod', '.*', ['#divmod.test'])]
27
27
 
28
28
# Two-tuples of (tracker URL, channel) defining the rules for announcing
29
29
# ticket changes.
30
30
TICKET_RULES = [
31
 
    ('http://example.com/trac/', '#bottest')]
 
31
    ('http://example.com/trac/', ['#bottest'])]
32
32
 
33
33
# The channel to which to send alerts.
34
34
ALERT_CHANNEL = '#bottest'