commit 3b6ea20a31ebc14c489762fab1c57bf24eabe2fb Author: Damian Johnson atagar@torproject.org Date: Tue Jan 21 15:48:26 2020 -0800
Change administrative notifications to Georg
Georg has requested ownership of this service so changing all administrative notifications to him.
That said, I'll keep package_versions.py since it is unrelated to network health. --- fingerprint_change_checker.py | 2 +- package_versions.py | 2 +- relay_check.py | 2 +- track_relays.py | 4 ++-- util.py | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/fingerprint_change_checker.py b/fingerprint_change_checker.py index 9529b65..6e990e4 100755 --- a/fingerprint_change_checker.py +++ b/fingerprint_change_checker.py @@ -104,7 +104,7 @@ def main(): if len(alarm_for) == 1: subject += ' (%s:%s)' % alarm_for.values()[0][:2]
- util.send(subject, body = body, to = ['tor-network-alerts@lists.torproject.org', 'atagar@torproject.org']) + util.send(subject, body = body, to = ['tor-network-alerts@lists.torproject.org', 'gk@torproject.org'])
# register that we've notified for these
diff --git a/package_versions.py b/package_versions.py index da97d7e..00181bb 100755 --- a/package_versions.py +++ b/package_versions.py @@ -212,7 +212,7 @@ if __name__ == '__main__':
if has_issue: try: - util.send('Packages wiki possibly outdated', body = content, to = [util.ERROR_ADDRESS]) + util.send('Packages wiki possibly outdated', body = content, to = ['atagar@torproject.org']) except Exception as exc: log.warn("Unable to send email: %s" % exc)
diff --git a/relay_check.py b/relay_check.py index c9e4878..9479022 100755 --- a/relay_check.py +++ b/relay_check.py @@ -21,7 +21,7 @@ RELAY_OR_PORT = 1443 RELAY_NAME = 'caersidi' RELAY_FINGERPRINT = '3BB34C63072D9D10E836EE42968713F7B9325F66'
-EMAIL_ADDRESS = 'atagar@torproject.org' +EMAIL_ADDRESS = 'gk@torproject.org' RELAY_LINK = 'https://metrics.torproject.org/rs.html#details/%s' % RELAY_FINGERPRINT
diff --git a/track_relays.py b/track_relays.py index 8842653..009e73f 100755 --- a/track_relays.py +++ b/track_relays.py @@ -100,7 +100,7 @@ def get_tracked_relays(): for relay in expired: body += '* %s (%s)\n' % (relay.identifier, relay.expires.strftime('%Y-%m-%d'))
- util.send('tracked_relays.cfg entries expired', body = body, to = ['atagar@torproject.org']) + util.send('tracked_relays.cfg entries expired', body = body, to = ['gk@torproject.org'])
return results
@@ -164,7 +164,7 @@ def main(): body += ' address: %s:%s, fingerprint: %s\n' % (desc.address, desc.or_port, desc.fingerprint) last_notified_config.set('%s:%s' % (desc.address, desc.or_port), current_time)
- util.send(EMAIL_SUBJECT, body = body, to = ['bad-relays@lists.torproject.org', 'atagar@torproject.org']) + util.send(EMAIL_SUBJECT, body = body, to = ['bad-relays@lists.torproject.org', 'gk@torproject.org']) last_notified_config.save()
diff --git a/util.py b/util.py index fc9601c..948b6e8 100644 --- a/util.py +++ b/util.py @@ -14,9 +14,9 @@ from email.mime.text import MIMEText import stem.util.connection import stem.util.log
-FROM_ADDRESS = 'atagar@torproject.org' +FROM_ADDRESS = 'gk@torproject.org' TO_ADDRESSES = ['tor-consensus-health@lists.torproject.org'] -ERROR_ADDRESS = 'atagar@torproject.org' +ERROR_ADDRESS = 'gk@torproject.org'
TEST_RUN = getpass.getuser() != 'doctor' # print script results rather than emailing
tor-commits@lists.torproject.org