{"action":"created","issue":{"url":"https://api.github.com/repos/ansistrano/deploy/issues/101","repository_url":"https://api.github.com/repos/ansistrano/deploy","labels_url":"https://api.github.com/repos/ansistrano/deploy/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/ansistrano/deploy/issues/101/comments","events_url":"https://api.github.com/repos/ansistrano/deploy/issues/101/events","html_url":"https://github.com/ansistrano/deploy/pull/101","id":142454342,"number":101,"title":"download strategy","user":{"login":"ricardclau","id":613725,"avatar_url":"https://avatars.githubusercontent.com/u/613725?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardclau","html_url":"https://github.com/ricardclau","followers_url":"https://api.github.com/users/ricardclau/followers","following_url":"https://api.github.com/users/ricardclau/following{/other_user}","gists_url":"https://api.github.com/users/ricardclau/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardclau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardclau/subscriptions","organizations_url":"https://api.github.com/users/ricardclau/orgs","repos_url":"https://api.github.com/users/ricardclau/repos","events_url":"https://api.github.com/users/ricardclau/events{/privacy}","received_events_url":"https://api.github.com/users/ricardclau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-21T20:01:47Z","updated_at":"2016-03-22T09:07:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansistrano/deploy/pulls/101","html_url":"https://github.com/ansistrano/deploy/pull/101","diff_url":"https://github.com/ansistrano/deploy/pull/101.diff","patch_url":"https://github.com/ansistrano/deploy/pull/101.patch"},"body":"Should cover #100 and should be a replacement for #35 \r\n\r\n@kvz can you please have a look at this and tell us what you think?"},"comment":{"url":"https://api.github.com/repos/ansistrano/deploy/issues/comments/199709052","html_url":"https://github.com/ansistrano/deploy/pull/101#issuecomment-199709052","issue_url":"https://api.github.com/repos/ansistrano/deploy/issues/101","id":199709052,"user":{"login":"kvz","id":26752,"avatar_url":"https://avatars.githubusercontent.com/u/26752?v=3","gravatar_id":"","url":"https://api.github.com/users/kvz","html_url":"https://github.com/kvz","followers_url":"https://api.github.com/users/kvz/followers","following_url":"https://api.github.com/users/kvz/following{/other_user}","gists_url":"https://api.github.com/users/kvz/gists{/gist_id}","starred_url":"https://api.github.com/users/kvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvz/subscriptions","organizations_url":"https://api.github.com/users/kvz/orgs","repos_url":"https://api.github.com/users/kvz/repos","events_url":"https://api.github.com/users/kvz/events{/privacy}","received_events_url":"https://api.github.com/users/kvz/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T09:07:59Z","updated_at":"2016-03-22T09:07:59Z","body":"Not sure. Maybe if extract unpacks to a shared temporary directory by default, much like how the git clone does not use `current` directly, and then there's always a subsequent step ansistrano that recursively copies files from that dir into `current`? By default it would be `.` but it could be changed via configuration to be a subdir of the extracted archive. I guess one catch is that it would also have to copy hidden files, so a plain `./*` would not work without some tinkering."}}