From 8b7d79ee47c96c70f3c5e0f78037516f9d846844 Mon Sep 17 00:00:00 2001 From: Steve Schnepp Date: Fri, 21 Jun 2013 18:25:39 +0200 Subject: [PATCH] Adding a commit trigger to #munin The trigger is done via fuzzy match sha1. It may fire for unexistant sha parts, but the bot wont bother then --- ticketconfig.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ticketconfig.py b/ticketconfig.py index 058d277..93258ae 100644 --- a/ticketconfig.py +++ b/ticketconfig.py @@ -72,6 +72,10 @@ def __init__(self): h.ReGroupFixup('.*?\((.*)\).*? Munin$'), 'munin' ) + self.providers['munin-monitoring.org/commits'] = h.TicketHtmlTitleProvider( + 'https://github.com/munin-monitoring/munin/commit/', + h.ReGroupFixup('(.*) -[ 0-9a-f]+- ') + ) self.providers['launchpad.net/ubuntu'] = h.TicketHtmlTitleProvider( 'https://bugs.launchpad.net/ubuntu/+bug/', h.ReGroupFixup('Bug #[0-9]+ .(.*). : Bugs :'), @@ -94,6 +98,9 @@ def __init__(self): self._add('#munin', '(?