GitHub PullRequestEvent at 2014-04-28 01:14:39
Repository: calabash-ios
Actor: jmoody
Payload: {"action":"opened","number":359,"pull_request":{"url":"https://api.github.com/repos/calabash/calabash-ios/pulls/359","id":15218089,"html_url":"https://github.com/calabash/calabash-ios/pull/359","diff_url":"https://github.com/calabash/calabash-ios/pull/359.diff","patch_url":"https://github.com/calabash/calabash-ios/pull/359.patch","issue_url":"https://api.github.com/repos/calabash/calabash-ios/issues/359","number":359,"state":"open","title":"should be able to reset the simulator content and settings","user":{"login":"jmoody","id":466104,"avatar_url":"https://avatars.githubusercontent.com/u/466104?","gravatar_id":"3fcea18e8fa7f6f5016b38ac97be13f7","url":"https://api.github.com/users/jmoody","html_url":"https://github.com/jmoody","followers_url":"https://api.github.com/users/jmoody/followers","following_url":"https://api.github.com/users/jmoody/following{/other_user}","gists_url":"https://api.github.com/users/jmoody/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoody/subscriptions","organizations_url":"https://api.github.com/users/jmoody/orgs","repos_url":"https://api.github.com/users/jmoody/repos","events_url":"https://api.github.com/users/jmoody/events{/privacy}","received_events_url":"https://api.github.com/users/jmoody/received_events","type":"User","site_admin":false},"body":"## motivation\r\n\r\n- [ ] @krukow needs review\r\n\r\nThe applescript implementation was not working for iOS 6.1 - the 'Reset' button was not touched.  This script also installed \"EmptyAppHack.app\" on each of the available iOS SDKs which was very strange.\r\n\r\nThe reset can be done without the UI.\r\n\r\n```\r\n      # resets the simulator content and settings.  it is analogous to touching\r\n      # the menu item.\r\n      #\r\n      # it works by deleting the following directories:\r\n      #\r\n      # * ~/Library/Application Support/iPhone Simulator/Library\r\n      # * ~/Library/Application Support/iPhone Simulator/Library/<sdk>[-64]\r\n      #\r\n      # at the next launch of the iOS Simulator these directories will be\r\n      # recreated.\r\n```\r\n\r\nThis is a little controversial:\r\n\r\n* we are deleting files from the user's drive\r\n* it is not clear that this will work on future versions of Xcode\r\n\r\nI actually think that this command should be deprecated.\r\n\r\nLet another tool (like briar, ios-sim, or xctool) handle this.  I don't believe that this is essential to the calabash-ios workflow.\r\n","created_at":"2014-04-28T01:14:38Z","updated_at":"2014-04-28T01:14:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/calabash/calabash-ios/pulls/359/commits","review_comments_url":"https://api.github.com/repos/calabash/calabash-ios/pulls/359/comments","review_comment_url":"https://api.github.com/repos/calabash/calabash-ios/pulls/comments/{number}","comments_url":"https://api.github.com/repos/calabash/calabash-ios/issues/359/comments","statuses_url":"https://api.github.com/repos/calabash/calabash-ios/statuses/fb0dcc561bb5b94d4a660c5afd27a278ec6b7a4b","head":{"label":"calabash:fix/reset-simulator","ref":"fix/reset-simulator","sha":"fb0dcc561bb5b94d4a660c5afd27a278ec6b7a4b","user":{"login":"calabash","id":1325677,"avatar_url":"https://avatars.githubusercontent.com/u/1325677?","gravatar_id":"fef457e5b22f88fd9c86fd10c91beade","url":"https://api.github.com/users/calabash","html_url":"https://github.com/calabash","followers_url":"https://api.github.com/users/calabash/followers","following_url":"https://api.github.com/users/calabash/following{/other_user}","gists_url":"https://api.github.com/users/calabash/gists{/gist_id}","starred_url":"https://api.github.com/users/calabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calabash/subscriptions","organizations_url":"https://api.github.com/users/calabash/orgs","repos_url":"https://api.github.com/users/calabash/repos","events_url":"https://api.github.com/users/calabash/events{/privacy}","received_events_url":"https://api.github.com/users/calabash/received_events","type":"Organization","site_admin":false},"repo":{"id":3610323,"name":"calabash-ios","full_name":"calabash/calabash-ios","owner":{"login":"calabash","id":1325677,"avatar_url":"https://avatars.githubusercontent.com/u/1325677?","gravatar_id":"fef457e5b22f88fd9c86fd10c91beade","url":"https://api.github.com/users/calabash","html_url":"https://github.com/calabash","followers_url":"https://api.github.com/users/calabash/followers","following_url":"https://api.github.com/users/calabash/following{/other_user}","gists_url":"https://api.github.com/users/calabash/gists{/gist_id}","starred_url":"https://api.github.com/users/calabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calabash/subscriptions","organizations_url":"https://api.github.com/users/calabash/orgs","repos_url":"https://api.github.com/users/calabash/repos","events_url":"https://api.github.com/users/calabash/events{/privacy}","received_events_url":"https://api.github.com/users/calabash/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calabash/calabash-ios","description":"Calabash for iOS","fork":false,"url":"https://api.github.com/repos/calabash/calabash-ios","forks_url":"https://api.github.com/repos/calabash/calabash-ios/forks","keys_url":"https://api.github.com/repos/calabash/calabash-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calabash/calabash-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calabash/calabash-ios/teams","hooks_url":"https://api.github.com/repos/calabash/calabash-ios/hooks","issue_events_url":"https://api.github.com/repos/calabash/calabash-ios/issues/events{/number}","events_url":"https://api.github.com/repos/calabash/calabash-ios/events","assignees_url":"https://api.github.com/repos/calabash/calabash-ios/assignees{/user}","branches_url":"https://api.github.com/repos/calabash/calabash-ios/branches{/branch}","tags_url":"https://api.github.com/repos/calabash/calabash-ios/tags","blobs_url":"https://api.github.com/repos/calabash/calabash-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calabash/calabash-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calabash/calabash-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/calabash/calabash-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calabash/calabash-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/calabash/calabash-ios/languages","stargazers_url":"https://api.github.com/repos/calabash/calabash-ios/stargazers","contributors_url":"https://api.github.com/repos/calabash/calabash-ios/contributors","subscribers_url":"https://api.github.com/repos/calabash/calabash-ios/subscribers","subscription_url":"https://api.github.com/repos/calabash/calabash-ios/subscription","commits_url":"https://api.github.com/repos/calabash/calabash-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/calabash/calabash-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/calabash/calabash-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/calabash/calabash-ios/issues/comments/{number}","contents_url":"https://api.github.com/repos/calabash/calabash-ios/contents/{+path}","compare_url":"https://api.github.com/repos/calabash/calabash-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calabash/calabash-ios/merges","archive_url":"https://api.github.com/repos/calabash/calabash-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calabash/calabash-ios/downloads","issues_url":"https://api.github.com/repos/calabash/calabash-ios/issues{/number}","pulls_url":"https://api.github.com/repos/calabash/calabash-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/calabash/calabash-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/calabash/calabash-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calabash/calabash-ios/labels{/name}","releases_url":"https://api.github.com/repos/calabash/calabash-ios/releases{/id}","created_at":"2012-03-03T11:52:47Z","updated_at":"2014-04-28T01:14:38Z","pushed_at":"2014-04-28T01:02:04Z","git_url":"git://github.com/calabash/calabash-ios.git","ssh_url":"git@github.com:calabash/calabash-ios.git","clone_url":"https://github.com/calabash/calabash-ios.git","svn_url":"https://github.com/calabash/calabash-ios","homepage":"https://github.com/calabash/calabash-ios","size":7575,"stargazers_count":702,"watchers_count":702,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":178,"mirror_url":null,"open_issues_count":31,"forks":178,"open_issues":31,"watchers":702,"default_branch":"master"}},"base":{"label":"calabash:master","ref":"master","sha":"78ef8f9b9b87ffcc4cfcc99d33fe52a3ce30ab9e","user":{"login":"calabash","id":1325677,"avatar_url":"https://avatars.githubusercontent.com/u/1325677?","gravatar_id":"fef457e5b22f88fd9c86fd10c91beade","url":"https://api.github.com/users/calabash","html_url":"https://github.com/calabash","followers_url":"https://api.github.com/users/calabash/followers","following_url":"https://api.github.com/users/calabash/following{/other_user}","gists_url":"https://api.github.com/users/calabash/gists{/gist_id}","starred_url":"https://api.github.com/users/calabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calabash/subscriptions","organizations_url":"https://api.github.com/users/calabash/orgs","repos_url":"https://api.github.com/users/calabash/repos","events_url":"https://api.github.com/users/calabash/events{/privacy}","received_events_url":"https://api.github.com/users/calabash/received_events","type":"Organization","site_admin":false},"repo":{"id":3610323,"name":"calabash-ios","full_name":"calabash/calabash-ios","owner":{"login":"calabash","id":1325677,"avatar_url":"https://avatars.githubusercontent.com/u/1325677?","gravatar_id":"fef457e5b22f88fd9c86fd10c91beade","url":"https://api.github.com/users/calabash","html_url":"https://github.com/calabash","followers_url":"https://api.github.com/users/calabash/followers","following_url":"https://api.github.com/users/calabash/following{/other_user}","gists_url":"https://api.github.com/users/calabash/gists{/gist_id}","starred_url":"https://api.github.com/users/calabash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calabash/subscriptions","organizations_url":"https://api.github.com/users/calabash/orgs","repos_url":"https://api.github.com/users/calabash/repos","events_url":"https://api.github.com/users/calabash/events{/privacy}","received_events_url":"https://api.github.com/users/calabash/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calabash/calabash-ios","description":"Calabash for iOS","fork":false,"url":"https://api.github.com/repos/calabash/calabash-ios","forks_url":"https://api.github.com/repos/calabash/calabash-ios/forks","keys_url":"https://api.github.com/repos/calabash/calabash-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calabash/calabash-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calabash/calabash-ios/teams","hooks_url":"https://api.github.com/repos/calabash/calabash-ios/hooks","issue_events_url":"https://api.github.com/repos/calabash/calabash-ios/issues/events{/number}","events_url":"https://api.github.com/repos/calabash/calabash-ios/events","assignees_url":"https://api.github.com/repos/calabash/calabash-ios/assignees{/user}","branches_url":"https://api.github.com/repos/calabash/calabash-ios/branches{/branch}","tags_url":"https://api.github.com/repos/calabash/calabash-ios/tags","blobs_url":"https://api.github.com/repos/calabash/calabash-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calabash/calabash-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calabash/calabash-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/calabash/calabash-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calabash/calabash-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/calabash/calabash-ios/languages","stargazers_url":"https://api.github.com/repos/calabash/calabash-ios/stargazers","contributors_url":"https://api.github.com/repos/calabash/calabash-ios/contributors","subscribers_url":"https://api.github.com/repos/calabash/calabash-ios/subscribers","subscription_url":"https://api.github.com/repos/calabash/calabash-ios/subscription","commits_url":"https://api.github.com/repos/calabash/calabash-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/calabash/calabash-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/calabash/calabash-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/calabash/calabash-ios/issues/comments/{number}","contents_url":"https://api.github.com/repos/calabash/calabash-ios/contents/{+path}","compare_url":"https://api.github.com/repos/calabash/calabash-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calabash/calabash-ios/merges","archive_url":"https://api.github.com/repos/calabash/calabash-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calabash/calabash-ios/downloads","issues_url":"https://api.github.com/repos/calabash/calabash-ios/issues{/number}","pulls_url":"https://api.github.com/repos/calabash/calabash-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/calabash/calabash-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/calabash/calabash-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calabash/calabash-ios/labels{/name}","releases_url":"https://api.github.com/repos/calabash/calabash-ios/releases{/id}","created_at":"2012-03-03T11:52:47Z","updated_at":"2014-04-28T01:14:38Z","pushed_at":"2014-04-28T01:02:04Z","git_url":"git://github.com/calabash/calabash-ios.git","ssh_url":"git@github.com:calabash/calabash-ios.git","clone_url":"https://github.com/calabash/calabash-ios.git","svn_url":"https://github.com/calabash/calabash-ios","homepage":"https://github.com/calabash/calabash-ios","size":7575,"stargazers_count":702,"watchers_count":702,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":178,"mirror_url":null,"open_issues_count":31,"forks":178,"open_issues":31,"watchers":702,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calabash/calabash-ios/pulls/359"},"html":{"href":"https://github.com/calabash/calabash-ios/pull/359"},"issue":{"href":"https://api.github.com/repos/calabash/calabash-ios/issues/359"},"comments":{"href":"https://api.github.com/repos/calabash/calabash-ios/issues/359/comments"},"review_comments":{"href":"https://api.github.com/repos/calabash/calabash-ios/pulls/359/comments"},"review_comment":{"href":"https://api.github.com/repos/calabash/calabash-ios/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/calabash/calabash-ios/pulls/359/commits"},"statuses":{"href":"https://api.github.com/repos/calabash/calabash-ios/statuses/fb0dcc561bb5b94d4a660c5afd27a278ec6b7a4b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":72,"deletions":49,"changed_files":6}}