{"action":"created","issue":{"url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3603","repository_url":"https://api.github.com/repos/thewca/worldcubeassociation.org","labels_url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3603/labels{/name}","comments_url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3603/comments","events_url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3603/events","html_url":"https://github.com/thewca/worldcubeassociation.org/pull/3603","id":381924794,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNzY2MjI2","number":3603,"title":"Some infrastructure to automate membership of our new GSuite mailing lists.","user":{"login":"jfly","id":277474,"node_id":"MDQ6VXNlcjI3NzQ3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/277474?v=4","gravatar_id":"","url":"https://api.github.com/users/jfly","html_url":"https://github.com/jfly","followers_url":"https://api.github.com/users/jfly/followers","following_url":"https://api.github.com/users/jfly/following{/other_user}","gists_url":"https://api.github.com/users/jfly/gists{/gist_id}","starred_url":"https://api.github.com/users/jfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfly/subscriptions","organizations_url":"https://api.github.com/users/jfly/orgs","repos_url":"https://api.github.com/users/jfly/repos","events_url":"https://api.github.com/users/jfly/events{/privacy}","received_events_url":"https://api.github.com/users/jfly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-18T03:35:11Z","updated_at":"2018-11-18T09:18:43Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/thewca/worldcubeassociation.org/pulls/3603","html_url":"https://github.com/thewca/worldcubeassociation.org/pull/3603","diff_url":"https://github.com/thewca/worldcubeassociation.org/pull/3603.diff","patch_url":"https://github.com/thewca/worldcubeassociation.org/pull/3603.patch"},"body":"I documented the setup of all of this over in\r\nthe [Automating membership of delegates@worldcubeassociation.org](https://docs.google.com/document/d/1Fb02VBYy712vD5TxUmlhJC0wzXq7YmiXRJugw9806m4/) doc.\r\n\r\nThis adds a job called `SyncMailingListsJob` that will synchronize the\r\njfly-testing-delegates@worldcubeassociation.org GSuite group with the\r\nemail addresses of all our delegates.\r\n\r\nSome notes:\r\n  - If this goes well, I plan to change\r\njfly-testing-delegates@worldcubeassociation.org to\r\ndelegates@worldcubeassociation.org, but I want to test this out on a non\r\ncritical mailing list first.\r\n  - This job currently is not triggered by anything. I plan to trigger\r\nit manually in production from the Rails console by running\r\n`SyncMailingListsJob.perform_later`. If that goes well, I plan to add it\r\nto our \"schedule work\" cron job which runs once an hour.\r\n  - This relies upon the existence of a\r\napplication_default_credentials.json file in our secrets directory. I\r\ngenerated this file locally and have already copied it to the secrets\r\ndirectory on our server. Since we rsync this directory when spinning up\r\na new server, it should be safe to leave it there."},"comment":{"url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/comments/439678610","html_url":"https://github.com/thewca/worldcubeassociation.org/pull/3603#issuecomment-439678610","issue_url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3603","id":439678610,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTY3ODYxMA==","user":{"login":"AlbertoPdRF","id":26309166,"node_id":"MDQ6VXNlcjI2MzA5MTY2","avatar_url":"https://avatars1.githubusercontent.com/u/26309166?v=4","gravatar_id":"","url":"https://api.github.com/users/AlbertoPdRF","html_url":"https://github.com/AlbertoPdRF","followers_url":"https://api.github.com/users/AlbertoPdRF/followers","following_url":"https://api.github.com/users/AlbertoPdRF/following{/other_user}","gists_url":"https://api.github.com/users/AlbertoPdRF/gists{/gist_id}","starred_url":"https://api.github.com/users/AlbertoPdRF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlbertoPdRF/subscriptions","organizations_url":"https://api.github.com/users/AlbertoPdRF/orgs","repos_url":"https://api.github.com/users/AlbertoPdRF/repos","events_url":"https://api.github.com/users/AlbertoPdRF/events{/privacy}","received_events_url":"https://api.github.com/users/AlbertoPdRF/received_events","type":"User","site_admin":false},"created_at":"2018-11-18T09:18:43Z","updated_at":"2018-11-18T09:18:43Z","author_association":"MEMBER","body":"After some tests, I think people only receive an email when they are added to a group using the Group's UI. "}}
{"actor":{"display_login":"AlbertoPdRF"}}