{"action":"created","issue":{"url":"https://api.github.com/repos/poise/application_ruby/issues/89","repository_url":"https://api.github.com/repos/poise/application_ruby","labels_url":"https://api.github.com/repos/poise/application_ruby/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/poise/application_ruby/issues/89/comments","events_url":"https://api.github.com/repos/poise/application_ruby/issues/89/events","html_url":"https://github.com/poise/application_ruby/issues/89","id":194348789,"number":89,"title":"Specify branch, tag, or revision for git clone","user":{"login":"daharon","id":32561,"avatar_url":"https://avatars.githubusercontent.com/u/32561?v=3","gravatar_id":"","url":"https://api.github.com/users/daharon","html_url":"https://github.com/daharon","followers_url":"https://api.github.com/users/daharon/followers","following_url":"https://api.github.com/users/daharon/following{/other_user}","gists_url":"https://api.github.com/users/daharon/gists{/gist_id}","starred_url":"https://api.github.com/users/daharon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daharon/subscriptions","organizations_url":"https://api.github.com/users/daharon/orgs","repos_url":"https://api.github.com/users/daharon/repos","events_url":"https://api.github.com/users/daharon/events{/privacy}","received_events_url":"https://api.github.com/users/daharon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-08T14:26:33Z","updated_at":"2016-12-08T14:40:59Z","closed_at":"2016-12-08T14:40:59Z","body":"I want to use the `application` resource in such a way that I can specify the tag to clone using Git.\r\nLike so:\r\n```ruby\r\napplication '/srv/my-app' do\r\n  git 'https://github.com/daharon/my-app.git' do\r\n    revision 'v1.0.0'  # A git tag.\r\n  end\r\n\r\n  bundle_install\r\n  rails\r\n  unicorn\r\nend\r\n``` \r\nThe above fails, though.\r\n\r\nHow can I specify the tag or commit hash of the Git repository that I wish to clone?"},"comment":{"url":"https://api.github.com/repos/poise/application_ruby/issues/comments/265755513","html_url":"https://github.com/poise/application_ruby/issues/89#issuecomment-265755513","issue_url":"https://api.github.com/repos/poise/application_ruby/issues/89","id":265755513,"user":{"login":"coderanger","id":128243,"avatar_url":"https://avatars.githubusercontent.com/u/128243?v=3","gravatar_id":"","url":"https://api.github.com/users/coderanger","html_url":"https://github.com/coderanger","followers_url":"https://api.github.com/users/coderanger/followers","following_url":"https://api.github.com/users/coderanger/following{/other_user}","gists_url":"https://api.github.com/users/coderanger/gists{/gist_id}","starred_url":"https://api.github.com/users/coderanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderanger/subscriptions","organizations_url":"https://api.github.com/users/coderanger/orgs","repos_url":"https://api.github.com/users/coderanger/repos","events_url":"https://api.github.com/users/coderanger/events{/privacy}","received_events_url":"https://api.github.com/users/coderanger/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T14:40:59Z","updated_at":"2016-12-08T14:40:59Z","body":"You need to depend on `application_git` too if you want to use the shorter syntax."}}
{"actor":{"display_login":"coderanger"}}