[tor-commits] [doctor/master] Bug 40001: Disable more checks and email notifications for dannenberg

gk at torproject.org gk at torproject.org
Sat Jun 20 09:36:58 UTC 2020


commit 3b8cced6ae2e16fda0328c9cff40d528e42e5aa2
Author: Georg Koppen <gk at torproject.org>
Date:   Sat Jun 20 09:34:06 2020 +0000

    Bug 40001: Disable more checks and email notifications for dannenberg
    
    Together with the previous commit we disable a bunch of checks
    for dannenberg and holding off sending notification mails to
    Andreas for now as requested on 2020-06-18.
---
 consensus_health_checker.py | 2 +-
 descriptor_checker.py       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index 4715c62..f261d88 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -290,7 +290,7 @@ def main():
     log.debug('Sending notification for issues (%s)' % ', '.join(destination_labels))
 
     body = '\n'.join(map(str, issues))
-    cc = [d.address for d in destinations.values() if d and not d.bcc]
+    cc = [d.address for d in destinations.values() if d and not d.bcc and d.address != 'ops at torauth.de']
     bcc = [d.address for d in destinations.values() if d and d.bcc]
 
     util.send(EMAIL_SUBJECT, body = body, cc = cc, bcc = bcc)
diff --git a/descriptor_checker.py b/descriptor_checker.py
index 21854ab..fabbe23 100755
--- a/descriptor_checker.py
+++ b/descriptor_checker.py
@@ -31,6 +31,7 @@ error: %s
 
 DIRAUTH_SKIP_CHECKS = (
   'tor26',   # tor26 DirPort does not service requests without a .z suffix
+  'dannenberg', # al asked for skipping the checks for now (2020-06-18)
 )
 
 log = util.get_logger('descriptor_checker')



More information about the tor-commits mailing list