{"action":"created","issue":{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1045","repository_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin","labels_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1045/labels{/name}","comments_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1045/comments","events_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1045/events","html_url":"https://github.com/thaliproject/Thali_CordovaPlugin/issues/1045","id":177010911,"number":1045,"title":"Create script to set up build environment","user":{"login":"yaronyg","id":1480964,"avatar_url":"https://avatars.githubusercontent.com/u/1480964?v=3","gravatar_id":"","url":"https://api.github.com/users/yaronyg","html_url":"https://github.com/yaronyg","followers_url":"https://api.github.com/users/yaronyg/followers","following_url":"https://api.github.com/users/yaronyg/following{/other_user}","gists_url":"https://api.github.com/users/yaronyg/gists{/gist_id}","starred_url":"https://api.github.com/users/yaronyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaronyg/subscriptions","organizations_url":"https://api.github.com/users/yaronyg/orgs","repos_url":"https://api.github.com/users/yaronyg/repos","events_url":"https://api.github.com/users/yaronyg/events{/privacy}","received_events_url":"https://api.github.com/users/yaronyg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"larryonoff","id":372616,"avatar_url":"https://avatars.githubusercontent.com/u/372616?v=3","gravatar_id":"","url":"https://api.github.com/users/larryonoff","html_url":"https://github.com/larryonoff","followers_url":"https://api.github.com/users/larryonoff/followers","following_url":"https://api.github.com/users/larryonoff/following{/other_user}","gists_url":"https://api.github.com/users/larryonoff/gists{/gist_id}","starred_url":"https://api.github.com/users/larryonoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larryonoff/subscriptions","organizations_url":"https://api.github.com/users/larryonoff/orgs","repos_url":"https://api.github.com/users/larryonoff/repos","events_url":"https://api.github.com/users/larryonoff/events{/privacy}","received_events_url":"https://api.github.com/users/larryonoff/received_events","type":"User","site_admin":false},"assignees":[{"login":"larryonoff","id":372616,"avatar_url":"https://avatars.githubusercontent.com/u/372616?v=3","gravatar_id":"","url":"https://api.github.com/users/larryonoff","html_url":"https://github.com/larryonoff","followers_url":"https://api.github.com/users/larryonoff/followers","following_url":"https://api.github.com/users/larryonoff/following{/other_user}","gists_url":"https://api.github.com/users/larryonoff/gists{/gist_id}","starred_url":"https://api.github.com/users/larryonoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larryonoff/subscriptions","organizations_url":"https://api.github.com/users/larryonoff/orgs","repos_url":"https://api.github.com/users/larryonoff/repos","events_url":"https://api.github.com/users/larryonoff/events{/privacy}","received_events_url":"https://api.github.com/users/larryonoff/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/milestones/8","html_url":"https://github.com/thaliproject/Thali_CordovaPlugin/milestones/V1","labels_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/milestones/8/labels","id":1922206,"number":8,"title":"V1","description":"This is the release after new infra where we tighten things down to the point that we can ship\r\n\r\n<!---\r\n@huboard:{\"order\":0.375}\r\n-->\r\n","creator":{"login":"yaronyg","id":1480964,"avatar_url":"https://avatars.githubusercontent.com/u/1480964?v=3","gravatar_id":"","url":"https://api.github.com/users/yaronyg","html_url":"https://github.com/yaronyg","followers_url":"https://api.github.com/users/yaronyg/followers","following_url":"https://api.github.com/users/yaronyg/following{/other_user}","gists_url":"https://api.github.com/users/yaronyg/gists{/gist_id}","starred_url":"https://api.github.com/users/yaronyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaronyg/subscriptions","organizations_url":"https://api.github.com/users/yaronyg/orgs","repos_url":"https://api.github.com/users/yaronyg/repos","events_url":"https://api.github.com/users/yaronyg/events{/privacy}","received_events_url":"https://api.github.com/users/yaronyg/received_events","type":"User","site_admin":false},"open_issues":88,"closed_issues":27,"state":"open","created_at":"2016-08-03T22:09:23Z","updated_at":"2016-09-26T23:31:10Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-09-14T20:24:22Z","updated_at":"2016-09-27T08:35:59Z","closed_at":null,"body":"This is the counterpart to thaliproject/Thali_CordovaPlugin#1028. In that bug we are validating that the build environment is set up correctly. This bug is to create the script that installs the environment correctly.\r\n\r\n- [ ] Make sure we install Android using brew\r\n- [ ] Make sure we set JAVA_HOME & ANDROID_HOME correctly\r\n- [ ] Make sure we put the tools and platform-tools sub-directories from Android into path"},"comment":{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/comments/249801783","html_url":"https://github.com/thaliproject/Thali_CordovaPlugin/issues/1045#issuecomment-249801783","issue_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1045","id":249801783,"user":{"login":"larryonoff","id":372616,"avatar_url":"https://avatars.githubusercontent.com/u/372616?v=3","gravatar_id":"","url":"https://api.github.com/users/larryonoff","html_url":"https://github.com/larryonoff","followers_url":"https://api.github.com/users/larryonoff/followers","following_url":"https://api.github.com/users/larryonoff/following{/other_user}","gists_url":"https://api.github.com/users/larryonoff/gists{/gist_id}","starred_url":"https://api.github.com/users/larryonoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larryonoff/subscriptions","organizations_url":"https://api.github.com/users/larryonoff/orgs","repos_url":"https://api.github.com/users/larryonoff/repos","events_url":"https://api.github.com/users/larryonoff/events{/privacy}","received_events_url":"https://api.github.com/users/larryonoff/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T08:35:59Z","updated_at":"2016-09-27T08:35:59Z","body":"> As for Android, I don't think it's that simple. First off, if they don't have Android then we should install it for them. But even if they do have Android they might not have the right versions of the build tools and platform in which case we need to help them update. Even if that 'help' is just issuing a text output telling them how to run 'android' and do it themselves.\r\n\r\nfor Android it looks super-easy now, see\r\n\r\nstep 1.\r\n```\r\nbrew install android-sdk\r\n```\r\n\r\nstep 2.\r\n```\r\nANDROID_BUILD_TOOLS_VERSION=24.0.2\r\nANDROID_PLATFORM_VERSION=21\r\n\r\necho \"y\" | android update sdk --no-ui --all --filter tools,platform-tools,extra-android-m2repository,extra-google-m2repository,build-tools-${ANDROID_BUILD_TOOLS_VERSION},android-${ANDROID_PLATFORM_VERSION}\r\n```"}}
{"actor":{"display_login":"larryonoff"}}