From e5225bdc5ff12485cbb32136e24328190bc203ea Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Mon, 19 Dec 2022 10:37:13 +1100
Subject: [PATCH] statusbot: disable Twitter posting

The new TOS of Twitter and subsequent enforcement actions are
sufficiently vague that a link in our profile to opendev.org, which
contains links to other "social" things like mailing lists, IRC and
Mastodon may be a TOS violation.

I think communicating our overall message from opendev.org to a wide
audience is important (why I fixed statusbot twitter posting
previously) -- but given the instability of the provider I also have
no interest in debugging or fixing statusbot if something about
failing to post to Twitter also happens to break the other posting
methods, especially over the coming holiday break.

To be fair it's not like this was perfect and never going to break.
What has changed is that the ratio of
chance-of-breaking/my-interest-in-fixing was very very low, but is now
very very high (lower numbers are better :).

If this becomes a viable method of communication in the future we can
always re-enable it.

Change-Id: I4adbf87a0cc9ecf16a074643376491b81591cb74
---
 playbooks/roles/statusbot/defaults/main.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/playbooks/roles/statusbot/defaults/main.yaml b/playbooks/roles/statusbot/defaults/main.yaml
index 8f8ba9c4b0..4554a621e1 100644
--- a/playbooks/roles/statusbot/defaults/main.yaml
+++ b/playbooks/roles/statusbot/defaults/main.yaml
@@ -15,7 +15,8 @@ statusbot_wiki_successpageurl: 'https://wiki.openstack.org/wiki/Successes'
 statusbot_wiki_thankspageid: '37700'
 statusbot_wiki_thankspageurl: 'https://wiki.openstack.org/wiki/Thanks'
 statusbot_irclogs_url  : 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html'
-statusbot_twitter: True
+# NOTE(ianw) : Disabled 2023-04-16 due to account having API access removed
+statusbot_twitter: False
 
 statusbot_mastodon: True
 statusbot_mastodon_host: 'https://fosstodon.org'