{"action":"created","comment":{"url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/comments/44729422","id":44729422,"diff_hunk":"@@ -0,0 +1,29 @@\n+This plugin can be configured to collect usage data that is sent to Microsoft to help improve the product.\r\n+\r\n+If you do not want this information reported you can:\r\n+- Click 'Decline' when initially prompted on startup whether you are willing to allow usage data to be collected.\r","path":"privacyPolicy.txt","position":4,"original_position":4,"commit_id":"34626df378fbb4feec8d04b7ed3ad874cf7b5730","original_commit_id":"34626df378fbb4feec8d04b7ed3ad874cf7b5730","user":{"login":"bowdenk7","id":820883,"avatar_url":"https://avatars.githubusercontent.com/u/820883?v=3","gravatar_id":"","url":"https://api.github.com/users/bowdenk7","html_url":"https://github.com/bowdenk7","followers_url":"https://api.github.com/users/bowdenk7/followers","following_url":"https://api.github.com/users/bowdenk7/following{/other_user}","gists_url":"https://api.github.com/users/bowdenk7/gists{/gist_id}","starred_url":"https://api.github.com/users/bowdenk7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowdenk7/subscriptions","organizations_url":"https://api.github.com/users/bowdenk7/orgs","repos_url":"https://api.github.com/users/bowdenk7/repos","events_url":"https://api.github.com/users/bowdenk7/events{/privacy}","received_events_url":"https://api.github.com/users/bowdenk7/received_events","type":"User","site_admin":false},"body":"Privacy requested edit - Change text to:\r\n    \"Click 'Decline' when initially prompted on startup to stop usage data from being collected.\"\r\nThe existing text is confusing.\r\n","created_at":"2015-11-12T23:11:33Z","updated_at":"2015-11-12T23:11:33Z","html_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin/pull/1#discussion_r44729422","pull_request_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/comments/44729422"},"html":{"href":"https://github.com/danquirk/TypeScript-Sublime-Plugin/pull/1#discussion_r44729422"},"pull_request":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/1","id":48819858,"html_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin/pull/1","diff_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin/pull/1.diff","patch_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin/pull/1.patch","issue_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues/1","number":1,"state":"open","locked":false,"title":"Add telemetry to Sublime","user":{"login":"danquirk","id":7121557,"avatar_url":"https://avatars.githubusercontent.com/u/7121557?v=3","gravatar_id":"","url":"https://api.github.com/users/danquirk","html_url":"https://github.com/danquirk","followers_url":"https://api.github.com/users/danquirk/followers","following_url":"https://api.github.com/users/danquirk/following{/other_user}","gists_url":"https://api.github.com/users/danquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/danquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danquirk/subscriptions","organizations_url":"https://api.github.com/users/danquirk/orgs","repos_url":"https://api.github.com/users/danquirk/repos","events_url":"https://api.github.com/users/danquirk/events{/privacy}","received_events_url":"https://api.github.com/users/danquirk/received_events","type":"User","site_admin":false},"body":"Sublime side of the telemetry additions. Relatively simple but I'm not a Python expert. Just look at the final results, not commit by commit.\r\n\r\nDesign is:\r\n- On load, check the Settings - User file for telemetry settings.\r\n- If telemetry settings are found, do nothing new (telemetry settings get forwarded along like other settings).\r\n- If telemetry settings are not found:\r\n   - Pop up an acceptance dialog and load the privacy policy file in a new foreground tab\r\n   - Write telemetry settings to the Settings - User file based on acceptance results.\r\n   - Send an event to AppInsights saying whether the person opted in or out.\r\n\r\nIn my own fork for stealth purposes (sorta).\r\n\r\n@RyanCavanaugh @zhengbli @billti ","created_at":"2015-10-27T01:46:35Z","updated_at":"2015-11-12T23:11:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8e18666084365d555e6a623425b280e4c402fae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues/1/comments","statuses_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/statuses/34626df378fbb4feec8d04b7ed3ad874cf7b5730","head":{"label":"danquirk:addTelemetry","ref":"addTelemetry","sha":"34626df378fbb4feec8d04b7ed3ad874cf7b5730","user":{"login":"danquirk","id":7121557,"avatar_url":"https://avatars.githubusercontent.com/u/7121557?v=3","gravatar_id":"","url":"https://api.github.com/users/danquirk","html_url":"https://github.com/danquirk","followers_url":"https://api.github.com/users/danquirk/followers","following_url":"https://api.github.com/users/danquirk/following{/other_user}","gists_url":"https://api.github.com/users/danquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/danquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danquirk/subscriptions","organizations_url":"https://api.github.com/users/danquirk/orgs","repos_url":"https://api.github.com/users/danquirk/repos","events_url":"https://api.github.com/users/danquirk/events{/privacy}","received_events_url":"https://api.github.com/users/danquirk/received_events","type":"User","site_admin":false},"repo":{"id":45007956,"name":"TypeScript-Sublime-Plugin","full_name":"danquirk/TypeScript-Sublime-Plugin","owner":{"login":"danquirk","id":7121557,"avatar_url":"https://avatars.githubusercontent.com/u/7121557?v=3","gravatar_id":"","url":"https://api.github.com/users/danquirk","html_url":"https://github.com/danquirk","followers_url":"https://api.github.com/users/danquirk/followers","following_url":"https://api.github.com/users/danquirk/following{/other_user}","gists_url":"https://api.github.com/users/danquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/danquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danquirk/subscriptions","organizations_url":"https://api.github.com/users/danquirk/orgs","repos_url":"https://api.github.com/users/danquirk/repos","events_url":"https://api.github.com/users/danquirk/events{/privacy}","received_events_url":"https://api.github.com/users/danquirk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin","description":"IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins","fork":true,"url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin","forks_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/forks","keys_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/teams","hooks_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/hooks","issue_events_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues/events{/number}","events_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/events","assignees_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/assignees{/user}","branches_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/branches{/branch}","tags_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/tags","blobs_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/languages","stargazers_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/stargazers","contributors_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/contributors","subscribers_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/subscribers","subscription_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/subscription","commits_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/contents/{+path}","compare_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/merges","archive_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/downloads","issues_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues{/number}","pulls_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/labels{/name}","releases_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/releases{/id}","created_at":"2015-10-27T01:04:13Z","updated_at":"2015-10-27T01:04:15Z","pushed_at":"2015-10-31T00:48:38Z","git_url":"git://github.com/danquirk/TypeScript-Sublime-Plugin.git","ssh_url":"git@github.com:danquirk/TypeScript-Sublime-Plugin.git","clone_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin.git","svn_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin","homepage":null,"size":36836,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"danquirk:master","ref":"master","sha":"e5c716e2ef8ce5db4f85fb50a75ee35d2fe84bfc","user":{"login":"danquirk","id":7121557,"avatar_url":"https://avatars.githubusercontent.com/u/7121557?v=3","gravatar_id":"","url":"https://api.github.com/users/danquirk","html_url":"https://github.com/danquirk","followers_url":"https://api.github.com/users/danquirk/followers","following_url":"https://api.github.com/users/danquirk/following{/other_user}","gists_url":"https://api.github.com/users/danquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/danquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danquirk/subscriptions","organizations_url":"https://api.github.com/users/danquirk/orgs","repos_url":"https://api.github.com/users/danquirk/repos","events_url":"https://api.github.com/users/danquirk/events{/privacy}","received_events_url":"https://api.github.com/users/danquirk/received_events","type":"User","site_admin":false},"repo":{"id":45007956,"name":"TypeScript-Sublime-Plugin","full_name":"danquirk/TypeScript-Sublime-Plugin","owner":{"login":"danquirk","id":7121557,"avatar_url":"https://avatars.githubusercontent.com/u/7121557?v=3","gravatar_id":"","url":"https://api.github.com/users/danquirk","html_url":"https://github.com/danquirk","followers_url":"https://api.github.com/users/danquirk/followers","following_url":"https://api.github.com/users/danquirk/following{/other_user}","gists_url":"https://api.github.com/users/danquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/danquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danquirk/subscriptions","organizations_url":"https://api.github.com/users/danquirk/orgs","repos_url":"https://api.github.com/users/danquirk/repos","events_url":"https://api.github.com/users/danquirk/events{/privacy}","received_events_url":"https://api.github.com/users/danquirk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin","description":"IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins","fork":true,"url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin","forks_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/forks","keys_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/teams","hooks_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/hooks","issue_events_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues/events{/number}","events_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/events","assignees_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/assignees{/user}","branches_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/branches{/branch}","tags_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/tags","blobs_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/languages","stargazers_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/stargazers","contributors_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/contributors","subscribers_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/subscribers","subscription_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/subscription","commits_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/contents/{+path}","compare_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/merges","archive_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/downloads","issues_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues{/number}","pulls_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/labels{/name}","releases_url":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/releases{/id}","created_at":"2015-10-27T01:04:13Z","updated_at":"2015-10-27T01:04:15Z","pushed_at":"2015-10-31T00:48:38Z","git_url":"git://github.com/danquirk/TypeScript-Sublime-Plugin.git","ssh_url":"git@github.com:danquirk/TypeScript-Sublime-Plugin.git","clone_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin.git","svn_url":"https://github.com/danquirk/TypeScript-Sublime-Plugin","homepage":null,"size":36836,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/1"},"html":{"href":"https://github.com/danquirk/TypeScript-Sublime-Plugin/pull/1"},"issue":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues/1"},"comments":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/danquirk/TypeScript-Sublime-Plugin/statuses/34626df378fbb4feec8d04b7ed3ad874cf7b5730"}}}}