[gnome-continuous] bot: Also log success changed to flood channel
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] bot: Also log success changed to flood channel
- Date: Wed, 2 Oct 2013 11:33:25 +0000 (UTC)
commit 3073634775aeb17b2adb644ea20efd4cb7d9879b
Author: Colin Walters <walters verbum org>
Date: Wed Oct 2 07:32:53 2013 -0400
bot: Also log success changed to flood channel
So we see smoketest/integrationtest failure in the same place.
Otherwise it's confusing.
extras/ircbot/bot.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/extras/ircbot/bot.py b/extras/ircbot/bot.py
index 4e99bc0..c5c77d3 100644
--- a/extras/ircbot/bot.py
+++ b/extras/ircbot/bot.py
@@ -147,6 +147,7 @@ class BuildGnomeOrg(irc.IRCClient):
return
(last_state, new_state, status_msg) = querystate
+ print "New version of %s: %r" % (taskname, querystate)
if last_state is not None:
last_success = last_state['success']
else:
@@ -156,7 +157,7 @@ class BuildGnomeOrg(irc.IRCClient):
msg = self._status_line_for_task(taskname)
- if announce_always:
+ if announce_always or success_changed:
self._sendTo(self._flood_channels, msg)
if success_changed:
self._sendTo(self._status_channels, msg)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]