{"action":"opened","number":123,"pull_request":{"url":"https://api.github.com/repos/jonan/ForkHub/pulls/123","id":54185670,"html_url":"https://github.com/jonan/ForkHub/pull/123","diff_url":"https://github.com/jonan/ForkHub/pull/123.diff","patch_url":"https://github.com/jonan/ForkHub/pull/123.patch","issue_url":"https://api.github.com/repos/jonan/ForkHub/issues/123","number":123,"state":"open","locked":false,"title":"Version from git tag instead of hardcoded","user":{"login":"cryptobanana","id":1322972,"avatar_url":"https://avatars.githubusercontent.com/u/1322972?v=3","gravatar_id":"","url":"https://api.github.com/users/cryptobanana","html_url":"https://github.com/cryptobanana","followers_url":"https://api.github.com/users/cryptobanana/followers","following_url":"https://api.github.com/users/cryptobanana/following{/other_user}","gists_url":"https://api.github.com/users/cryptobanana/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptobanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptobanana/subscriptions","organizations_url":"https://api.github.com/users/cryptobanana/orgs","repos_url":"https://api.github.com/users/cryptobanana/repos","events_url":"https://api.github.com/users/cryptobanana/events{/privacy}","received_events_url":"https://api.github.com/users/cryptobanana/received_events","type":"User","site_admin":false},"body":"The version string displayed in the app should ideally be derived from the git tag (git describe --tag), and not defined statically in duplicate in the gradle config as a string. This pull request implements the above and includes a proof-of-concept for displaying the version on the LoginActivity View. Developers will further benefit from seeing a dynamically generated version that reflects the git commit id from which the build originates.\r\n\r\nNote: When the app is built from sources that have a git tag consistent with other release tags (i.e. \"ForkHub-v1.1.0\") the value of versionName will evaluate to the string representation of the tag.","created_at":"2015-12-19T20:12:57Z","updated_at":"2015-12-19T20:12:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04ffa595f7a1a2b248b64c4520d62ed197af30e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jonan/ForkHub/pulls/123/commits","review_comments_url":"https://api.github.com/repos/jonan/ForkHub/pulls/123/comments","review_comment_url":"https://api.github.com/repos/jonan/ForkHub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jonan/ForkHub/issues/123/comments","statuses_url":"https://api.github.com/repos/jonan/ForkHub/statuses/4f334a8fdcfc13b0c8613ded67593f38ff63b5a9","head":{"label":"cryptobanana:version_from_git_tag_instead_of_hardcoded","ref":"version_from_git_tag_instead_of_hardcoded","sha":"4f334a8fdcfc13b0c8613ded67593f38ff63b5a9","user":{"login":"cryptobanana","id":1322972,"avatar_url":"https://avatars.githubusercontent.com/u/1322972?v=3","gravatar_id":"","url":"https://api.github.com/users/cryptobanana","html_url":"https://github.com/cryptobanana","followers_url":"https://api.github.com/users/cryptobanana/followers","following_url":"https://api.github.com/users/cryptobanana/following{/other_user}","gists_url":"https://api.github.com/users/cryptobanana/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptobanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptobanana/subscriptions","organizations_url":"https://api.github.com/users/cryptobanana/orgs","repos_url":"https://api.github.com/users/cryptobanana/repos","events_url":"https://api.github.com/users/cryptobanana/events{/privacy}","received_events_url":"https://api.github.com/users/cryptobanana/received_events","type":"User","site_admin":false},"repo":{"id":48197444,"name":"ForkHub","full_name":"cryptobanana/ForkHub","owner":{"login":"cryptobanana","id":1322972,"avatar_url":"https://avatars.githubusercontent.com/u/1322972?v=3","gravatar_id":"","url":"https://api.github.com/users/cryptobanana","html_url":"https://github.com/cryptobanana","followers_url":"https://api.github.com/users/cryptobanana/followers","following_url":"https://api.github.com/users/cryptobanana/following{/other_user}","gists_url":"https://api.github.com/users/cryptobanana/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptobanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptobanana/subscriptions","organizations_url":"https://api.github.com/users/cryptobanana/orgs","repos_url":"https://api.github.com/users/cryptobanana/repos","events_url":"https://api.github.com/users/cryptobanana/events{/privacy}","received_events_url":"https://api.github.com/users/cryptobanana/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cryptobanana/ForkHub","description":"Fork of the GitHub Android App","fork":true,"url":"https://api.github.com/repos/cryptobanana/ForkHub","forks_url":"https://api.github.com/repos/cryptobanana/ForkHub/forks","keys_url":"https://api.github.com/repos/cryptobanana/ForkHub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cryptobanana/ForkHub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cryptobanana/ForkHub/teams","hooks_url":"https://api.github.com/repos/cryptobanana/ForkHub/hooks","issue_events_url":"https://api.github.com/repos/cryptobanana/ForkHub/issues/events{/number}","events_url":"https://api.github.com/repos/cryptobanana/ForkHub/events","assignees_url":"https://api.github.com/repos/cryptobanana/ForkHub/assignees{/user}","branches_url":"https://api.github.com/repos/cryptobanana/ForkHub/branches{/branch}","tags_url":"https://api.github.com/repos/cryptobanana/ForkHub/tags","blobs_url":"https://api.github.com/repos/cryptobanana/ForkHub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cryptobanana/ForkHub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cryptobanana/ForkHub/git/refs{/sha}","trees_url":"https://api.github.com/repos/cryptobanana/ForkHub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cryptobanana/ForkHub/statuses/{sha}","languages_url":"https://api.github.com/repos/cryptobanana/ForkHub/languages","stargazers_url":"https://api.github.com/repos/cryptobanana/ForkHub/stargazers","contributors_url":"https://api.github.com/repos/cryptobanana/ForkHub/contributors","subscribers_url":"https://api.github.com/repos/cryptobanana/ForkHub/subscribers","subscription_url":"https://api.github.com/repos/cryptobanana/ForkHub/subscription","commits_url":"https://api.github.com/repos/cryptobanana/ForkHub/commits{/sha}","git_commits_url":"https://api.github.com/repos/cryptobanana/ForkHub/git/commits{/sha}","comments_url":"https://api.github.com/repos/cryptobanana/ForkHub/comments{/number}","issue_comment_url":"https://api.github.com/repos/cryptobanana/ForkHub/issues/comments{/number}","contents_url":"https://api.github.com/repos/cryptobanana/ForkHub/contents/{+path}","compare_url":"https://api.github.com/repos/cryptobanana/ForkHub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cryptobanana/ForkHub/merges","archive_url":"https://api.github.com/repos/cryptobanana/ForkHub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cryptobanana/ForkHub/downloads","issues_url":"https://api.github.com/repos/cryptobanana/ForkHub/issues{/number}","pulls_url":"https://api.github.com/repos/cryptobanana/ForkHub/pulls{/number}","milestones_url":"https://api.github.com/repos/cryptobanana/ForkHub/milestones{/number}","notifications_url":"https://api.github.com/repos/cryptobanana/ForkHub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cryptobanana/ForkHub/labels{/name}","releases_url":"https://api.github.com/repos/cryptobanana/ForkHub/releases{/id}","created_at":"2015-12-17T20:46:03Z","updated_at":"2015-12-17T20:46:05Z","pushed_at":"2015-12-19T20:10:31Z","git_url":"git://github.com/cryptobanana/ForkHub.git","ssh_url":"git@github.com:cryptobanana/ForkHub.git","clone_url":"https://github.com/cryptobanana/ForkHub.git","svn_url":"https://github.com/cryptobanana/ForkHub","homepage":"https://play.google.com/store/apps/details?id=jp.forkhub","size":8793,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"jonan:master","ref":"master","sha":"2f087dfab73784ae6cb076fce7d1297c66971697","user":{"login":"jonan","id":1110193,"avatar_url":"https://avatars.githubusercontent.com/u/1110193?v=3","gravatar_id":"","url":"https://api.github.com/users/jonan","html_url":"https://github.com/jonan","followers_url":"https://api.github.com/users/jonan/followers","following_url":"https://api.github.com/users/jonan/following{/other_user}","gists_url":"https://api.github.com/users/jonan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonan/subscriptions","organizations_url":"https://api.github.com/users/jonan/orgs","repos_url":"https://api.github.com/users/jonan/repos","events_url":"https://api.github.com/users/jonan/events{/privacy}","received_events_url":"https://api.github.com/users/jonan/received_events","type":"User","site_admin":false},"repo":{"id":25295238,"name":"ForkHub","full_name":"jonan/ForkHub","owner":{"login":"jonan","id":1110193,"avatar_url":"https://avatars.githubusercontent.com/u/1110193?v=3","gravatar_id":"","url":"https://api.github.com/users/jonan","html_url":"https://github.com/jonan","followers_url":"https://api.github.com/users/jonan/followers","following_url":"https://api.github.com/users/jonan/following{/other_user}","gists_url":"https://api.github.com/users/jonan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonan/subscriptions","organizations_url":"https://api.github.com/users/jonan/orgs","repos_url":"https://api.github.com/users/jonan/repos","events_url":"https://api.github.com/users/jonan/events{/privacy}","received_events_url":"https://api.github.com/users/jonan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonan/ForkHub","description":"Fork of the GitHub Android App","fork":false,"url":"https://api.github.com/repos/jonan/ForkHub","forks_url":"https://api.github.com/repos/jonan/ForkHub/forks","keys_url":"https://api.github.com/repos/jonan/ForkHub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonan/ForkHub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonan/ForkHub/teams","hooks_url":"https://api.github.com/repos/jonan/ForkHub/hooks","issue_events_url":"https://api.github.com/repos/jonan/ForkHub/issues/events{/number}","events_url":"https://api.github.com/repos/jonan/ForkHub/events","assignees_url":"https://api.github.com/repos/jonan/ForkHub/assignees{/user}","branches_url":"https://api.github.com/repos/jonan/ForkHub/branches{/branch}","tags_url":"https://api.github.com/repos/jonan/ForkHub/tags","blobs_url":"https://api.github.com/repos/jonan/ForkHub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonan/ForkHub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonan/ForkHub/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonan/ForkHub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonan/ForkHub/statuses/{sha}","languages_url":"https://api.github.com/repos/jonan/ForkHub/languages","stargazers_url":"https://api.github.com/repos/jonan/ForkHub/stargazers","contributors_url":"https://api.github.com/repos/jonan/ForkHub/contributors","subscribers_url":"https://api.github.com/repos/jonan/ForkHub/subscribers","subscription_url":"https://api.github.com/repos/jonan/ForkHub/subscription","commits_url":"https://api.github.com/repos/jonan/ForkHub/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonan/ForkHub/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonan/ForkHub/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonan/ForkHub/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonan/ForkHub/contents/{+path}","compare_url":"https://api.github.com/repos/jonan/ForkHub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonan/ForkHub/merges","archive_url":"https://api.github.com/repos/jonan/ForkHub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonan/ForkHub/downloads","issues_url":"https://api.github.com/repos/jonan/ForkHub/issues{/number}","pulls_url":"https://api.github.com/repos/jonan/ForkHub/pulls{/number}","milestones_url":"https://api.github.com/repos/jonan/ForkHub/milestones{/number}","notifications_url":"https://api.github.com/repos/jonan/ForkHub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonan/ForkHub/labels{/name}","releases_url":"https://api.github.com/repos/jonan/ForkHub/releases{/id}","created_at":"2014-10-16T09:27:40Z","updated_at":"2015-12-19T11:13:40Z","pushed_at":"2015-12-19T20:12:57Z","git_url":"git://github.com/jonan/ForkHub.git","ssh_url":"git@github.com:jonan/ForkHub.git","clone_url":"https://github.com/jonan/ForkHub.git","svn_url":"https://github.com/jonan/ForkHub","homepage":"https://play.google.com/store/apps/details?id=jp.forkhub","size":8846,"stargazers_count":201,"watchers_count":201,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":56,"forks":49,"open_issues":56,"watchers":201,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jonan/ForkHub/pulls/123"},"html":{"href":"https://github.com/jonan/ForkHub/pull/123"},"issue":{"href":"https://api.github.com/repos/jonan/ForkHub/issues/123"},"comments":{"href":"https://api.github.com/repos/jonan/ForkHub/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/jonan/ForkHub/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/jonan/ForkHub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jonan/ForkHub/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/jonan/ForkHub/statuses/4f334a8fdcfc13b0c8613ded67593f38ff63b5a9"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":34,"deletions":2,"changed_files":3}}