{"action":"opened","number":379,"pull_request":{"url":"https://api.github.com/repos/deployphp/deployer/pulls/379","id":38554763,"html_url":"https://github.com/deployphp/deployer/pull/379","diff_url":"https://github.com/deployphp/deployer/pull/379.diff","patch_url":"https://github.com/deployphp/deployer/pull/379.patch","issue_url":"https://api.github.com/repos/deployphp/deployer/issues/379","number":379,"state":"open","locked":false,"title":"Use mirrored git repository for faster results","user":{"login":"czettnersandor","id":263174,"avatar_url":"https://avatars.githubusercontent.com/u/263174?v=3","gravatar_id":"","url":"https://api.github.com/users/czettnersandor","html_url":"https://github.com/czettnersandor","followers_url":"https://api.github.com/users/czettnersandor/followers","following_url":"https://api.github.com/users/czettnersandor/following{/other_user}","gists_url":"https://api.github.com/users/czettnersandor/gists{/gist_id}","starred_url":"https://api.github.com/users/czettnersandor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czettnersandor/subscriptions","organizations_url":"https://api.github.com/users/czettnersandor/orgs","repos_url":"https://api.github.com/users/czettnersandor/repos","events_url":"https://api.github.com/users/czettnersandor/events{/privacy}","received_events_url":"https://api.github.com/users/czettnersandor/received_events","type":"User","site_admin":false},"body":"The problem: big repositories takes too long to copy, even with the --reference. This solution will not copy, fetch any git object, but uses only one mirror, updates it and then creating an archive to the release path.\r\n    \r\nThe original idea is coming from Capistrano:\r\nhttps://github.com/capistrano/capistrano/blob/ad61d9288a2567faa5ae37e7fa74b1c1947e592d/lib/capistrano/git.rb","created_at":"2015-06-25T14:42:53Z","updated_at":"2015-06-25T14:42:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/deployphp/deployer/pulls/379/commits","review_comments_url":"https://api.github.com/repos/deployphp/deployer/pulls/379/comments","review_comment_url":"https://api.github.com/repos/deployphp/deployer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deployphp/deployer/issues/379/comments","statuses_url":"https://api.github.com/repos/deployphp/deployer/statuses/673eeef039ff279c1e1e8ebe7458788711ccf08e","head":{"label":"healthywebsites:master","ref":"master","sha":"673eeef039ff279c1e1e8ebe7458788711ccf08e","user":{"login":"healthywebsites","id":2726863,"avatar_url":"https://avatars.githubusercontent.com/u/2726863?v=3","gravatar_id":"","url":"https://api.github.com/users/healthywebsites","html_url":"https://github.com/healthywebsites","followers_url":"https://api.github.com/users/healthywebsites/followers","following_url":"https://api.github.com/users/healthywebsites/following{/other_user}","gists_url":"https://api.github.com/users/healthywebsites/gists{/gist_id}","starred_url":"https://api.github.com/users/healthywebsites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/healthywebsites/subscriptions","organizations_url":"https://api.github.com/users/healthywebsites/orgs","repos_url":"https://api.github.com/users/healthywebsites/repos","events_url":"https://api.github.com/users/healthywebsites/events{/privacy}","received_events_url":"https://api.github.com/users/healthywebsites/received_events","type":"Organization","site_admin":false},"repo":{"id":38050721,"name":"deployer","full_name":"healthywebsites/deployer","owner":{"login":"healthywebsites","id":2726863,"avatar_url":"https://avatars.githubusercontent.com/u/2726863?v=3","gravatar_id":"","url":"https://api.github.com/users/healthywebsites","html_url":"https://github.com/healthywebsites","followers_url":"https://api.github.com/users/healthywebsites/followers","following_url":"https://api.github.com/users/healthywebsites/following{/other_user}","gists_url":"https://api.github.com/users/healthywebsites/gists{/gist_id}","starred_url":"https://api.github.com/users/healthywebsites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/healthywebsites/subscriptions","organizations_url":"https://api.github.com/users/healthywebsites/orgs","repos_url":"https://api.github.com/users/healthywebsites/repos","events_url":"https://api.github.com/users/healthywebsites/events{/privacy}","received_events_url":"https://api.github.com/users/healthywebsites/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/healthywebsites/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/healthywebsites/deployer","forks_url":"https://api.github.com/repos/healthywebsites/deployer/forks","keys_url":"https://api.github.com/repos/healthywebsites/deployer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/healthywebsites/deployer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/healthywebsites/deployer/teams","hooks_url":"https://api.github.com/repos/healthywebsites/deployer/hooks","issue_events_url":"https://api.github.com/repos/healthywebsites/deployer/issues/events{/number}","events_url":"https://api.github.com/repos/healthywebsites/deployer/events","assignees_url":"https://api.github.com/repos/healthywebsites/deployer/assignees{/user}","branches_url":"https://api.github.com/repos/healthywebsites/deployer/branches{/branch}","tags_url":"https://api.github.com/repos/healthywebsites/deployer/tags","blobs_url":"https://api.github.com/repos/healthywebsites/deployer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/healthywebsites/deployer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/healthywebsites/deployer/git/refs{/sha}","trees_url":"https://api.github.com/repos/healthywebsites/deployer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/healthywebsites/deployer/statuses/{sha}","languages_url":"https://api.github.com/repos/healthywebsites/deployer/languages","stargazers_url":"https://api.github.com/repos/healthywebsites/deployer/stargazers","contributors_url":"https://api.github.com/repos/healthywebsites/deployer/contributors","subscribers_url":"https://api.github.com/repos/healthywebsites/deployer/subscribers","subscription_url":"https://api.github.com/repos/healthywebsites/deployer/subscription","commits_url":"https://api.github.com/repos/healthywebsites/deployer/commits{/sha}","git_commits_url":"https://api.github.com/repos/healthywebsites/deployer/git/commits{/sha}","comments_url":"https://api.github.com/repos/healthywebsites/deployer/comments{/number}","issue_comment_url":"https://api.github.com/repos/healthywebsites/deployer/issues/comments{/number}","contents_url":"https://api.github.com/repos/healthywebsites/deployer/contents/{+path}","compare_url":"https://api.github.com/repos/healthywebsites/deployer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/healthywebsites/deployer/merges","archive_url":"https://api.github.com/repos/healthywebsites/deployer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/healthywebsites/deployer/downloads","issues_url":"https://api.github.com/repos/healthywebsites/deployer/issues{/number}","pulls_url":"https://api.github.com/repos/healthywebsites/deployer/pulls{/number}","milestones_url":"https://api.github.com/repos/healthywebsites/deployer/milestones{/number}","notifications_url":"https://api.github.com/repos/healthywebsites/deployer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/healthywebsites/deployer/labels{/name}","releases_url":"https://api.github.com/repos/healthywebsites/deployer/releases{/id}","created_at":"2015-06-25T13:24:57Z","updated_at":"2015-06-25T13:24:58Z","pushed_at":"2015-06-25T14:40:05Z","git_url":"git://github.com/healthywebsites/deployer.git","ssh_url":"git@github.com:healthywebsites/deployer.git","clone_url":"https://github.com/healthywebsites/deployer.git","svn_url":"https://github.com/healthywebsites/deployer","homepage":"http://deployer.org","size":4984,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"deployphp:master","ref":"master","sha":"93bc8263b2ead5e2b7913e4646c762bd997506ca","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}","created_at":"2013-07-11T11:45:38Z","updated_at":"2015-06-25T13:58:28Z","pushed_at":"2015-06-25T14:42:53Z","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":"http://deployer.org","size":4984,"stargazers_count":1182,"watchers_count":1182,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":169,"mirror_url":null,"open_issues_count":48,"forks":169,"open_issues":48,"watchers":1182,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deployphp/deployer/pulls/379"},"html":{"href":"https://github.com/deployphp/deployer/pull/379"},"issue":{"href":"https://api.github.com/repos/deployphp/deployer/issues/379"},"comments":{"href":"https://api.github.com/repos/deployphp/deployer/issues/379/comments"},"review_comments":{"href":"https://api.github.com/repos/deployphp/deployer/pulls/379/comments"},"review_comment":{"href":"https://api.github.com/repos/deployphp/deployer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deployphp/deployer/pulls/379/commits"},"statuses":{"href":"https://api.github.com/repos/deployphp/deployer/statuses/673eeef039ff279c1e1e8ebe7458788711ccf08e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":12,"deletions":26,"changed_files":1}}