{"action":"closed","number":5799,"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/5799","id":26150973,"html_url":"https://github.com/Wikia/app/pull/5799","diff_url":"https://github.com/Wikia/app/pull/5799.diff","patch_url":"https://github.com/Wikia/app/pull/5799.patch","issue_url":"https://api.github.com/repos/Wikia/app/issues/5799","number":5799,"state":"closed","locked":false,"title":"Switch to bzip2 compression to avoid invalid gzip files","user":{"login":"nemobis","id":901528,"avatar_url":"https://avatars.githubusercontent.com/u/901528?v=3","gravatar_id":"","url":"https://api.github.com/users/nemobis","html_url":"https://github.com/nemobis","followers_url":"https://api.github.com/users/nemobis/followers","following_url":"https://api.github.com/users/nemobis/following{/other_user}","gists_url":"https://api.github.com/users/nemobis/gists{/gist_id}","starred_url":"https://api.github.com/users/nemobis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemobis/subscriptions","organizations_url":"https://api.github.com/users/nemobis/orgs","repos_url":"https://api.github.com/users/nemobis/repos","events_url":"https://api.github.com/users/nemobis/events{/privacy}","received_events_url":"https://api.github.com/users/nemobis/received_events","type":"User","site_admin":false},"body":"Currently, several dump gzip files are truncated to 419430400 bytes and are invalid:\r\nd/dr/dragonball_pages_full.xml.gz\r\nf/fa/fairytail_pages_full.xml.gz\r\nh/ha/harrypotter_pages_full.xml.gz\r\nh/hu/hurricanes_pages_full.xml.gz\r\nn/na/naruto_pages_full.xml.gz\r\no/on/onepiece_pages_full.xml.gz\r\ns/sm/smallville_pages_full.xml.gz\r\ns/so/sonic_pages_full.xml.gz\r\ns/st/starwars_pages_full.xml.gz\r\n\r\nThis should be fixed, but perhaps it's easier to compress the files below that limit.\r\nAlternatives tested for compression of chillsonicfanon_pages_full.xml, 1.2 G:\r\n* gzip -9 (current): 326 MB output, 1m28.592s user CPU\r\n* 7z -mx=4: 8.4 MB, 0m37.062s\r\n* 7z -mx=5 (default): 5 MB, 6m4.659s\r\n* bzip2 (default): 70 MB, 4m51.169s\r\n* bzip2 -1: 272 MB, 2m52.304s\r\n\r\nWe can't alter MediaWiki's 7z command (setup7zCommand() in Export.php) \r\nnor we have an environment variable to use:\r\nhttps://sourceforge.net/p/sevenzip/discussion/45798/thread/70f81b1a/\r\nSo we could sacrifice some CPU to use bzip2 defaults and preserve disk.","created_at":"2014-12-16T14:49:20Z","updated_at":"2015-01-23T13:22:40Z","closed_at":"2015-01-23T13:22:40Z","merged_at":null,"merge_commit_sha":"90347bd868f21bd68046e1a65f225aa71e37283c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/app/pulls/5799/commits","review_comments_url":"https://api.github.com/repos/Wikia/app/pulls/5799/comments","review_comment_url":"https://api.github.com/repos/Wikia/app/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Wikia/app/issues/5799/comments","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/feaef37d9bbac778e9723997571d40e370b54994","head":{"label":"nemobis:patch-1","ref":"patch-1","sha":"feaef37d9bbac778e9723997571d40e370b54994","user":{"login":"nemobis","id":901528,"avatar_url":"https://avatars.githubusercontent.com/u/901528?v=3","gravatar_id":"","url":"https://api.github.com/users/nemobis","html_url":"https://github.com/nemobis","followers_url":"https://api.github.com/users/nemobis/followers","following_url":"https://api.github.com/users/nemobis/following{/other_user}","gists_url":"https://api.github.com/users/nemobis/gists{/gist_id}","starred_url":"https://api.github.com/users/nemobis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemobis/subscriptions","organizations_url":"https://api.github.com/users/nemobis/orgs","repos_url":"https://api.github.com/users/nemobis/repos","events_url":"https://api.github.com/users/nemobis/events{/privacy}","received_events_url":"https://api.github.com/users/nemobis/received_events","type":"User","site_admin":false},"repo":{"id":28090761,"name":"app","full_name":"nemobis/app","owner":{"login":"nemobis","id":901528,"avatar_url":"https://avatars.githubusercontent.com/u/901528?v=3","gravatar_id":"","url":"https://api.github.com/users/nemobis","html_url":"https://github.com/nemobis","followers_url":"https://api.github.com/users/nemobis/followers","following_url":"https://api.github.com/users/nemobis/following{/other_user}","gists_url":"https://api.github.com/users/nemobis/gists{/gist_id}","starred_url":"https://api.github.com/users/nemobis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemobis/subscriptions","organizations_url":"https://api.github.com/users/nemobis/orgs","repos_url":"https://api.github.com/users/nemobis/repos","events_url":"https://api.github.com/users/nemobis/events{/privacy}","received_events_url":"https://api.github.com/users/nemobis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nemobis/app","description":"Wikia Application Code","fork":true,"url":"https://api.github.com/repos/nemobis/app","forks_url":"https://api.github.com/repos/nemobis/app/forks","keys_url":"https://api.github.com/repos/nemobis/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nemobis/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nemobis/app/teams","hooks_url":"https://api.github.com/repos/nemobis/app/hooks","issue_events_url":"https://api.github.com/repos/nemobis/app/issues/events{/number}","events_url":"https://api.github.com/repos/nemobis/app/events","assignees_url":"https://api.github.com/repos/nemobis/app/assignees{/user}","branches_url":"https://api.github.com/repos/nemobis/app/branches{/branch}","tags_url":"https://api.github.com/repos/nemobis/app/tags","blobs_url":"https://api.github.com/repos/nemobis/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nemobis/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nemobis/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/nemobis/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nemobis/app/statuses/{sha}","languages_url":"https://api.github.com/repos/nemobis/app/languages","stargazers_url":"https://api.github.com/repos/nemobis/app/stargazers","contributors_url":"https://api.github.com/repos/nemobis/app/contributors","subscribers_url":"https://api.github.com/repos/nemobis/app/subscribers","subscription_url":"https://api.github.com/repos/nemobis/app/subscription","commits_url":"https://api.github.com/repos/nemobis/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/nemobis/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/nemobis/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/nemobis/app/issues/comments/{number}","contents_url":"https://api.github.com/repos/nemobis/app/contents/{+path}","compare_url":"https://api.github.com/repos/nemobis/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nemobis/app/merges","archive_url":"https://api.github.com/repos/nemobis/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nemobis/app/downloads","issues_url":"https://api.github.com/repos/nemobis/app/issues{/number}","pulls_url":"https://api.github.com/repos/nemobis/app/pulls{/number}","milestones_url":"https://api.github.com/repos/nemobis/app/milestones{/number}","notifications_url":"https://api.github.com/repos/nemobis/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nemobis/app/labels{/name}","releases_url":"https://api.github.com/repos/nemobis/app/releases{/id}","created_at":"2014-12-16T14:33:30Z","updated_at":"2015-01-23T13:21:10Z","pushed_at":"2015-01-23T13:21:55Z","git_url":"git://github.com/nemobis/app.git","ssh_url":"git@github.com:nemobis/app.git","clone_url":"https://github.com/nemobis/app.git","svn_url":"https://github.com/nemobis/app","homepage":"http://dev.wikia.com","size":563511,"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":"dev"}},"base":{"label":"Wikia:dev","ref":"dev","sha":"21fd1e54f55df5d80b9bde8e9f9d8f1ec3e8da03","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":5532313,"name":"app","full_name":"Wikia/app","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/app","description":"Wikia Application Code","fork":false,"url":"https://api.github.com/repos/Wikia/app","forks_url":"https://api.github.com/repos/Wikia/app/forks","keys_url":"https://api.github.com/repos/Wikia/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/app/teams","hooks_url":"https://api.github.com/repos/Wikia/app/hooks","issue_events_url":"https://api.github.com/repos/Wikia/app/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/app/events","assignees_url":"https://api.github.com/repos/Wikia/app/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/app/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/app/tags","blobs_url":"https://api.github.com/repos/Wikia/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/app/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/app/languages","stargazers_url":"https://api.github.com/repos/Wikia/app/stargazers","contributors_url":"https://api.github.com/repos/Wikia/app/contributors","subscribers_url":"https://api.github.com/repos/Wikia/app/subscribers","subscription_url":"https://api.github.com/repos/Wikia/app/subscription","commits_url":"https://api.github.com/repos/Wikia/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/app/issues/comments/{number}","contents_url":"https://api.github.com/repos/Wikia/app/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/app/merges","archive_url":"https://api.github.com/repos/Wikia/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/app/downloads","issues_url":"https://api.github.com/repos/Wikia/app/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/app/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/app/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/app/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/app/releases{/id}","created_at":"2012-08-23T20:55:58Z","updated_at":"2015-01-23T12:30:02Z","pushed_at":"2015-01-23T13:05:30Z","git_url":"git://github.com/Wikia/app.git","ssh_url":"git@github.com:Wikia/app.git","clone_url":"https://github.com/Wikia/app.git","svn_url":"https://github.com/Wikia/app","homepage":"http://dev.wikia.com","size":1304651,"stargazers_count":69,"watchers_count":69,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":58,"forks":49,"open_issues":58,"watchers":69,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/app/pulls/5799"},"html":{"href":"https://github.com/Wikia/app/pull/5799"},"issue":{"href":"https://api.github.com/repos/Wikia/app/issues/5799"},"comments":{"href":"https://api.github.com/repos/Wikia/app/issues/5799/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/app/pulls/5799/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/app/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Wikia/app/pulls/5799/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/app/statuses/feaef37d9bbac778e9723997571d40e370b54994"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":5,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}