{"action":"opened","number":201,"pull_request":{"url":"https://api.github.com/repos/calabash/calabash-ios-server/pulls/201","id":39340236,"html_url":"https://github.com/calabash/calabash-ios-server/pull/201","diff_url":"https://github.com/calabash/calabash-ios-server/pull/201.diff","patch_url":"https://github.com/calabash/calabash-ios-server/pull/201.patch","issue_url":"https://api.github.com/repos/calabash/calabash-ios-server/issues/201","number":201,"state":"open","locked":false,"title":"Version tool can return git revision","user":{"login":"jmoody","id":466104,"avatar_url":"https://avatars.githubusercontent.com/u/466104?v=3","gravatar_id":"","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\nIt is becoming difficult for me to keep track of the provenance of the framework and dylibs that are committed in various repos:\r\n\r\n* Briar iOS Example\r\n* Calabash iOS Smoke Test\r\n* Calabash WebView Test\r\n\r\nThis PR allows the calabash.framework/Resources/version tool to report the git revision details.\r\n\r\n```\r\n$ calabash.framework/Resources/version --revision ALL\r\ngit@github.com:calabash/calabash-ios-server.git feature/version-tool-can-return-git-revision 0c56b54\r\n```\r\n\r\nThere are no other options:  ALL is the only one.\r\n\r\n@sapieneptus @krukow @TobiasRoikjer\r\n\r\nThis might be of interest to you.   It is the same information that is output by `server_version`:\r\n\r\n```\r\n                        \"git\" => {\r\n             \"revision\" => \"b9af34a\",\r\n        \"remote_origin\" => \"git@github.com:calabash/calabash-ios-server.git\",\r\n               \"branch\" => \"feature/dylib-targets-must-call-git-revision-scripts\"\r\n    },\r\n```\r\n\r\nThis information is important:  we don't want to be debugging someone's custom build of the server.\r\n\r\n","created_at":"2015-07-07T06:58:38Z","updated_at":"2015-07-07T06:58: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-server/pulls/201/commits","review_comments_url":"https://api.github.com/repos/calabash/calabash-ios-server/pulls/201/comments","review_comment_url":"https://api.github.com/repos/calabash/calabash-ios-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/calabash/calabash-ios-server/issues/201/comments","statuses_url":"https://api.github.com/repos/calabash/calabash-ios-server/statuses/0c56b54a8d85db1aa838a0e43feec5b04377684b","head":{"label":"calabash:feature/version-tool-can-return-git-revision","ref":"feature/version-tool-can-return-git-revision","sha":"0c56b54a8d85db1aa838a0e43feec5b04377684b","user":{"login":"calabash","id":1325677,"avatar_url":"https://avatars.githubusercontent.com/u/1325677?v=3","gravatar_id":"","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":3192691,"name":"calabash-ios-server","full_name":"calabash/calabash-ios-server","owner":{"login":"calabash","id":1325677,"avatar_url":"https://avatars.githubusercontent.com/u/1325677?v=3","gravatar_id":"","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-server","description":"An embedded HTTP server for performing queries and gestures","fork":false,"url":"https://api.github.com/repos/calabash/calabash-ios-server","forks_url":"https://api.github.com/repos/calabash/calabash-ios-server/forks","keys_url":"https://api.github.com/repos/calabash/calabash-ios-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calabash/calabash-ios-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calabash/calabash-ios-server/teams","hooks_url":"https://api.github.com/repos/calabash/calabash-ios-server/hooks","issue_events_url":"https://api.github.com/repos/calabash/calabash-ios-server/issues/events{/number}","events_url":"https://api.github.com/repos/calabash/calabash-ios-server/events","assignees_url":"https://api.github.com/repos/calabash/calabash-ios-server/assignees{/user}","branches_url":"https://api.github.com/repos/calabash/calabash-ios-server/branches{/branch}","tags_url":"https://api.github.com/repos/calabash/calabash-ios-server/tags","blobs_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calabash/calabash-ios-server/statuses/{sha}","languages_url":"https://api.github.com/repos/calabash/calabash-ios-server/languages","stargazers_url":"https://api.github.com/repos/calabash/calabash-ios-server/stargazers","contributors_url":"https://api.github.com/repos/calabash/calabash-ios-server/contributors","subscribers_url":"https://api.github.com/repos/calabash/calabash-ios-server/subscribers","subscription_url":"https://api.github.com/repos/calabash/calabash-ios-server/subscription","commits_url":"https://api.github.com/repos/calabash/calabash-ios-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/calabash/calabash-ios-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/calabash/calabash-ios-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/calabash/calabash-ios-server/contents/{+path}","compare_url":"https://api.github.com/repos/calabash/calabash-ios-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calabash/calabash-ios-server/merges","archive_url":"https://api.github.com/repos/calabash/calabash-ios-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calabash/calabash-ios-server/downloads","issues_url":"https://api.github.com/repos/calabash/calabash-ios-server/issues{/number}","pulls_url":"https://api.github.com/repos/calabash/calabash-ios-server/pulls{/number}","milestones_url":"https://api.github.com/repos/calabash/calabash-ios-server/milestones{/number}","notifications_url":"https://api.github.com/repos/calabash/calabash-ios-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calabash/calabash-ios-server/labels{/name}","releases_url":"https://api.github.com/repos/calabash/calabash-ios-server/releases{/id}","created_at":"2012-01-16T17:56:20Z","updated_at":"2015-06-25T14:05:00Z","pushed_at":"2015-07-07T06:53:19Z","git_url":"git://github.com/calabash/calabash-ios-server.git","ssh_url":"git@github.com:calabash/calabash-ios-server.git","clone_url":"https://github.com/calabash/calabash-ios-server.git","svn_url":"https://github.com/calabash/calabash-ios-server","homepage":"https://github.com/calabash/calabash-ios","size":31357,"stargazers_count":53,"watchers_count":53,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":1,"forks":48,"open_issues":1,"watchers":53,"default_branch":"develop"}},"base":{"label":"calabash:develop","ref":"develop","sha":"b9af34a26248ac3c4f225d13a4c1f33485a7661f","user":{"login":"calabash","id":1325677,"avatar_url":"https://avatars.githubusercontent.com/u/1325677?v=3","gravatar_id":"","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":3192691,"name":"calabash-ios-server","full_name":"calabash/calabash-ios-server","owner":{"login":"calabash","id":1325677,"avatar_url":"https://avatars.githubusercontent.com/u/1325677?v=3","gravatar_id":"","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-server","description":"An embedded HTTP server for performing queries and gestures","fork":false,"url":"https://api.github.com/repos/calabash/calabash-ios-server","forks_url":"https://api.github.com/repos/calabash/calabash-ios-server/forks","keys_url":"https://api.github.com/repos/calabash/calabash-ios-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calabash/calabash-ios-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calabash/calabash-ios-server/teams","hooks_url":"https://api.github.com/repos/calabash/calabash-ios-server/hooks","issue_events_url":"https://api.github.com/repos/calabash/calabash-ios-server/issues/events{/number}","events_url":"https://api.github.com/repos/calabash/calabash-ios-server/events","assignees_url":"https://api.github.com/repos/calabash/calabash-ios-server/assignees{/user}","branches_url":"https://api.github.com/repos/calabash/calabash-ios-server/branches{/branch}","tags_url":"https://api.github.com/repos/calabash/calabash-ios-server/tags","blobs_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calabash/calabash-ios-server/statuses/{sha}","languages_url":"https://api.github.com/repos/calabash/calabash-ios-server/languages","stargazers_url":"https://api.github.com/repos/calabash/calabash-ios-server/stargazers","contributors_url":"https://api.github.com/repos/calabash/calabash-ios-server/contributors","subscribers_url":"https://api.github.com/repos/calabash/calabash-ios-server/subscribers","subscription_url":"https://api.github.com/repos/calabash/calabash-ios-server/subscription","commits_url":"https://api.github.com/repos/calabash/calabash-ios-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/calabash/calabash-ios-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/calabash/calabash-ios-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/calabash/calabash-ios-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/calabash/calabash-ios-server/contents/{+path}","compare_url":"https://api.github.com/repos/calabash/calabash-ios-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calabash/calabash-ios-server/merges","archive_url":"https://api.github.com/repos/calabash/calabash-ios-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calabash/calabash-ios-server/downloads","issues_url":"https://api.github.com/repos/calabash/calabash-ios-server/issues{/number}","pulls_url":"https://api.github.com/repos/calabash/calabash-ios-server/pulls{/number}","milestones_url":"https://api.github.com/repos/calabash/calabash-ios-server/milestones{/number}","notifications_url":"https://api.github.com/repos/calabash/calabash-ios-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calabash/calabash-ios-server/labels{/name}","releases_url":"https://api.github.com/repos/calabash/calabash-ios-server/releases{/id}","created_at":"2012-01-16T17:56:20Z","updated_at":"2015-06-25T14:05:00Z","pushed_at":"2015-07-07T06:53:19Z","git_url":"git://github.com/calabash/calabash-ios-server.git","ssh_url":"git@github.com:calabash/calabash-ios-server.git","clone_url":"https://github.com/calabash/calabash-ios-server.git","svn_url":"https://github.com/calabash/calabash-ios-server","homepage":"https://github.com/calabash/calabash-ios","size":31357,"stargazers_count":53,"watchers_count":53,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":1,"forks":48,"open_issues":1,"watchers":53,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/calabash/calabash-ios-server/pulls/201"},"html":{"href":"https://github.com/calabash/calabash-ios-server/pull/201"},"issue":{"href":"https://api.github.com/repos/calabash/calabash-ios-server/issues/201"},"comments":{"href":"https://api.github.com/repos/calabash/calabash-ios-server/issues/201/comments"},"review_comments":{"href":"https://api.github.com/repos/calabash/calabash-ios-server/pulls/201/comments"},"review_comment":{"href":"https://api.github.com/repos/calabash/calabash-ios-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/calabash/calabash-ios-server/pulls/201/commits"},"statuses":{"href":"https://api.github.com/repos/calabash/calabash-ios-server/statuses/0c56b54a8d85db1aa838a0e43feec5b04377684b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":125,"deletions":10,"changed_files":5}}