{"action":"created","comment":{"url":"https://api.github.com/repos/mapzen/ios/pulls/comments/141665967","pull_request_review_id":65916782,"id":141665967,"diff_hunk":"@@ -910,6 +910,9 @@ open class MZMapViewController: UIViewController, LocationManagerDelegate {\n \n   override open func viewDidLoad() {\n     super.viewDidLoad()\n+    let httpHandler = TGHttpHandler()\n+    httpHandler.httpAdditionalHeaders = MapzenManager.sharedManager.httpHeaders() as! NSMutableDictionary","path":"MapzenSDK/MZMapViewController.swift","position":5,"original_position":5,"commit_id":"aba1da7aef76de4abad6127b2aab81792a76c387","original_commit_id":"aba1da7aef76de4abad6127b2aab81792a76c387","user":{"login":"msmollin","id":1163880,"avatar_url":"https://avatars2.githubusercontent.com/u/1163880?v=4","gravatar_id":"","url":"https://api.github.com/users/msmollin","html_url":"https://github.com/msmollin","followers_url":"https://api.github.com/users/msmollin/followers","following_url":"https://api.github.com/users/msmollin/following{/other_user}","gists_url":"https://api.github.com/users/msmollin/gists{/gist_id}","starred_url":"https://api.github.com/users/msmollin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmollin/subscriptions","organizations_url":"https://api.github.com/users/msmollin/orgs","repos_url":"https://api.github.com/users/msmollin/repos","events_url":"https://api.github.com/users/msmollin/events{/privacy}","received_events_url":"https://api.github.com/users/msmollin/received_events","type":"User","site_admin":false},"body":"Oh? Doesn't crash for me. Hmmmm. Will recheck that. ","created_at":"2017-09-28T16:15:28Z","updated_at":"2017-09-28T16:15:28Z","html_url":"https://github.com/mapzen/ios/pull/364#discussion_r141665967","pull_request_url":"https://api.github.com/repos/mapzen/ios/pulls/364","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mapzen/ios/pulls/comments/141665967"},"html":{"href":"https://github.com/mapzen/ios/pull/364#discussion_r141665967"},"pull_request":{"href":"https://api.github.com/repos/mapzen/ios/pulls/364"}},"in_reply_to_id":141659198},"pull_request":{"url":"https://api.github.com/repos/mapzen/ios/pulls/364","id":143451291,"html_url":"https://github.com/mapzen/ios/pull/364","diff_url":"https://github.com/mapzen/ios/pull/364.diff","patch_url":"https://github.com/mapzen/ios/pull/364.patch","issue_url":"https://api.github.com/repos/mapzen/ios/issues/364","number":364,"state":"open","locked":false,"title":"[WIP]  Add origin tracking and cocoapods version injection","user":{"login":"msmollin","id":1163880,"avatar_url":"https://avatars2.githubusercontent.com/u/1163880?v=4","gravatar_id":"","url":"https://api.github.com/users/msmollin","html_url":"https://github.com/msmollin","followers_url":"https://api.github.com/users/msmollin/followers","following_url":"https://api.github.com/users/msmollin/following{/other_user}","gists_url":"https://api.github.com/users/msmollin/gists{/gist_id}","starred_url":"https://api.github.com/users/msmollin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmollin/subscriptions","organizations_url":"https://api.github.com/users/msmollin/orgs","repos_url":"https://api.github.com/users/msmollin/repos","events_url":"https://api.github.com/users/msmollin/events{/privacy}","received_events_url":"https://api.github.com/users/msmollin/received_events","type":"User","site_admin":false},"body":"### Overview\r\nAdd in origin tracking for metrics collection and device usage statistics. \r\n### Proposed Changes\r\n- Enable User-agent overrides to properly track outbound requests\r\n- Injection SDK version from cocoapods using swift script process\r\n\r\nFixes #329 \r\n","created_at":"2017-09-27T17:14:12Z","updated_at":"2017-09-28T16:15:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3ad82c61970bf6c16467444fb410eaf3b033e29","assignee":{"login":"sarahlensing","id":494323,"avatar_url":"https://avatars2.githubusercontent.com/u/494323?v=4","gravatar_id":"","url":"https://api.github.com/users/sarahlensing","html_url":"https://github.com/sarahlensing","followers_url":"https://api.github.com/users/sarahlensing/followers","following_url":"https://api.github.com/users/sarahlensing/following{/other_user}","gists_url":"https://api.github.com/users/sarahlensing/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahlensing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahlensing/subscriptions","organizations_url":"https://api.github.com/users/sarahlensing/orgs","repos_url":"https://api.github.com/users/sarahlensing/repos","events_url":"https://api.github.com/users/sarahlensing/events{/privacy}","received_events_url":"https://api.github.com/users/sarahlensing/received_events","type":"User","site_admin":false},"assignees":[{"login":"sarahlensing","id":494323,"avatar_url":"https://avatars2.githubusercontent.com/u/494323?v=4","gravatar_id":"","url":"https://api.github.com/users/sarahlensing","html_url":"https://github.com/sarahlensing","followers_url":"https://api.github.com/users/sarahlensing/followers","following_url":"https://api.github.com/users/sarahlensing/following{/other_user}","gists_url":"https://api.github.com/users/sarahlensing/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahlensing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahlensing/subscriptions","organizations_url":"https://api.github.com/users/sarahlensing/orgs","repos_url":"https://api.github.com/users/sarahlensing/repos","events_url":"https://api.github.com/users/sarahlensing/events{/privacy}","received_events_url":"https://api.github.com/users/sarahlensing/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"karimnaaji","id":7061573,"avatar_url":"https://avatars3.githubusercontent.com/u/7061573?v=4","gravatar_id":"","url":"https://api.github.com/users/karimnaaji","html_url":"https://github.com/karimnaaji","followers_url":"https://api.github.com/users/karimnaaji/followers","following_url":"https://api.github.com/users/karimnaaji/following{/other_user}","gists_url":"https://api.github.com/users/karimnaaji/gists{/gist_id}","starred_url":"https://api.github.com/users/karimnaaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karimnaaji/subscriptions","organizations_url":"https://api.github.com/users/karimnaaji/orgs","repos_url":"https://api.github.com/users/karimnaaji/repos","events_url":"https://api.github.com/users/karimnaaji/events{/privacy}","received_events_url":"https://api.github.com/users/karimnaaji/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mapzen/ios/pulls/364/commits","review_comments_url":"https://api.github.com/repos/mapzen/ios/pulls/364/comments","review_comment_url":"https://api.github.com/repos/mapzen/ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapzen/ios/issues/364/comments","statuses_url":"https://api.github.com/repos/mapzen/ios/statuses/aba1da7aef76de4abad6127b2aab81792a76c387","head":{"label":"mapzen:originTracking","ref":"originTracking","sha":"aba1da7aef76de4abad6127b2aab81792a76c387","user":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars2.githubusercontent.com/u/5435747?v=4","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"repo":{"id":47201052,"name":"ios","full_name":"mapzen/ios","owner":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars2.githubusercontent.com/u/5435747?v=4","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapzen/ios","description":"Where you can find everything iOS from Mapzen","fork":false,"url":"https://api.github.com/repos/mapzen/ios","forks_url":"https://api.github.com/repos/mapzen/ios/forks","keys_url":"https://api.github.com/repos/mapzen/ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapzen/ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapzen/ios/teams","hooks_url":"https://api.github.com/repos/mapzen/ios/hooks","issue_events_url":"https://api.github.com/repos/mapzen/ios/issues/events{/number}","events_url":"https://api.github.com/repos/mapzen/ios/events","assignees_url":"https://api.github.com/repos/mapzen/ios/assignees{/user}","branches_url":"https://api.github.com/repos/mapzen/ios/branches{/branch}","tags_url":"https://api.github.com/repos/mapzen/ios/tags","blobs_url":"https://api.github.com/repos/mapzen/ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapzen/ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapzen/ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapzen/ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapzen/ios/statuses/{sha}","languages_url":"https://api.github.com/repos/mapzen/ios/languages","stargazers_url":"https://api.github.com/repos/mapzen/ios/stargazers","contributors_url":"https://api.github.com/repos/mapzen/ios/contributors","subscribers_url":"https://api.github.com/repos/mapzen/ios/subscribers","subscription_url":"https://api.github.com/repos/mapzen/ios/subscription","commits_url":"https://api.github.com/repos/mapzen/ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapzen/ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapzen/ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapzen/ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapzen/ios/contents/{+path}","compare_url":"https://api.github.com/repos/mapzen/ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapzen/ios/merges","archive_url":"https://api.github.com/repos/mapzen/ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapzen/ios/downloads","issues_url":"https://api.github.com/repos/mapzen/ios/issues{/number}","pulls_url":"https://api.github.com/repos/mapzen/ios/pulls{/number}","milestones_url":"https://api.github.com/repos/mapzen/ios/milestones{/number}","notifications_url":"https://api.github.com/repos/mapzen/ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapzen/ios/labels{/name}","releases_url":"https://api.github.com/repos/mapzen/ios/releases{/id}","deployments_url":"https://api.github.com/repos/mapzen/ios/deployments","created_at":"2015-12-01T16:12:10Z","updated_at":"2017-08-24T07:22:40Z","pushed_at":"2017-09-28T15:15:41Z","git_url":"git://github.com/mapzen/ios.git","ssh_url":"git@github.com:mapzen/ios.git","clone_url":"https://github.com/mapzen/ios.git","svn_url":"https://github.com/mapzen/ios","homepage":"https://mapzen.com/projects/mobile/","size":4502,"stargazers_count":20,"watchers_count":20,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":49,"forks":13,"open_issues":49,"watchers":20,"default_branch":"master"}},"base":{"label":"mapzen:master","ref":"master","sha":"c50e88c4d59971873aada51e255aa288f0879c33","user":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars2.githubusercontent.com/u/5435747?v=4","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"repo":{"id":47201052,"name":"ios","full_name":"mapzen/ios","owner":{"login":"mapzen","id":5435747,"avatar_url":"https://avatars2.githubusercontent.com/u/5435747?v=4","gravatar_id":"","url":"https://api.github.com/users/mapzen","html_url":"https://github.com/mapzen","followers_url":"https://api.github.com/users/mapzen/followers","following_url":"https://api.github.com/users/mapzen/following{/other_user}","gists_url":"https://api.github.com/users/mapzen/gists{/gist_id}","starred_url":"https://api.github.com/users/mapzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapzen/subscriptions","organizations_url":"https://api.github.com/users/mapzen/orgs","repos_url":"https://api.github.com/users/mapzen/repos","events_url":"https://api.github.com/users/mapzen/events{/privacy}","received_events_url":"https://api.github.com/users/mapzen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapzen/ios","description":"Where you can find everything iOS from Mapzen","fork":false,"url":"https://api.github.com/repos/mapzen/ios","forks_url":"https://api.github.com/repos/mapzen/ios/forks","keys_url":"https://api.github.com/repos/mapzen/ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapzen/ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapzen/ios/teams","hooks_url":"https://api.github.com/repos/mapzen/ios/hooks","issue_events_url":"https://api.github.com/repos/mapzen/ios/issues/events{/number}","events_url":"https://api.github.com/repos/mapzen/ios/events","assignees_url":"https://api.github.com/repos/mapzen/ios/assignees{/user}","branches_url":"https://api.github.com/repos/mapzen/ios/branches{/branch}","tags_url":"https://api.github.com/repos/mapzen/ios/tags","blobs_url":"https://api.github.com/repos/mapzen/ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapzen/ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapzen/ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapzen/ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapzen/ios/statuses/{sha}","languages_url":"https://api.github.com/repos/mapzen/ios/languages","stargazers_url":"https://api.github.com/repos/mapzen/ios/stargazers","contributors_url":"https://api.github.com/repos/mapzen/ios/contributors","subscribers_url":"https://api.github.com/repos/mapzen/ios/subscribers","subscription_url":"https://api.github.com/repos/mapzen/ios/subscription","commits_url":"https://api.github.com/repos/mapzen/ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapzen/ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapzen/ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapzen/ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapzen/ios/contents/{+path}","compare_url":"https://api.github.com/repos/mapzen/ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapzen/ios/merges","archive_url":"https://api.github.com/repos/mapzen/ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapzen/ios/downloads","issues_url":"https://api.github.com/repos/mapzen/ios/issues{/number}","pulls_url":"https://api.github.com/repos/mapzen/ios/pulls{/number}","milestones_url":"https://api.github.com/repos/mapzen/ios/milestones{/number}","notifications_url":"https://api.github.com/repos/mapzen/ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapzen/ios/labels{/name}","releases_url":"https://api.github.com/repos/mapzen/ios/releases{/id}","deployments_url":"https://api.github.com/repos/mapzen/ios/deployments","created_at":"2015-12-01T16:12:10Z","updated_at":"2017-08-24T07:22:40Z","pushed_at":"2017-09-28T15:15:41Z","git_url":"git://github.com/mapzen/ios.git","ssh_url":"git@github.com:mapzen/ios.git","clone_url":"https://github.com/mapzen/ios.git","svn_url":"https://github.com/mapzen/ios","homepage":"https://mapzen.com/projects/mobile/","size":4502,"stargazers_count":20,"watchers_count":20,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":49,"forks":13,"open_issues":49,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapzen/ios/pulls/364"},"html":{"href":"https://github.com/mapzen/ios/pull/364"},"issue":{"href":"https://api.github.com/repos/mapzen/ios/issues/364"},"comments":{"href":"https://api.github.com/repos/mapzen/ios/issues/364/comments"},"review_comments":{"href":"https://api.github.com/repos/mapzen/ios/pulls/364/comments"},"review_comment":{"href":"https://api.github.com/repos/mapzen/ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapzen/ios/pulls/364/commits"},"statuses":{"href":"https://api.github.com/repos/mapzen/ios/statuses/aba1da7aef76de4abad6127b2aab81792a76c387"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"msmollin"}}