{"action":"created","comment":{"url":"https://api.github.com/repos/Automattic/gp-import-export/pulls/comments/30028040","id":30028040,"diff_hunk":"@@ -312,3 +313,37 @@ function headers_for_download( $filename ) {\n \t}\n \n }\n+\n+class ZipArchiveExtended extends ZipArchive {\n+\n+\tpublic function addDir( $path ) {","path":"includes/router.php","position":46,"original_position":46,"commit_id":"17385f31a3ef6bf11e460417a9b1c5e507dd4fa9","original_commit_id":"17385f31a3ef6bf11e460417a9b1c5e507dd4fa9","user":{"login":"yoavf","id":844866,"avatar_url":"https://avatars.githubusercontent.com/u/844866?v=3","gravatar_id":"","url":"https://api.github.com/users/yoavf","html_url":"https://github.com/yoavf","followers_url":"https://api.github.com/users/yoavf/followers","following_url":"https://api.github.com/users/yoavf/following{/other_user}","gists_url":"https://api.github.com/users/yoavf/gists{/gist_id}","starred_url":"https://api.github.com/users/yoavf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoavf/subscriptions","organizations_url":"https://api.github.com/users/yoavf/orgs","repos_url":"https://api.github.com/users/yoavf/repos","events_url":"https://api.github.com/users/yoavf/events{/privacy}","received_events_url":"https://api.github.com/users/yoavf/received_events","type":"User","site_admin":false},"body":"D","created_at":"2015-05-11T10:36:22Z","updated_at":"2015-05-11T10:36:22Z","html_url":"https://github.com/Automattic/gp-import-export/pull/3#discussion_r30028040","pull_request_url":"https://api.github.com/repos/Automattic/gp-import-export/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Automattic/gp-import-export/pulls/comments/30028040"},"html":{"href":"https://github.com/Automattic/gp-import-export/pull/3#discussion_r30028040"},"pull_request":{"href":"https://api.github.com/repos/Automattic/gp-import-export/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Automattic/gp-import-export/pulls/3","id":34349080,"html_url":"https://github.com/Automattic/gp-import-export/pull/3","diff_url":"https://github.com/Automattic/gp-import-export/pull/3.diff","patch_url":"https://github.com/Automattic/gp-import-export/pull/3.patch","issue_url":"https://api.github.com/repos/Automattic/gp-import-export/issues/3","number":3,"state":"open","locked":false,"title":"Remove the system call and use PHP's ZipArchive instead","user":{"login":"akirk","id":203408,"avatar_url":"https://avatars.githubusercontent.com/u/203408?v=3","gravatar_id":"","url":"https://api.github.com/users/akirk","html_url":"https://github.com/akirk","followers_url":"https://api.github.com/users/akirk/followers","following_url":"https://api.github.com/users/akirk/following{/other_user}","gists_url":"https://api.github.com/users/akirk/gists{/gist_id}","starred_url":"https://api.github.com/users/akirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akirk/subscriptions","organizations_url":"https://api.github.com/users/akirk/orgs","repos_url":"https://api.github.com/users/akirk/repos","events_url":"https://api.github.com/users/akirk/events{/privacy}","received_events_url":"https://api.github.com/users/akirk/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-29T10:16:32Z","updated_at":"2015-05-11T10:36:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9410833da5444591e4be387bca1edabe1b2ba90c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Automattic/gp-import-export/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Automattic/gp-import-export/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Automattic/gp-import-export/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Automattic/gp-import-export/issues/3/comments","statuses_url":"https://api.github.com/repos/Automattic/gp-import-export/statuses/17385f31a3ef6bf11e460417a9b1c5e507dd4fa9","head":{"label":"Automattic:enhance/remove-system-dependency","ref":"enhance/remove-system-dependency","sha":"17385f31a3ef6bf11e460417a9b1c5e507dd4fa9","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":21565986,"name":"gp-import-export","full_name":"Automattic/gp-import-export","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/gp-import-export","description":"Bulk Importer plugin for GlotPress","fork":false,"url":"https://api.github.com/repos/Automattic/gp-import-export","forks_url":"https://api.github.com/repos/Automattic/gp-import-export/forks","keys_url":"https://api.github.com/repos/Automattic/gp-import-export/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/gp-import-export/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/gp-import-export/teams","hooks_url":"https://api.github.com/repos/Automattic/gp-import-export/hooks","issue_events_url":"https://api.github.com/repos/Automattic/gp-import-export/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/gp-import-export/events","assignees_url":"https://api.github.com/repos/Automattic/gp-import-export/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/gp-import-export/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/gp-import-export/tags","blobs_url":"https://api.github.com/repos/Automattic/gp-import-export/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/gp-import-export/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/gp-import-export/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/gp-import-export/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/gp-import-export/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/gp-import-export/languages","stargazers_url":"https://api.github.com/repos/Automattic/gp-import-export/stargazers","contributors_url":"https://api.github.com/repos/Automattic/gp-import-export/contributors","subscribers_url":"https://api.github.com/repos/Automattic/gp-import-export/subscribers","subscription_url":"https://api.github.com/repos/Automattic/gp-import-export/subscription","commits_url":"https://api.github.com/repos/Automattic/gp-import-export/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/gp-import-export/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/gp-import-export/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/gp-import-export/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/gp-import-export/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/gp-import-export/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/gp-import-export/merges","archive_url":"https://api.github.com/repos/Automattic/gp-import-export/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/gp-import-export/downloads","issues_url":"https://api.github.com/repos/Automattic/gp-import-export/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/gp-import-export/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/gp-import-export/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/gp-import-export/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/gp-import-export/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/gp-import-export/releases{/id}","created_at":"2014-07-07T10:01:39Z","updated_at":"2015-04-28T09:27:46Z","pushed_at":"2015-05-11T10:33:11Z","git_url":"git://github.com/Automattic/gp-import-export.git","ssh_url":"git@github.com:Automattic/gp-import-export.git","clone_url":"https://github.com/Automattic/gp-import-export.git","svn_url":"https://github.com/Automattic/gp-import-export","homepage":null,"size":410,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"Automattic:master","ref":"master","sha":"ee7d8d76aacd224b65c7182bdbbbd276f22c473a","user":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"repo":{"id":21565986,"name":"gp-import-export","full_name":"Automattic/gp-import-export","owner":{"login":"Automattic","id":887802,"avatar_url":"https://avatars.githubusercontent.com/u/887802?v=3","gravatar_id":"","url":"https://api.github.com/users/Automattic","html_url":"https://github.com/Automattic","followers_url":"https://api.github.com/users/Automattic/followers","following_url":"https://api.github.com/users/Automattic/following{/other_user}","gists_url":"https://api.github.com/users/Automattic/gists{/gist_id}","starred_url":"https://api.github.com/users/Automattic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Automattic/subscriptions","organizations_url":"https://api.github.com/users/Automattic/orgs","repos_url":"https://api.github.com/users/Automattic/repos","events_url":"https://api.github.com/users/Automattic/events{/privacy}","received_events_url":"https://api.github.com/users/Automattic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Automattic/gp-import-export","description":"Bulk Importer plugin for GlotPress","fork":false,"url":"https://api.github.com/repos/Automattic/gp-import-export","forks_url":"https://api.github.com/repos/Automattic/gp-import-export/forks","keys_url":"https://api.github.com/repos/Automattic/gp-import-export/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Automattic/gp-import-export/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Automattic/gp-import-export/teams","hooks_url":"https://api.github.com/repos/Automattic/gp-import-export/hooks","issue_events_url":"https://api.github.com/repos/Automattic/gp-import-export/issues/events{/number}","events_url":"https://api.github.com/repos/Automattic/gp-import-export/events","assignees_url":"https://api.github.com/repos/Automattic/gp-import-export/assignees{/user}","branches_url":"https://api.github.com/repos/Automattic/gp-import-export/branches{/branch}","tags_url":"https://api.github.com/repos/Automattic/gp-import-export/tags","blobs_url":"https://api.github.com/repos/Automattic/gp-import-export/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Automattic/gp-import-export/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Automattic/gp-import-export/git/refs{/sha}","trees_url":"https://api.github.com/repos/Automattic/gp-import-export/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Automattic/gp-import-export/statuses/{sha}","languages_url":"https://api.github.com/repos/Automattic/gp-import-export/languages","stargazers_url":"https://api.github.com/repos/Automattic/gp-import-export/stargazers","contributors_url":"https://api.github.com/repos/Automattic/gp-import-export/contributors","subscribers_url":"https://api.github.com/repos/Automattic/gp-import-export/subscribers","subscription_url":"https://api.github.com/repos/Automattic/gp-import-export/subscription","commits_url":"https://api.github.com/repos/Automattic/gp-import-export/commits{/sha}","git_commits_url":"https://api.github.com/repos/Automattic/gp-import-export/git/commits{/sha}","comments_url":"https://api.github.com/repos/Automattic/gp-import-export/comments{/number}","issue_comment_url":"https://api.github.com/repos/Automattic/gp-import-export/issues/comments{/number}","contents_url":"https://api.github.com/repos/Automattic/gp-import-export/contents/{+path}","compare_url":"https://api.github.com/repos/Automattic/gp-import-export/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Automattic/gp-import-export/merges","archive_url":"https://api.github.com/repos/Automattic/gp-import-export/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Automattic/gp-import-export/downloads","issues_url":"https://api.github.com/repos/Automattic/gp-import-export/issues{/number}","pulls_url":"https://api.github.com/repos/Automattic/gp-import-export/pulls{/number}","milestones_url":"https://api.github.com/repos/Automattic/gp-import-export/milestones{/number}","notifications_url":"https://api.github.com/repos/Automattic/gp-import-export/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Automattic/gp-import-export/labels{/name}","releases_url":"https://api.github.com/repos/Automattic/gp-import-export/releases{/id}","created_at":"2014-07-07T10:01:39Z","updated_at":"2015-04-28T09:27:46Z","pushed_at":"2015-05-11T10:33:11Z","git_url":"git://github.com/Automattic/gp-import-export.git","ssh_url":"git@github.com:Automattic/gp-import-export.git","clone_url":"https://github.com/Automattic/gp-import-export.git","svn_url":"https://github.com/Automattic/gp-import-export","homepage":null,"size":410,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Automattic/gp-import-export/pulls/3"},"html":{"href":"https://github.com/Automattic/gp-import-export/pull/3"},"issue":{"href":"https://api.github.com/repos/Automattic/gp-import-export/issues/3"},"comments":{"href":"https://api.github.com/repos/Automattic/gp-import-export/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Automattic/gp-import-export/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Automattic/gp-import-export/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Automattic/gp-import-export/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Automattic/gp-import-export/statuses/17385f31a3ef6bf11e460417a9b1c5e507dd4fa9"}}}}