{"action":"created","comment":{"url":"https://api.github.com/repos/domokit/sky_engine/pulls/comments/38594475","id":38594475,"diff_hunk":"@@ -447,6 +488,27 @@ class AndroidDevice(object):\n         logging.info(' '.join(cmd))\n         subprocess.check_output(cmd)\n \n+    def logs(self):\n+        def do_logs():\n+            cmd = [\n+                self.adb_path,\n+                'logcat',\n+                '-s',\n+                'sky',\n+                'chromium',","path":"sky/packages/sky/lib/sky_tool","position":66,"original_position":66,"commit_id":"ddcdbb2f9f1fb4f61e2a97cd456d8ab4348597fc","original_commit_id":"ddcdbb2f9f1fb4f61e2a97cd456d8ab4348597fc","user":{"login":"abarth","id":112007,"avatar_url":"https://avatars.githubusercontent.com/u/112007?v=3","gravatar_id":"","url":"https://api.github.com/users/abarth","html_url":"https://github.com/abarth","followers_url":"https://api.github.com/users/abarth/followers","following_url":"https://api.github.com/users/abarth/following{/other_user}","gists_url":"https://api.github.com/users/abarth/gists{/gist_id}","starred_url":"https://api.github.com/users/abarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abarth/subscriptions","organizations_url":"https://api.github.com/users/abarth/orgs","repos_url":"https://api.github.com/users/abarth/repos","events_url":"https://api.github.com/users/abarth/events{/privacy}","received_events_url":"https://api.github.com/users/abarth/received_events","type":"User","site_admin":false},"body":"This doesn't need to be:\r\n\r\n'sky,chromium'\r\n\r\n?","created_at":"2015-09-02T22:44:19Z","updated_at":"2015-09-02T22:44:19Z","html_url":"https://github.com/domokit/sky_engine/pull/1027#discussion_r38594475","pull_request_url":"https://api.github.com/repos/domokit/sky_engine/pulls/1027","_links":{"self":{"href":"https://api.github.com/repos/domokit/sky_engine/pulls/comments/38594475"},"html":{"href":"https://github.com/domokit/sky_engine/pull/1027#discussion_r38594475"},"pull_request":{"href":"https://api.github.com/repos/domokit/sky_engine/pulls/1027"}}},"pull_request":{"url":"https://api.github.com/repos/domokit/sky_engine/pulls/1027","id":44051678,"html_url":"https://github.com/domokit/sky_engine/pull/1027","diff_url":"https://github.com/domokit/sky_engine/pull/1027.diff","patch_url":"https://github.com/domokit/sky_engine/pull/1027.patch","issue_url":"https://api.github.com/repos/domokit/sky_engine/issues/1027","number":1027,"state":"open","locked":false,"title":"Add sky_tool logs command","user":{"login":"iansf","id":12631059,"avatar_url":"https://avatars.githubusercontent.com/u/12631059?v=3","gravatar_id":"","url":"https://api.github.com/users/iansf","html_url":"https://github.com/iansf","followers_url":"https://api.github.com/users/iansf/followers","following_url":"https://api.github.com/users/iansf/following{/other_user}","gists_url":"https://api.github.com/users/iansf/gists{/gist_id}","starred_url":"https://api.github.com/users/iansf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iansf/subscriptions","organizations_url":"https://api.github.com/users/iansf/orgs","repos_url":"https://api.github.com/users/iansf/repos","events_url":"https://api.github.com/users/iansf/events{/privacy}","received_events_url":"https://api.github.com/users/iansf/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-09-02T22:43:15Z","updated_at":"2015-09-02T22:44:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c50f75af40eeac58f82bd9ca7ac729de4c9b3502","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/domokit/sky_engine/pulls/1027/commits","review_comments_url":"https://api.github.com/repos/domokit/sky_engine/pulls/1027/comments","review_comment_url":"https://api.github.com/repos/domokit/sky_engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/domokit/sky_engine/issues/1027/comments","statuses_url":"https://api.github.com/repos/domokit/sky_engine/statuses/ddcdbb2f9f1fb4f61e2a97cd456d8ab4348597fc","head":{"label":"iansf:sky_tool_logs","ref":"sky_tool_logs","sha":"ddcdbb2f9f1fb4f61e2a97cd456d8ab4348597fc","user":{"login":"iansf","id":12631059,"avatar_url":"https://avatars.githubusercontent.com/u/12631059?v=3","gravatar_id":"","url":"https://api.github.com/users/iansf","html_url":"https://github.com/iansf","followers_url":"https://api.github.com/users/iansf/followers","following_url":"https://api.github.com/users/iansf/following{/other_user}","gists_url":"https://api.github.com/users/iansf/gists{/gist_id}","starred_url":"https://api.github.com/users/iansf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iansf/subscriptions","organizations_url":"https://api.github.com/users/iansf/orgs","repos_url":"https://api.github.com/users/iansf/repos","events_url":"https://api.github.com/users/iansf/events{/privacy}","received_events_url":"https://api.github.com/users/iansf/received_events","type":"User","site_admin":false},"repo":{"id":39264948,"name":"sky_engine","full_name":"iansf/sky_engine","owner":{"login":"iansf","id":12631059,"avatar_url":"https://avatars.githubusercontent.com/u/12631059?v=3","gravatar_id":"","url":"https://api.github.com/users/iansf","html_url":"https://github.com/iansf","followers_url":"https://api.github.com/users/iansf/followers","following_url":"https://api.github.com/users/iansf/following{/other_user}","gists_url":"https://api.github.com/users/iansf/gists{/gist_id}","starred_url":"https://api.github.com/users/iansf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iansf/subscriptions","organizations_url":"https://api.github.com/users/iansf/orgs","repos_url":"https://api.github.com/users/iansf/repos","events_url":"https://api.github.com/users/iansf/events{/privacy}","received_events_url":"https://api.github.com/users/iansf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iansf/sky_engine","description":"The Sky engine","fork":true,"url":"https://api.github.com/repos/iansf/sky_engine","forks_url":"https://api.github.com/repos/iansf/sky_engine/forks","keys_url":"https://api.github.com/repos/iansf/sky_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iansf/sky_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iansf/sky_engine/teams","hooks_url":"https://api.github.com/repos/iansf/sky_engine/hooks","issue_events_url":"https://api.github.com/repos/iansf/sky_engine/issues/events{/number}","events_url":"https://api.github.com/repos/iansf/sky_engine/events","assignees_url":"https://api.github.com/repos/iansf/sky_engine/assignees{/user}","branches_url":"https://api.github.com/repos/iansf/sky_engine/branches{/branch}","tags_url":"https://api.github.com/repos/iansf/sky_engine/tags","blobs_url":"https://api.github.com/repos/iansf/sky_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iansf/sky_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iansf/sky_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/iansf/sky_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iansf/sky_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/iansf/sky_engine/languages","stargazers_url":"https://api.github.com/repos/iansf/sky_engine/stargazers","contributors_url":"https://api.github.com/repos/iansf/sky_engine/contributors","subscribers_url":"https://api.github.com/repos/iansf/sky_engine/subscribers","subscription_url":"https://api.github.com/repos/iansf/sky_engine/subscription","commits_url":"https://api.github.com/repos/iansf/sky_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/iansf/sky_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/iansf/sky_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/iansf/sky_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/iansf/sky_engine/contents/{+path}","compare_url":"https://api.github.com/repos/iansf/sky_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iansf/sky_engine/merges","archive_url":"https://api.github.com/repos/iansf/sky_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iansf/sky_engine/downloads","issues_url":"https://api.github.com/repos/iansf/sky_engine/issues{/number}","pulls_url":"https://api.github.com/repos/iansf/sky_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/iansf/sky_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/iansf/sky_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iansf/sky_engine/labels{/name}","releases_url":"https://api.github.com/repos/iansf/sky_engine/releases{/id}","created_at":"2015-07-17T16:51:06Z","updated_at":"2015-07-17T16:51:25Z","pushed_at":"2015-09-02T22:43:05Z","git_url":"git://github.com/iansf/sky_engine.git","ssh_url":"git@github.com:iansf/sky_engine.git","clone_url":"https://github.com/iansf/sky_engine.git","svn_url":"https://github.com/iansf/sky_engine","homepage":null,"size":73195,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"domokit:master","ref":"master","sha":"6d00028d94a8865c454c43e72908b9cb9d5f5c29","user":{"login":"domokit","id":8664152,"avatar_url":"https://avatars.githubusercontent.com/u/8664152?v=3","gravatar_id":"","url":"https://api.github.com/users/domokit","html_url":"https://github.com/domokit","followers_url":"https://api.github.com/users/domokit/followers","following_url":"https://api.github.com/users/domokit/following{/other_user}","gists_url":"https://api.github.com/users/domokit/gists{/gist_id}","starred_url":"https://api.github.com/users/domokit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domokit/subscriptions","organizations_url":"https://api.github.com/users/domokit/orgs","repos_url":"https://api.github.com/users/domokit/repos","events_url":"https://api.github.com/users/domokit/events{/privacy}","received_events_url":"https://api.github.com/users/domokit/received_events","type":"Organization","site_admin":false},"repo":{"id":39211337,"name":"sky_engine","full_name":"domokit/sky_engine","owner":{"login":"domokit","id":8664152,"avatar_url":"https://avatars.githubusercontent.com/u/8664152?v=3","gravatar_id":"","url":"https://api.github.com/users/domokit","html_url":"https://github.com/domokit","followers_url":"https://api.github.com/users/domokit/followers","following_url":"https://api.github.com/users/domokit/following{/other_user}","gists_url":"https://api.github.com/users/domokit/gists{/gist_id}","starred_url":"https://api.github.com/users/domokit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domokit/subscriptions","organizations_url":"https://api.github.com/users/domokit/orgs","repos_url":"https://api.github.com/users/domokit/repos","events_url":"https://api.github.com/users/domokit/events{/privacy}","received_events_url":"https://api.github.com/users/domokit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/domokit/sky_engine","description":"The Sky engine","fork":false,"url":"https://api.github.com/repos/domokit/sky_engine","forks_url":"https://api.github.com/repos/domokit/sky_engine/forks","keys_url":"https://api.github.com/repos/domokit/sky_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domokit/sky_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domokit/sky_engine/teams","hooks_url":"https://api.github.com/repos/domokit/sky_engine/hooks","issue_events_url":"https://api.github.com/repos/domokit/sky_engine/issues/events{/number}","events_url":"https://api.github.com/repos/domokit/sky_engine/events","assignees_url":"https://api.github.com/repos/domokit/sky_engine/assignees{/user}","branches_url":"https://api.github.com/repos/domokit/sky_engine/branches{/branch}","tags_url":"https://api.github.com/repos/domokit/sky_engine/tags","blobs_url":"https://api.github.com/repos/domokit/sky_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domokit/sky_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domokit/sky_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/domokit/sky_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domokit/sky_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/domokit/sky_engine/languages","stargazers_url":"https://api.github.com/repos/domokit/sky_engine/stargazers","contributors_url":"https://api.github.com/repos/domokit/sky_engine/contributors","subscribers_url":"https://api.github.com/repos/domokit/sky_engine/subscribers","subscription_url":"https://api.github.com/repos/domokit/sky_engine/subscription","commits_url":"https://api.github.com/repos/domokit/sky_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/domokit/sky_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/domokit/sky_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/domokit/sky_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/domokit/sky_engine/contents/{+path}","compare_url":"https://api.github.com/repos/domokit/sky_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domokit/sky_engine/merges","archive_url":"https://api.github.com/repos/domokit/sky_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domokit/sky_engine/downloads","issues_url":"https://api.github.com/repos/domokit/sky_engine/issues{/number}","pulls_url":"https://api.github.com/repos/domokit/sky_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/domokit/sky_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/domokit/sky_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domokit/sky_engine/labels{/name}","releases_url":"https://api.github.com/repos/domokit/sky_engine/releases{/id}","created_at":"2015-07-16T17:39:56Z","updated_at":"2015-09-01T12:40:23Z","pushed_at":"2015-09-02T22:43:16Z","git_url":"git://github.com/domokit/sky_engine.git","ssh_url":"git@github.com:domokit/sky_engine.git","clone_url":"https://github.com/domokit/sky_engine.git","svn_url":"https://github.com/domokit/sky_engine","homepage":null,"size":83973,"stargazers_count":161,"watchers_count":161,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":190,"forks":56,"open_issues":190,"watchers":161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/domokit/sky_engine/pulls/1027"},"html":{"href":"https://github.com/domokit/sky_engine/pull/1027"},"issue":{"href":"https://api.github.com/repos/domokit/sky_engine/issues/1027"},"comments":{"href":"https://api.github.com/repos/domokit/sky_engine/issues/1027/comments"},"review_comments":{"href":"https://api.github.com/repos/domokit/sky_engine/pulls/1027/comments"},"review_comment":{"href":"https://api.github.com/repos/domokit/sky_engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/domokit/sky_engine/pulls/1027/commits"},"statuses":{"href":"https://api.github.com/repos/domokit/sky_engine/statuses/ddcdbb2f9f1fb4f61e2a97cd456d8ab4348597fc"}}}}