{"action":"created","comment":{"url":"https://api.github.com/repos/panoptes/POCS/pulls/comments/196250066","pull_request_review_id":129767581,"id":196250066,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjI1MDA2Ng==","diff_hunk":"@@ -0,0 +1,26 @@\n+import requests\n+\n+from pocs.utils import current_time\n+from pocs.utils.logger import get_root_logger\n+\n+\n+class SocialSlack(object):\n+\n+    \"\"\"Messaging class to output to Slack\n+    \"\"\"\n+    logger = get_root_logger()\n+\n+    def __init__(self, web_hook, output_timestamp):","path":"pocs/utils/social_slack.py","position":12,"original_position":13,"commit_id":"faa4ac9f02b9f4a9dc6ab9c4c4611759b18ee25c","original_commit_id":"19f6935ddc4bb622d4af7f4acad5b8bea5d0fadf","user":{"login":"jeremylan","id":5846306,"node_id":"MDQ6VXNlcjU4NDYzMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5846306?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremylan","html_url":"https://github.com/jeremylan","followers_url":"https://api.github.com/users/jeremylan/followers","following_url":"https://api.github.com/users/jeremylan/following{/other_user}","gists_url":"https://api.github.com/users/jeremylan/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremylan/subscriptions","organizations_url":"https://api.github.com/users/jeremylan/orgs","repos_url":"https://api.github.com/users/jeremylan/repos","events_url":"https://api.github.com/users/jeremylan/events{/privacy}","received_events_url":"https://api.github.com/users/jeremylan/received_events","type":"User","site_admin":false},"body":"This was actually changed to False by default","created_at":"2018-06-18T22:55:10Z","updated_at":"2018-06-18T22:55:10Z","html_url":"https://github.com/panoptes/POCS/pull/524#discussion_r196250066","pull_request_url":"https://api.github.com/repos/panoptes/POCS/pulls/524","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/panoptes/POCS/pulls/comments/196250066"},"html":{"href":"https://github.com/panoptes/POCS/pull/524#discussion_r196250066"},"pull_request":{"href":"https://api.github.com/repos/panoptes/POCS/pulls/524"}},"in_reply_to_id":194392131},"pull_request":{"url":"https://api.github.com/repos/panoptes/POCS/pulls/524","id":193166155,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMTY2MTU1","html_url":"https://github.com/panoptes/POCS/pull/524","diff_url":"https://github.com/panoptes/POCS/pull/524.diff","patch_url":"https://github.com/panoptes/POCS/pull/524.patch","issue_url":"https://api.github.com/repos/panoptes/POCS/issues/524","number":524,"state":"open","locked":false,"title":"Feature social say #522","user":{"login":"jeremylan","id":5846306,"node_id":"MDQ6VXNlcjU4NDYzMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5846306?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremylan","html_url":"https://github.com/jeremylan","followers_url":"https://api.github.com/users/jeremylan/followers","following_url":"https://api.github.com/users/jeremylan/following{/other_user}","gists_url":"https://api.github.com/users/jeremylan/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremylan/subscriptions","organizations_url":"https://api.github.com/users/jeremylan/orgs","repos_url":"https://api.github.com/users/jeremylan/repos","events_url":"https://api.github.com/users/jeremylan/events{/privacy}","received_events_url":"https://api.github.com/users/jeremylan/received_events","type":"User","site_admin":false},"body":"#522 \r\nCreated entries in the config file `pocs.yaml`, handling code in `core.py` and social sinks classes for Twitter and Slack.","created_at":"2018-06-06T23:18:33Z","updated_at":"2018-06-18T22:55:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7fee252aed5bc60ef0d47fd21b71d607656c340","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/panoptes/POCS/pulls/524/commits","review_comments_url":"https://api.github.com/repos/panoptes/POCS/pulls/524/comments","review_comment_url":"https://api.github.com/repos/panoptes/POCS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/panoptes/POCS/issues/524/comments","statuses_url":"https://api.github.com/repos/panoptes/POCS/statuses/faa4ac9f02b9f4a9dc6ab9c4c4611759b18ee25c","head":{"label":"jeremylan:feature-social-say-522","ref":"feature-social-say-522","sha":"faa4ac9f02b9f4a9dc6ab9c4c4611759b18ee25c","user":{"login":"jeremylan","id":5846306,"node_id":"MDQ6VXNlcjU4NDYzMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5846306?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremylan","html_url":"https://github.com/jeremylan","followers_url":"https://api.github.com/users/jeremylan/followers","following_url":"https://api.github.com/users/jeremylan/following{/other_user}","gists_url":"https://api.github.com/users/jeremylan/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremylan/subscriptions","organizations_url":"https://api.github.com/users/jeremylan/orgs","repos_url":"https://api.github.com/users/jeremylan/repos","events_url":"https://api.github.com/users/jeremylan/events{/privacy}","received_events_url":"https://api.github.com/users/jeremylan/received_events","type":"User","site_admin":false},"repo":{"id":134662436,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ2NjI0MzY=","name":"POCS","full_name":"jeremylan/POCS","owner":{"login":"jeremylan","id":5846306,"node_id":"MDQ6VXNlcjU4NDYzMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5846306?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremylan","html_url":"https://github.com/jeremylan","followers_url":"https://api.github.com/users/jeremylan/followers","following_url":"https://api.github.com/users/jeremylan/following{/other_user}","gists_url":"https://api.github.com/users/jeremylan/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremylan/subscriptions","organizations_url":"https://api.github.com/users/jeremylan/orgs","repos_url":"https://api.github.com/users/jeremylan/repos","events_url":"https://api.github.com/users/jeremylan/events{/privacy}","received_events_url":"https://api.github.com/users/jeremylan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeremylan/POCS","description":"PANOPTES Observatory Control System","fork":true,"url":"https://api.github.com/repos/jeremylan/POCS","forks_url":"https://api.github.com/repos/jeremylan/POCS/forks","keys_url":"https://api.github.com/repos/jeremylan/POCS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeremylan/POCS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeremylan/POCS/teams","hooks_url":"https://api.github.com/repos/jeremylan/POCS/hooks","issue_events_url":"https://api.github.com/repos/jeremylan/POCS/issues/events{/number}","events_url":"https://api.github.com/repos/jeremylan/POCS/events","assignees_url":"https://api.github.com/repos/jeremylan/POCS/assignees{/user}","branches_url":"https://api.github.com/repos/jeremylan/POCS/branches{/branch}","tags_url":"https://api.github.com/repos/jeremylan/POCS/tags","blobs_url":"https://api.github.com/repos/jeremylan/POCS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeremylan/POCS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeremylan/POCS/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeremylan/POCS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeremylan/POCS/statuses/{sha}","languages_url":"https://api.github.com/repos/jeremylan/POCS/languages","stargazers_url":"https://api.github.com/repos/jeremylan/POCS/stargazers","contributors_url":"https://api.github.com/repos/jeremylan/POCS/contributors","subscribers_url":"https://api.github.com/repos/jeremylan/POCS/subscribers","subscription_url":"https://api.github.com/repos/jeremylan/POCS/subscription","commits_url":"https://api.github.com/repos/jeremylan/POCS/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeremylan/POCS/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeremylan/POCS/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeremylan/POCS/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeremylan/POCS/contents/{+path}","compare_url":"https://api.github.com/repos/jeremylan/POCS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeremylan/POCS/merges","archive_url":"https://api.github.com/repos/jeremylan/POCS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeremylan/POCS/downloads","issues_url":"https://api.github.com/repos/jeremylan/POCS/issues{/number}","pulls_url":"https://api.github.com/repos/jeremylan/POCS/pulls{/number}","milestones_url":"https://api.github.com/repos/jeremylan/POCS/milestones{/number}","notifications_url":"https://api.github.com/repos/jeremylan/POCS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeremylan/POCS/labels{/name}","releases_url":"https://api.github.com/repos/jeremylan/POCS/releases{/id}","deployments_url":"https://api.github.com/repos/jeremylan/POCS/deployments","created_at":"2018-05-24T04:50:59Z","updated_at":"2018-05-24T04:51:01Z","pushed_at":"2018-06-16T06:42:18Z","git_url":"git://github.com/jeremylan/POCS.git","ssh_url":"git@github.com:jeremylan/POCS.git","clone_url":"https://github.com/jeremylan/POCS.git","svn_url":"https://github.com/jeremylan/POCS","homepage":"http://projectpanoptes.org","size":99973,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"panoptes:develop","ref":"develop","sha":"aef07d52cfcebaf01f87fe8a434efa9d52892e90","user":{"login":"panoptes","id":5598632,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1OTg2MzI=","avatar_url":"https://avatars3.githubusercontent.com/u/5598632?v=4","gravatar_id":"","url":"https://api.github.com/users/panoptes","html_url":"https://github.com/panoptes","followers_url":"https://api.github.com/users/panoptes/followers","following_url":"https://api.github.com/users/panoptes/following{/other_user}","gists_url":"https://api.github.com/users/panoptes/gists{/gist_id}","starred_url":"https://api.github.com/users/panoptes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panoptes/subscriptions","organizations_url":"https://api.github.com/users/panoptes/orgs","repos_url":"https://api.github.com/users/panoptes/repos","events_url":"https://api.github.com/users/panoptes/events{/privacy}","received_events_url":"https://api.github.com/users/panoptes/received_events","type":"Organization","site_admin":false},"repo":{"id":13283219,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI4MzIxOQ==","name":"POCS","full_name":"panoptes/POCS","owner":{"login":"panoptes","id":5598632,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1OTg2MzI=","avatar_url":"https://avatars3.githubusercontent.com/u/5598632?v=4","gravatar_id":"","url":"https://api.github.com/users/panoptes","html_url":"https://github.com/panoptes","followers_url":"https://api.github.com/users/panoptes/followers","following_url":"https://api.github.com/users/panoptes/following{/other_user}","gists_url":"https://api.github.com/users/panoptes/gists{/gist_id}","starred_url":"https://api.github.com/users/panoptes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panoptes/subscriptions","organizations_url":"https://api.github.com/users/panoptes/orgs","repos_url":"https://api.github.com/users/panoptes/repos","events_url":"https://api.github.com/users/panoptes/events{/privacy}","received_events_url":"https://api.github.com/users/panoptes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/panoptes/POCS","description":"PANOPTES Observatory Control System","fork":false,"url":"https://api.github.com/repos/panoptes/POCS","forks_url":"https://api.github.com/repos/panoptes/POCS/forks","keys_url":"https://api.github.com/repos/panoptes/POCS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/panoptes/POCS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/panoptes/POCS/teams","hooks_url":"https://api.github.com/repos/panoptes/POCS/hooks","issue_events_url":"https://api.github.com/repos/panoptes/POCS/issues/events{/number}","events_url":"https://api.github.com/repos/panoptes/POCS/events","assignees_url":"https://api.github.com/repos/panoptes/POCS/assignees{/user}","branches_url":"https://api.github.com/repos/panoptes/POCS/branches{/branch}","tags_url":"https://api.github.com/repos/panoptes/POCS/tags","blobs_url":"https://api.github.com/repos/panoptes/POCS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/panoptes/POCS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/panoptes/POCS/git/refs{/sha}","trees_url":"https://api.github.com/repos/panoptes/POCS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/panoptes/POCS/statuses/{sha}","languages_url":"https://api.github.com/repos/panoptes/POCS/languages","stargazers_url":"https://api.github.com/repos/panoptes/POCS/stargazers","contributors_url":"https://api.github.com/repos/panoptes/POCS/contributors","subscribers_url":"https://api.github.com/repos/panoptes/POCS/subscribers","subscription_url":"https://api.github.com/repos/panoptes/POCS/subscription","commits_url":"https://api.github.com/repos/panoptes/POCS/commits{/sha}","git_commits_url":"https://api.github.com/repos/panoptes/POCS/git/commits{/sha}","comments_url":"https://api.github.com/repos/panoptes/POCS/comments{/number}","issue_comment_url":"https://api.github.com/repos/panoptes/POCS/issues/comments{/number}","contents_url":"https://api.github.com/repos/panoptes/POCS/contents/{+path}","compare_url":"https://api.github.com/repos/panoptes/POCS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/panoptes/POCS/merges","archive_url":"https://api.github.com/repos/panoptes/POCS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/panoptes/POCS/downloads","issues_url":"https://api.github.com/repos/panoptes/POCS/issues{/number}","pulls_url":"https://api.github.com/repos/panoptes/POCS/pulls{/number}","milestones_url":"https://api.github.com/repos/panoptes/POCS/milestones{/number}","notifications_url":"https://api.github.com/repos/panoptes/POCS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/panoptes/POCS/labels{/name}","releases_url":"https://api.github.com/repos/panoptes/POCS/releases{/id}","deployments_url":"https://api.github.com/repos/panoptes/POCS/deployments","created_at":"2013-10-02T21:19:30Z","updated_at":"2018-06-14T19:57:59Z","pushed_at":"2018-06-16T06:42:20Z","git_url":"git://github.com/panoptes/POCS.git","ssh_url":"git@github.com:panoptes/POCS.git","clone_url":"https://github.com/panoptes/POCS.git","svn_url":"https://github.com/panoptes/POCS","homepage":"http://projectpanoptes.org","size":99954,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":123,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":19,"open_issues":123,"watchers":34,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/panoptes/POCS/pulls/524"},"html":{"href":"https://github.com/panoptes/POCS/pull/524"},"issue":{"href":"https://api.github.com/repos/panoptes/POCS/issues/524"},"comments":{"href":"https://api.github.com/repos/panoptes/POCS/issues/524/comments"},"review_comments":{"href":"https://api.github.com/repos/panoptes/POCS/pulls/524/comments"},"review_comment":{"href":"https://api.github.com/repos/panoptes/POCS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/panoptes/POCS/pulls/524/commits"},"statuses":{"href":"https://api.github.com/repos/panoptes/POCS/statuses/faa4ac9f02b9f4a9dc6ab9c4c4611759b18ee25c"}},"author_association":"NONE"}}
{"actor":{"display_login":"jeremylan"}}