{"action":"closed","number":891,"pull_request":{"url":"https://api.github.com/repos/deployphp/deployer/pulls/891","id":94695501,"html_url":"https://github.com/deployphp/deployer/pull/891","diff_url":"https://github.com/deployphp/deployer/pull/891.diff","patch_url":"https://github.com/deployphp/deployer/pull/891.patch","issue_url":"https://api.github.com/repos/deployphp/deployer/issues/891","number":891,"state":"closed","locked":false,"title":"Make uploading recursive in ssh native","user":{"login":"oscarotero","id":377873,"avatar_url":"https://avatars.githubusercontent.com/u/377873?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarotero","html_url":"https://github.com/oscarotero","followers_url":"https://api.github.com/users/oscarotero/followers","following_url":"https://api.github.com/users/oscarotero/following{/other_user}","gists_url":"https://api.github.com/users/oscarotero/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarotero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarotero/subscriptions","organizations_url":"https://api.github.com/users/oscarotero/orgs","repos_url":"https://api.github.com/users/oscarotero/repos","events_url":"https://api.github.com/users/oscarotero/events{/privacy}","received_events_url":"https://api.github.com/users/oscarotero/received_events","type":"User","site_admin":false},"body":"This tries to fix #889\r\n\r\n`scp -r` does not work here, because `upload()` receives only files (not directories), so I've fixed it using `mkdir -p` before the `scp`. \r\nIn order to improve performance, I've used a simple caching system with the private property `mkdirs`. Maybe it's not the ideal solution but I couldn't find anything better.","created_at":"2016-11-21T20:59:56Z","updated_at":"2016-11-25T08:00:18Z","closed_at":"2016-11-25T08:00:18Z","merged_at":"2016-11-25T08:00:18Z","merge_commit_sha":"fb799d75e21e3fae255cc9afe19b8f665d39c738","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/deployphp/deployer/pulls/891/commits","review_comments_url":"https://api.github.com/repos/deployphp/deployer/pulls/891/comments","review_comment_url":"https://api.github.com/repos/deployphp/deployer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deployphp/deployer/issues/891/comments","statuses_url":"https://api.github.com/repos/deployphp/deployer/statuses/5c2fcfef5feb78d364a2d2b8e908f0937a41b845","head":{"label":"oscarotero:master","ref":"master","sha":"5c2fcfef5feb78d364a2d2b8e908f0937a41b845","user":{"login":"oscarotero","id":377873,"avatar_url":"https://avatars.githubusercontent.com/u/377873?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarotero","html_url":"https://github.com/oscarotero","followers_url":"https://api.github.com/users/oscarotero/followers","following_url":"https://api.github.com/users/oscarotero/following{/other_user}","gists_url":"https://api.github.com/users/oscarotero/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarotero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarotero/subscriptions","organizations_url":"https://api.github.com/users/oscarotero/orgs","repos_url":"https://api.github.com/users/oscarotero/repos","events_url":"https://api.github.com/users/oscarotero/events{/privacy}","received_events_url":"https://api.github.com/users/oscarotero/received_events","type":"User","site_admin":false},"repo":{"id":74288443,"name":"deployer","full_name":"oscarotero/deployer","owner":{"login":"oscarotero","id":377873,"avatar_url":"https://avatars.githubusercontent.com/u/377873?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarotero","html_url":"https://github.com/oscarotero","followers_url":"https://api.github.com/users/oscarotero/followers","following_url":"https://api.github.com/users/oscarotero/following{/other_user}","gists_url":"https://api.github.com/users/oscarotero/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarotero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarotero/subscriptions","organizations_url":"https://api.github.com/users/oscarotero/orgs","repos_url":"https://api.github.com/users/oscarotero/repos","events_url":"https://api.github.com/users/oscarotero/events{/privacy}","received_events_url":"https://api.github.com/users/oscarotero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oscarotero/deployer","description":"A deployment tool written in PHP with support for popular frameworks out of the box","fork":true,"url":"https://api.github.com/repos/oscarotero/deployer","forks_url":"https://api.github.com/repos/oscarotero/deployer/forks","keys_url":"https://api.github.com/repos/oscarotero/deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oscarotero/deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oscarotero/deployer/teams","hooks_url":"https://api.github.com/repos/oscarotero/deployer/hooks","issue_events_url":"https://api.github.com/repos/oscarotero/deployer/issues/events{/number}","events_url":"https://api.github.com/repos/oscarotero/deployer/events","assignees_url":"https://api.github.com/repos/oscarotero/deployer/assignees{/user}","branches_url":"https://api.github.com/repos/oscarotero/deployer/branches{/branch}","tags_url":"https://api.github.com/repos/oscarotero/deployer/tags","blobs_url":"https://api.github.com/repos/oscarotero/deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oscarotero/deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oscarotero/deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/oscarotero/deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oscarotero/deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/oscarotero/deployer/languages","stargazers_url":"https://api.github.com/repos/oscarotero/deployer/stargazers","contributors_url":"https://api.github.com/repos/oscarotero/deployer/contributors","subscribers_url":"https://api.github.com/repos/oscarotero/deployer/subscribers","subscription_url":"https://api.github.com/repos/oscarotero/deployer/subscription","commits_url":"https://api.github.com/repos/oscarotero/deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/oscarotero/deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/oscarotero/deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/oscarotero/deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/oscarotero/deployer/contents/{+path}","compare_url":"https://api.github.com/repos/oscarotero/deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oscarotero/deployer/merges","archive_url":"https://api.github.com/repos/oscarotero/deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oscarotero/deployer/downloads","issues_url":"https://api.github.com/repos/oscarotero/deployer/issues{/number}","pulls_url":"https://api.github.com/repos/oscarotero/deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/oscarotero/deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/oscarotero/deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oscarotero/deployer/labels{/name}","releases_url":"https://api.github.com/repos/oscarotero/deployer/releases{/id}","deployments_url":"https://api.github.com/repos/oscarotero/deployer/deployments","created_at":"2016-11-20T16:46:22Z","updated_at":"2016-11-21T04:46:12Z","pushed_at":"2016-11-21T20:28:50Z","git_url":"git://github.com/oscarotero/deployer.git","ssh_url":"git@github.com:oscarotero/deployer.git","clone_url":"https://github.com/oscarotero/deployer.git","svn_url":"https://github.com/oscarotero/deployer","homepage":"https://deployer.org","size":1322,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"deployphp:master","ref":"master","sha":"f87868bdbde091b09f29354b8d61119d2efe6285","user":{"login":"deployphp","id":8088857,"avatar_url":"https://avatars.githubusercontent.com/u/8088857?v=3","gravatar_id":"","url":"https://api.github.com/users/deployphp","html_url":"https://github.com/deployphp","followers_url":"https://api.github.com/users/deployphp/followers","following_url":"https://api.github.com/users/deployphp/following{/other_user}","gists_url":"https://api.github.com/users/deployphp/gists{/gist_id}","starred_url":"https://api.github.com/users/deployphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deployphp/subscriptions","organizations_url":"https://api.github.com/users/deployphp/orgs","repos_url":"https://api.github.com/users/deployphp/repos","events_url":"https://api.github.com/users/deployphp/events{/privacy}","received_events_url":"https://api.github.com/users/deployphp/received_events","type":"Organization","site_admin":false},"repo":{"id":11340559,"name":"deployer","full_name":"deployphp/deployer","owner":{"login":"deployphp","id":8088857,"avatar_url":"https://avatars.githubusercontent.com/u/8088857?v=3","gravatar_id":"","url":"https://api.github.com/users/deployphp","html_url":"https://github.com/deployphp","followers_url":"https://api.github.com/users/deployphp/followers","following_url":"https://api.github.com/users/deployphp/following{/other_user}","gists_url":"https://api.github.com/users/deployphp/gists{/gist_id}","starred_url":"https://api.github.com/users/deployphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deployphp/subscriptions","organizations_url":"https://api.github.com/users/deployphp/orgs","repos_url":"https://api.github.com/users/deployphp/repos","events_url":"https://api.github.com/users/deployphp/events{/privacy}","received_events_url":"https://api.github.com/users/deployphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deployphp/deployer","description":"A deployment tool written in PHP with support for popular frameworks out of the box","fork":false,"url":"https://api.github.com/repos/deployphp/deployer","forks_url":"https://api.github.com/repos/deployphp/deployer/forks","keys_url":"https://api.github.com/repos/deployphp/deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deployphp/deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deployphp/deployer/teams","hooks_url":"https://api.github.com/repos/deployphp/deployer/hooks","issue_events_url":"https://api.github.com/repos/deployphp/deployer/issues/events{/number}","events_url":"https://api.github.com/repos/deployphp/deployer/events","assignees_url":"https://api.github.com/repos/deployphp/deployer/assignees{/user}","branches_url":"https://api.github.com/repos/deployphp/deployer/branches{/branch}","tags_url":"https://api.github.com/repos/deployphp/deployer/tags","blobs_url":"https://api.github.com/repos/deployphp/deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deployphp/deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deployphp/deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/deployphp/deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deployphp/deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/deployphp/deployer/languages","stargazers_url":"https://api.github.com/repos/deployphp/deployer/stargazers","contributors_url":"https://api.github.com/repos/deployphp/deployer/contributors","subscribers_url":"https://api.github.com/repos/deployphp/deployer/subscribers","subscription_url":"https://api.github.com/repos/deployphp/deployer/subscription","commits_url":"https://api.github.com/repos/deployphp/deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/deployphp/deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/deployphp/deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/deployphp/deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/deployphp/deployer/contents/{+path}","compare_url":"https://api.github.com/repos/deployphp/deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deployphp/deployer/merges","archive_url":"https://api.github.com/repos/deployphp/deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deployphp/deployer/downloads","issues_url":"https://api.github.com/repos/deployphp/deployer/issues{/number}","pulls_url":"https://api.github.com/repos/deployphp/deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/deployphp/deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/deployphp/deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deployphp/deployer/labels{/name}","releases_url":"https://api.github.com/repos/deployphp/deployer/releases{/id}","deployments_url":"https://api.github.com/repos/deployphp/deployer/deployments","created_at":"2013-07-11T11:45:38Z","updated_at":"2016-11-25T04:18:39Z","pushed_at":"2016-11-25T08:00:18Z","git_url":"git://github.com/deployphp/deployer.git","ssh_url":"git@github.com:deployphp/deployer.git","clone_url":"https://github.com/deployphp/deployer.git","svn_url":"https://github.com/deployphp/deployer","homepage":"https://deployer.org","size":4010,"stargazers_count":3100,"watchers_count":3100,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":446,"mirror_url":null,"open_issues_count":18,"forks":446,"open_issues":18,"watchers":3100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deployphp/deployer/pulls/891"},"html":{"href":"https://github.com/deployphp/deployer/pull/891"},"issue":{"href":"https://api.github.com/repos/deployphp/deployer/issues/891"},"comments":{"href":"https://api.github.com/repos/deployphp/deployer/issues/891/comments"},"review_comments":{"href":"https://api.github.com/repos/deployphp/deployer/pulls/891/comments"},"review_comment":{"href":"https://api.github.com/repos/deployphp/deployer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deployphp/deployer/pulls/891/commits"},"statuses":{"href":"https://api.github.com/repos/deployphp/deployer/statuses/5c2fcfef5feb78d364a2d2b8e908f0937a41b845"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"elfet","id":141232,"avatar_url":"https://avatars.githubusercontent.com/u/141232?v=3","gravatar_id":"","url":"https://api.github.com/users/elfet","html_url":"https://github.com/elfet","followers_url":"https://api.github.com/users/elfet/followers","following_url":"https://api.github.com/users/elfet/following{/other_user}","gists_url":"https://api.github.com/users/elfet/gists{/gist_id}","starred_url":"https://api.github.com/users/elfet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfet/subscriptions","organizations_url":"https://api.github.com/users/elfet/orgs","repos_url":"https://api.github.com/users/elfet/repos","events_url":"https://api.github.com/users/elfet/events{/privacy}","received_events_url":"https://api.github.com/users/elfet/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":12,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"elfet"}}