{"action":"created","comment":{"url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/comments/298188044","pull_request_review_id":255222953,"id":298188044,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5ODE4ODA0NA==","diff_hunk":"@@ -151,6 +155,46 @@ func updateNDK(revision string) error {\n \treturn nil\n }\n \n+func unWrapNDKDirIfNeeded(ndkHome string, revision string) error {\n+\tplatformDirName := \"platforms\"\n+\tplatformDir := filepath.Join(ndkHome, platformDirName)\n+\tp, err := pathutil.IsDirExists(platformDir)\n+\tif err != nil {","path":"main.go","position":28,"original_position":28,"commit_id":"43714b8df7ce3f58bc31f85e89c13a64bf5521b3","original_commit_id":"43714b8df7ce3f58bc31f85e89c13a64bf5521b3","user":{"login":"trapacska","id":1564933,"node_id":"MDQ6VXNlcjE1NjQ5MzM=","avatar_url":"https://avatars2.githubusercontent.com/u/1564933?v=4","gravatar_id":"","url":"https://api.github.com/users/trapacska","html_url":"https://github.com/trapacska","followers_url":"https://api.github.com/users/trapacska/followers","following_url":"https://api.github.com/users/trapacska/following{/other_user}","gists_url":"https://api.github.com/users/trapacska/gists{/gist_id}","starred_url":"https://api.github.com/users/trapacska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trapacska/subscriptions","organizations_url":"https://api.github.com/users/trapacska/orgs","repos_url":"https://api.github.com/users/trapacska/repos","events_url":"https://api.github.com/users/trapacska/events{/privacy}","received_events_url":"https://api.github.com/users/trapacska/received_events","type":"User","site_admin":false},"body":"This can be merged to the if above.","created_at":"2019-06-27T13:51:10Z","updated_at":"2019-06-27T13:56:59Z","html_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools/pull/54#discussion_r298188044","pull_request_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/54","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/comments/298188044"},"html":{"href":"https://github.com/bitrise-steplib/steps-install-missing-android-tools/pull/54#discussion_r298188044"},"pull_request":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/54","id":292383737,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkyMzgzNzM3","html_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools/pull/54","diff_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools/pull/54.diff","patch_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools/pull/54.patch","issue_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues/54","number":54,"state":"open","locked":false,"title":"Fixed missing NDK dir issue","user":{"login":"richard-bogdan-bitrise","id":51914448,"node_id":"MDQ6VXNlcjUxOTE0NDQ4","avatar_url":"https://avatars3.githubusercontent.com/u/51914448?v=4","gravatar_id":"","url":"https://api.github.com/users/richard-bogdan-bitrise","html_url":"https://github.com/richard-bogdan-bitrise","followers_url":"https://api.github.com/users/richard-bogdan-bitrise/followers","following_url":"https://api.github.com/users/richard-bogdan-bitrise/following{/other_user}","gists_url":"https://api.github.com/users/richard-bogdan-bitrise/gists{/gist_id}","starred_url":"https://api.github.com/users/richard-bogdan-bitrise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richard-bogdan-bitrise/subscriptions","organizations_url":"https://api.github.com/users/richard-bogdan-bitrise/orgs","repos_url":"https://api.github.com/users/richard-bogdan-bitrise/repos","events_url":"https://api.github.com/users/richard-bogdan-bitrise/events{/privacy}","received_events_url":"https://api.github.com/users/richard-bogdan-bitrise/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-06-27T11:10:17Z","updated_at":"2019-06-27T13:56:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fcd28985889993fbae80960921ef4965b878a545","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/54/commits","review_comments_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/54/comments","review_comment_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues/54/comments","statuses_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/statuses/43714b8df7ce3f58bc31f85e89c13a64bf5521b3","head":{"label":"bitrise-steplib:TOOL-67","ref":"TOOL-67","sha":"43714b8df7ce3f58bc31f85e89c13a64bf5521b3","user":{"login":"bitrise-steplib","id":16227531,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjI3NTMx","avatar_url":"https://avatars3.githubusercontent.com/u/16227531?v=4","gravatar_id":"","url":"https://api.github.com/users/bitrise-steplib","html_url":"https://github.com/bitrise-steplib","followers_url":"https://api.github.com/users/bitrise-steplib/followers","following_url":"https://api.github.com/users/bitrise-steplib/following{/other_user}","gists_url":"https://api.github.com/users/bitrise-steplib/gists{/gist_id}","starred_url":"https://api.github.com/users/bitrise-steplib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitrise-steplib/subscriptions","organizations_url":"https://api.github.com/users/bitrise-steplib/orgs","repos_url":"https://api.github.com/users/bitrise-steplib/repos","events_url":"https://api.github.com/users/bitrise-steplib/events{/privacy}","received_events_url":"https://api.github.com/users/bitrise-steplib/received_events","type":"Organization","site_admin":false},"repo":{"id":62817146,"node_id":"MDEwOlJlcG9zaXRvcnk2MjgxNzE0Ng==","name":"steps-install-missing-android-tools","full_name":"bitrise-steplib/steps-install-missing-android-tools","private":false,"owner":{"login":"bitrise-steplib","id":16227531,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjI3NTMx","avatar_url":"https://avatars3.githubusercontent.com/u/16227531?v=4","gravatar_id":"","url":"https://api.github.com/users/bitrise-steplib","html_url":"https://github.com/bitrise-steplib","followers_url":"https://api.github.com/users/bitrise-steplib/followers","following_url":"https://api.github.com/users/bitrise-steplib/following{/other_user}","gists_url":"https://api.github.com/users/bitrise-steplib/gists{/gist_id}","starred_url":"https://api.github.com/users/bitrise-steplib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitrise-steplib/subscriptions","organizations_url":"https://api.github.com/users/bitrise-steplib/orgs","repos_url":"https://api.github.com/users/bitrise-steplib/repos","events_url":"https://api.github.com/users/bitrise-steplib/events{/privacy}","received_events_url":"https://api.github.com/users/bitrise-steplib/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools","description":null,"fork":false,"url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools","forks_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/forks","keys_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/teams","hooks_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/hooks","issue_events_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues/events{/number}","events_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/events","assignees_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/assignees{/user}","branches_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/branches{/branch}","tags_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/tags","blobs_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/languages","stargazers_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/stargazers","contributors_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/contributors","subscribers_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/subscribers","subscription_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/subscription","commits_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/contents/{+path}","compare_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/merges","archive_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/downloads","issues_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues{/number}","pulls_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/labels{/name}","releases_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/releases{/id}","deployments_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/deployments","created_at":"2016-07-07T15:19:42Z","updated_at":"2019-03-18T14:30:13Z","pushed_at":"2019-06-27T11:58:41Z","git_url":"git://github.com/bitrise-steplib/steps-install-missing-android-tools.git","ssh_url":"git@github.com:bitrise-steplib/steps-install-missing-android-tools.git","clone_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools.git","svn_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools","homepage":null,"size":3659,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":6,"watchers":7,"default_branch":"master"}},"base":{"label":"bitrise-steplib:master","ref":"master","sha":"459d4ac2745b3b10ec383bff32eca8214cd816b8","user":{"login":"bitrise-steplib","id":16227531,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjI3NTMx","avatar_url":"https://avatars3.githubusercontent.com/u/16227531?v=4","gravatar_id":"","url":"https://api.github.com/users/bitrise-steplib","html_url":"https://github.com/bitrise-steplib","followers_url":"https://api.github.com/users/bitrise-steplib/followers","following_url":"https://api.github.com/users/bitrise-steplib/following{/other_user}","gists_url":"https://api.github.com/users/bitrise-steplib/gists{/gist_id}","starred_url":"https://api.github.com/users/bitrise-steplib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitrise-steplib/subscriptions","organizations_url":"https://api.github.com/users/bitrise-steplib/orgs","repos_url":"https://api.github.com/users/bitrise-steplib/repos","events_url":"https://api.github.com/users/bitrise-steplib/events{/privacy}","received_events_url":"https://api.github.com/users/bitrise-steplib/received_events","type":"Organization","site_admin":false},"repo":{"id":62817146,"node_id":"MDEwOlJlcG9zaXRvcnk2MjgxNzE0Ng==","name":"steps-install-missing-android-tools","full_name":"bitrise-steplib/steps-install-missing-android-tools","private":false,"owner":{"login":"bitrise-steplib","id":16227531,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjI3NTMx","avatar_url":"https://avatars3.githubusercontent.com/u/16227531?v=4","gravatar_id":"","url":"https://api.github.com/users/bitrise-steplib","html_url":"https://github.com/bitrise-steplib","followers_url":"https://api.github.com/users/bitrise-steplib/followers","following_url":"https://api.github.com/users/bitrise-steplib/following{/other_user}","gists_url":"https://api.github.com/users/bitrise-steplib/gists{/gist_id}","starred_url":"https://api.github.com/users/bitrise-steplib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitrise-steplib/subscriptions","organizations_url":"https://api.github.com/users/bitrise-steplib/orgs","repos_url":"https://api.github.com/users/bitrise-steplib/repos","events_url":"https://api.github.com/users/bitrise-steplib/events{/privacy}","received_events_url":"https://api.github.com/users/bitrise-steplib/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools","description":null,"fork":false,"url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools","forks_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/forks","keys_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/teams","hooks_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/hooks","issue_events_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues/events{/number}","events_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/events","assignees_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/assignees{/user}","branches_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/branches{/branch}","tags_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/tags","blobs_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/languages","stargazers_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/stargazers","contributors_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/contributors","subscribers_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/subscribers","subscription_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/subscription","commits_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/contents/{+path}","compare_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/merges","archive_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/downloads","issues_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues{/number}","pulls_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/labels{/name}","releases_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/releases{/id}","deployments_url":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/deployments","created_at":"2016-07-07T15:19:42Z","updated_at":"2019-03-18T14:30:13Z","pushed_at":"2019-06-27T11:58:41Z","git_url":"git://github.com/bitrise-steplib/steps-install-missing-android-tools.git","ssh_url":"git@github.com:bitrise-steplib/steps-install-missing-android-tools.git","clone_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools.git","svn_url":"https://github.com/bitrise-steplib/steps-install-missing-android-tools","homepage":null,"size":3659,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":6,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/54"},"html":{"href":"https://github.com/bitrise-steplib/steps-install-missing-android-tools/pull/54"},"issue":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues/54"},"comments":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/bitrise-steplib/steps-install-missing-android-tools/statuses/43714b8df7ce3f58bc31f85e89c13a64bf5521b3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"trapacska"}}