{"action":"created","comment":{"url":"https://api.github.com/repos/gyagp/share/pulls/comments/45155532","id":45155532,"diff_hunk":"@@ -2486,8 +2486,22 @@ def chromium_rev_to_num(rev):\n \n \n def chromium_install_android_sdk(dir_chromium):\n-    backup_dir(dir_chromium)\n-    cmd = 'src/build/install-android-sdks.sh'\n+    backup_dir(dir_chromium + '/src')\n+\n+    rev_current = -1","path":"python/util.py","position":8,"original_position":8,"commit_id":"6d27ea8542845baf44cbf95cf8eeb7a3e441e293","original_commit_id":"08e799325753ac675749554fb469e340374c3e6b","user":{"login":"YuZhiqiangX","id":5045069,"avatar_url":"https://avatars.githubusercontent.com/u/5045069?v=3","gravatar_id":"","url":"https://api.github.com/users/YuZhiqiangX","html_url":"https://github.com/YuZhiqiangX","followers_url":"https://api.github.com/users/YuZhiqiangX/followers","following_url":"https://api.github.com/users/YuZhiqiangX/following{/other_user}","gists_url":"https://api.github.com/users/YuZhiqiangX/gists{/gist_id}","starred_url":"https://api.github.com/users/YuZhiqiangX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuZhiqiangX/subscriptions","organizations_url":"https://api.github.com/users/YuZhiqiangX/orgs","repos_url":"https://api.github.com/users/YuZhiqiangX/repos","events_url":"https://api.github.com/users/YuZhiqiangX/events{/privacy}","received_events_url":"https://api.github.com/users/YuZhiqiangX/received_events","type":"User","site_admin":false},"body":"I know these functions. I still think it is unnecessary to init and return some more other data-structures in my case. :)","created_at":"2015-11-18T03:18:45Z","updated_at":"2015-11-18T03:18:45Z","html_url":"https://github.com/gyagp/share/pull/70#discussion_r45155532","pull_request_url":"https://api.github.com/repos/gyagp/share/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/gyagp/share/pulls/comments/45155532"},"html":{"href":"https://github.com/gyagp/share/pull/70#discussion_r45155532"},"pull_request":{"href":"https://api.github.com/repos/gyagp/share/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/gyagp/share/pulls/70","id":50912295,"html_url":"https://github.com/gyagp/share/pull/70","diff_url":"https://github.com/gyagp/share/pull/70.diff","patch_url":"https://github.com/gyagp/share/pull/70.patch","issue_url":"https://api.github.com/repos/gyagp/share/issues/70","number":70,"state":"open","locked":false,"title":"chromeforandroid script maintenance","user":{"login":"YuZhiqiangX","id":5045069,"avatar_url":"https://avatars.githubusercontent.com/u/5045069?v=3","gravatar_id":"","url":"https://api.github.com/users/YuZhiqiangX","html_url":"https://github.com/YuZhiqiangX","followers_url":"https://api.github.com/users/YuZhiqiangX/followers","following_url":"https://api.github.com/users/YuZhiqiangX/following{/other_user}","gists_url":"https://api.github.com/users/YuZhiqiangX/gists{/gist_id}","starred_url":"https://api.github.com/users/YuZhiqiangX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuZhiqiangX/subscriptions","organizations_url":"https://api.github.com/users/YuZhiqiangX/orgs","repos_url":"https://api.github.com/users/YuZhiqiangX/repos","events_url":"https://api.github.com/users/YuZhiqiangX/events{/privacy}","received_events_url":"https://api.github.com/users/YuZhiqiangX/received_events","type":"User","site_admin":false},"body":"There are 3 commits in this PR:\r\n1. Upgrade apktool to 2.0.2\r\n2. Change the way to install android sdk\r\n3. Workaround for undefined gyp name","created_at":"2015-11-17T07:20:25Z","updated_at":"2015-11-18T03:18:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3c3010860e8c2b92c70b40112c29c4da95e1812","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gyagp/share/pulls/70/commits","review_comments_url":"https://api.github.com/repos/gyagp/share/pulls/70/comments","review_comment_url":"https://api.github.com/repos/gyagp/share/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gyagp/share/issues/70/comments","statuses_url":"https://api.github.com/repos/gyagp/share/statuses/6d27ea8542845baf44cbf95cf8eeb7a3e441e293","head":{"label":"YuZhiqiangX:master","ref":"master","sha":"6d27ea8542845baf44cbf95cf8eeb7a3e441e293","user":{"login":"YuZhiqiangX","id":5045069,"avatar_url":"https://avatars.githubusercontent.com/u/5045069?v=3","gravatar_id":"","url":"https://api.github.com/users/YuZhiqiangX","html_url":"https://github.com/YuZhiqiangX","followers_url":"https://api.github.com/users/YuZhiqiangX/followers","following_url":"https://api.github.com/users/YuZhiqiangX/following{/other_user}","gists_url":"https://api.github.com/users/YuZhiqiangX/gists{/gist_id}","starred_url":"https://api.github.com/users/YuZhiqiangX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuZhiqiangX/subscriptions","organizations_url":"https://api.github.com/users/YuZhiqiangX/orgs","repos_url":"https://api.github.com/users/YuZhiqiangX/repos","events_url":"https://api.github.com/users/YuZhiqiangX/events{/privacy}","received_events_url":"https://api.github.com/users/YuZhiqiangX/received_events","type":"User","site_admin":false},"repo":{"id":46327860,"name":"share","full_name":"YuZhiqiangX/share","owner":{"login":"YuZhiqiangX","id":5045069,"avatar_url":"https://avatars.githubusercontent.com/u/5045069?v=3","gravatar_id":"","url":"https://api.github.com/users/YuZhiqiangX","html_url":"https://github.com/YuZhiqiangX","followers_url":"https://api.github.com/users/YuZhiqiangX/followers","following_url":"https://api.github.com/users/YuZhiqiangX/following{/other_user}","gists_url":"https://api.github.com/users/YuZhiqiangX/gists{/gist_id}","starred_url":"https://api.github.com/users/YuZhiqiangX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuZhiqiangX/subscriptions","organizations_url":"https://api.github.com/users/YuZhiqiangX/orgs","repos_url":"https://api.github.com/users/YuZhiqiangX/repos","events_url":"https://api.github.com/users/YuZhiqiangX/events{/privacy}","received_events_url":"https://api.github.com/users/YuZhiqiangX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YuZhiqiangX/share","description":"Info Sharing","fork":true,"url":"https://api.github.com/repos/YuZhiqiangX/share","forks_url":"https://api.github.com/repos/YuZhiqiangX/share/forks","keys_url":"https://api.github.com/repos/YuZhiqiangX/share/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YuZhiqiangX/share/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YuZhiqiangX/share/teams","hooks_url":"https://api.github.com/repos/YuZhiqiangX/share/hooks","issue_events_url":"https://api.github.com/repos/YuZhiqiangX/share/issues/events{/number}","events_url":"https://api.github.com/repos/YuZhiqiangX/share/events","assignees_url":"https://api.github.com/repos/YuZhiqiangX/share/assignees{/user}","branches_url":"https://api.github.com/repos/YuZhiqiangX/share/branches{/branch}","tags_url":"https://api.github.com/repos/YuZhiqiangX/share/tags","blobs_url":"https://api.github.com/repos/YuZhiqiangX/share/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YuZhiqiangX/share/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YuZhiqiangX/share/git/refs{/sha}","trees_url":"https://api.github.com/repos/YuZhiqiangX/share/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YuZhiqiangX/share/statuses/{sha}","languages_url":"https://api.github.com/repos/YuZhiqiangX/share/languages","stargazers_url":"https://api.github.com/repos/YuZhiqiangX/share/stargazers","contributors_url":"https://api.github.com/repos/YuZhiqiangX/share/contributors","subscribers_url":"https://api.github.com/repos/YuZhiqiangX/share/subscribers","subscription_url":"https://api.github.com/repos/YuZhiqiangX/share/subscription","commits_url":"https://api.github.com/repos/YuZhiqiangX/share/commits{/sha}","git_commits_url":"https://api.github.com/repos/YuZhiqiangX/share/git/commits{/sha}","comments_url":"https://api.github.com/repos/YuZhiqiangX/share/comments{/number}","issue_comment_url":"https://api.github.com/repos/YuZhiqiangX/share/issues/comments{/number}","contents_url":"https://api.github.com/repos/YuZhiqiangX/share/contents/{+path}","compare_url":"https://api.github.com/repos/YuZhiqiangX/share/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YuZhiqiangX/share/merges","archive_url":"https://api.github.com/repos/YuZhiqiangX/share/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YuZhiqiangX/share/downloads","issues_url":"https://api.github.com/repos/YuZhiqiangX/share/issues{/number}","pulls_url":"https://api.github.com/repos/YuZhiqiangX/share/pulls{/number}","milestones_url":"https://api.github.com/repos/YuZhiqiangX/share/milestones{/number}","notifications_url":"https://api.github.com/repos/YuZhiqiangX/share/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YuZhiqiangX/share/labels{/name}","releases_url":"https://api.github.com/repos/YuZhiqiangX/share/releases{/id}","created_at":"2015-11-17T06:31:33Z","updated_at":"2015-11-17T06:31:37Z","pushed_at":"2015-11-18T02:02:51Z","git_url":"git://github.com/YuZhiqiangX/share.git","ssh_url":"git@github.com:YuZhiqiangX/share.git","clone_url":"https://github.com/YuZhiqiangX/share.git","svn_url":"https://github.com/YuZhiqiangX/share","homepage":"","size":84298,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"gyagp:master","ref":"master","sha":"33a87c58ca0520b66004c26c7426f5f826182442","user":{"login":"gyagp","id":218432,"avatar_url":"https://avatars.githubusercontent.com/u/218432?v=3","gravatar_id":"","url":"https://api.github.com/users/gyagp","html_url":"https://github.com/gyagp","followers_url":"https://api.github.com/users/gyagp/followers","following_url":"https://api.github.com/users/gyagp/following{/other_user}","gists_url":"https://api.github.com/users/gyagp/gists{/gist_id}","starred_url":"https://api.github.com/users/gyagp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyagp/subscriptions","organizations_url":"https://api.github.com/users/gyagp/orgs","repos_url":"https://api.github.com/users/gyagp/repos","events_url":"https://api.github.com/users/gyagp/events{/privacy}","received_events_url":"https://api.github.com/users/gyagp/received_events","type":"User","site_admin":false},"repo":{"id":4382685,"name":"share","full_name":"gyagp/share","owner":{"login":"gyagp","id":218432,"avatar_url":"https://avatars.githubusercontent.com/u/218432?v=3","gravatar_id":"","url":"https://api.github.com/users/gyagp","html_url":"https://github.com/gyagp","followers_url":"https://api.github.com/users/gyagp/followers","following_url":"https://api.github.com/users/gyagp/following{/other_user}","gists_url":"https://api.github.com/users/gyagp/gists{/gist_id}","starred_url":"https://api.github.com/users/gyagp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyagp/subscriptions","organizations_url":"https://api.github.com/users/gyagp/orgs","repos_url":"https://api.github.com/users/gyagp/repos","events_url":"https://api.github.com/users/gyagp/events{/privacy}","received_events_url":"https://api.github.com/users/gyagp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gyagp/share","description":"Info Sharing","fork":false,"url":"https://api.github.com/repos/gyagp/share","forks_url":"https://api.github.com/repos/gyagp/share/forks","keys_url":"https://api.github.com/repos/gyagp/share/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gyagp/share/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gyagp/share/teams","hooks_url":"https://api.github.com/repos/gyagp/share/hooks","issue_events_url":"https://api.github.com/repos/gyagp/share/issues/events{/number}","events_url":"https://api.github.com/repos/gyagp/share/events","assignees_url":"https://api.github.com/repos/gyagp/share/assignees{/user}","branches_url":"https://api.github.com/repos/gyagp/share/branches{/branch}","tags_url":"https://api.github.com/repos/gyagp/share/tags","blobs_url":"https://api.github.com/repos/gyagp/share/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gyagp/share/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gyagp/share/git/refs{/sha}","trees_url":"https://api.github.com/repos/gyagp/share/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gyagp/share/statuses/{sha}","languages_url":"https://api.github.com/repos/gyagp/share/languages","stargazers_url":"https://api.github.com/repos/gyagp/share/stargazers","contributors_url":"https://api.github.com/repos/gyagp/share/contributors","subscribers_url":"https://api.github.com/repos/gyagp/share/subscribers","subscription_url":"https://api.github.com/repos/gyagp/share/subscription","commits_url":"https://api.github.com/repos/gyagp/share/commits{/sha}","git_commits_url":"https://api.github.com/repos/gyagp/share/git/commits{/sha}","comments_url":"https://api.github.com/repos/gyagp/share/comments{/number}","issue_comment_url":"https://api.github.com/repos/gyagp/share/issues/comments{/number}","contents_url":"https://api.github.com/repos/gyagp/share/contents/{+path}","compare_url":"https://api.github.com/repos/gyagp/share/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gyagp/share/merges","archive_url":"https://api.github.com/repos/gyagp/share/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gyagp/share/downloads","issues_url":"https://api.github.com/repos/gyagp/share/issues{/number}","pulls_url":"https://api.github.com/repos/gyagp/share/pulls{/number}","milestones_url":"https://api.github.com/repos/gyagp/share/milestones{/number}","notifications_url":"https://api.github.com/repos/gyagp/share/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gyagp/share/labels{/name}","releases_url":"https://api.github.com/repos/gyagp/share/releases{/id}","created_at":"2012-05-20T04:33:14Z","updated_at":"2015-10-10T02:57:40Z","pushed_at":"2015-11-18T02:02:52Z","git_url":"git://github.com/gyagp/share.git","ssh_url":"git@github.com:gyagp/share.git","clone_url":"https://github.com/gyagp/share.git","svn_url":"https://github.com/gyagp/share","homepage":"","size":82740,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":2,"forks":15,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gyagp/share/pulls/70"},"html":{"href":"https://github.com/gyagp/share/pull/70"},"issue":{"href":"https://api.github.com/repos/gyagp/share/issues/70"},"comments":{"href":"https://api.github.com/repos/gyagp/share/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/gyagp/share/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/gyagp/share/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gyagp/share/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/gyagp/share/statuses/6d27ea8542845baf44cbf95cf8eeb7a3e441e293"}}}}