[tor-commits] [doctor/master] Providing consensus health notifications to #tor-bots

atagar at torproject.org atagar at torproject.org
Mon Sep 16 19:32:31 UTC 2013


commit 5c008c35590e1ead4245113e66ffad31b103c745
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Sep 16 12:36:47 2013 -0700

    Providing consensus health notifications to #tor-bots
    
    Providing #tor-bots notifications in a similar manner to the java doctor
    counterpart.
---
 consensus_health_checker.py |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index a5aadfb..01f805b 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -133,6 +133,10 @@ def main():
     log.debug("Sending notification for issues")
     util.send(EMAIL_SUBJECT, body_text = '\n'.join(map(str, issues)))
 
+    # notification for #tor-bots
+
+    util.send('Announce or', body_text = '\n'.join(['[consensus-health] %s' % issue for issue in issues]), destination = 'tor-misc at commit.noreply.org')
+
   log.debug("Checks finished, runtime was %0.2f seconds" % (time.time() - start_time))
 
 



More information about the tor-commits mailing list