{"action":"created","comment":{"url":"https://api.github.com/repos/apple/swift/pulls/comments/48491064","id":48491064,"diff_hunk":"@@ -2249,10 +2249,10 @@ if [[ \"${INSTALLABLE_PACKAGE}\" ]] ; then\n       fi \n \n       (cd \"${INSTALL_DESTDIR}\" &&\n-        tar -c -z -f \"${INSTALLABLE_PACKAGE}\" \"${TOOLCHAIN_PREFIX/#\\/}\")\n+        tar -c -J -f \"${INSTALLABLE_PACKAGE}\" \"${TOOLCHAIN_PREFIX/#\\/}\")","path":"utils/build-script-impl","position":5,"original_position":5,"commit_id":"08ec978c37bef03b583f80099f248c5a8bdd5826","original_commit_id":"08ec978c37bef03b583f80099f248c5a8bdd5826","user":{"login":"gribozavr","id":1120569,"avatar_url":"https://avatars.githubusercontent.com/u/1120569?v=3","gravatar_id":"","url":"https://api.github.com/users/gribozavr","html_url":"https://github.com/gribozavr","followers_url":"https://api.github.com/users/gribozavr/followers","following_url":"https://api.github.com/users/gribozavr/following{/other_user}","gists_url":"https://api.github.com/users/gribozavr/gists{/gist_id}","starred_url":"https://api.github.com/users/gribozavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gribozavr/subscriptions","organizations_url":"https://api.github.com/users/gribozavr/orgs","repos_url":"https://api.github.com/users/gribozavr/repos","events_url":"https://api.github.com/users/gribozavr/events{/privacy}","received_events_url":"https://api.github.com/users/gribozavr/received_events","type":"User","site_admin":false},"body":"This is a branch specific to OS X.  `tar` on OS X does not support the `-J` flag.","created_at":"2015-12-28T16:57:06Z","updated_at":"2015-12-28T16:57:06Z","html_url":"https://github.com/apple/swift/pull/801#discussion_r48491064","pull_request_url":"https://api.github.com/repos/apple/swift/pulls/801","_links":{"self":{"href":"https://api.github.com/repos/apple/swift/pulls/comments/48491064"},"html":{"href":"https://github.com/apple/swift/pull/801#discussion_r48491064"},"pull_request":{"href":"https://api.github.com/repos/apple/swift/pulls/801"}}},"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/801","id":54660475,"html_url":"https://github.com/apple/swift/pull/801","diff_url":"https://github.com/apple/swift/pull/801.diff","patch_url":"https://github.com/apple/swift/pull/801.patch","issue_url":"https://api.github.com/repos/apple/swift/issues/801","number":801,"state":"open","locked":false,"title":"[build-script] Reduce the size of development snapshots","user":{"login":"RLovelett","id":335572,"avatar_url":"https://avatars.githubusercontent.com/u/335572?v=3","gravatar_id":"","url":"https://api.github.com/users/RLovelett","html_url":"https://github.com/RLovelett","followers_url":"https://api.github.com/users/RLovelett/followers","following_url":"https://api.github.com/users/RLovelett/following{/other_user}","gists_url":"https://api.github.com/users/RLovelett/gists{/gist_id}","starred_url":"https://api.github.com/users/RLovelett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RLovelett/subscriptions","organizations_url":"https://api.github.com/users/RLovelett/orgs","repos_url":"https://api.github.com/users/RLovelett/repos","events_url":"https://api.github.com/users/RLovelett/events{/privacy}","received_events_url":"https://api.github.com/users/RLovelett/received_events","type":"User","site_admin":false},"body":"Currently development snapshots for Linux are provided as `*.tar.gz` files (Gzip compression). This patch switches the archive format to `*.tar.xz` (LZMA2 compression).\r\n\r\nThere are lots of discussions out there that talk about why LZMA2 format might be preferred over Gzip so I'll omit them here.\r\n\r\nFor this project, the major benefit is an [approximate 46% reduction](http://www.wolframalpha.com/input/?i=percent+difference&f1=60306748&f=PercentDifference.number1_60306748&f2=88476335&f=PercentDifference.number2_88476335) in the source snapshots provided on Swift.org (from ~85MB to ~58MB). The trade-off is that it does add a little bit of time to the build, on my machine it amounts to another minute or so. Considering that the over-all build currently takes longer than an hour I would consider this addition \"in-the-noise\" and a fair trade off. Your experience and opinion may differ. Additionally another often cited negative about LZMA2 vs Gzip is compatibility. Both of the targeted Linux builds `tar` utilities support LZMA2.\r\n\r\nMy expectation is that the number of downloads is much much greater than than the number of people building from source and packaging. With that in mind this seems like an easy gain with little downside.","created_at":"2015-12-28T14:59:01Z","updated_at":"2015-12-28T16:57:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3aa044e08e0af287461918fc6647a5a5ada9384c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift/pulls/801/commits","review_comments_url":"https://api.github.com/repos/apple/swift/pulls/801/comments","review_comment_url":"https://api.github.com/repos/apple/swift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift/issues/801/comments","statuses_url":"https://api.github.com/repos/apple/swift/statuses/08ec978c37bef03b583f80099f248c5a8bdd5826","head":{"label":"RLovelett:xz-vs-gz","ref":"xz-vs-gz","sha":"08ec978c37bef03b583f80099f248c5a8bdd5826","user":{"login":"RLovelett","id":335572,"avatar_url":"https://avatars.githubusercontent.com/u/335572?v=3","gravatar_id":"","url":"https://api.github.com/users/RLovelett","html_url":"https://github.com/RLovelett","followers_url":"https://api.github.com/users/RLovelett/followers","following_url":"https://api.github.com/users/RLovelett/following{/other_user}","gists_url":"https://api.github.com/users/RLovelett/gists{/gist_id}","starred_url":"https://api.github.com/users/RLovelett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RLovelett/subscriptions","organizations_url":"https://api.github.com/users/RLovelett/orgs","repos_url":"https://api.github.com/users/RLovelett/repos","events_url":"https://api.github.com/users/RLovelett/events{/privacy}","received_events_url":"https://api.github.com/users/RLovelett/received_events","type":"User","site_admin":false},"repo":{"id":47842086,"name":"swift","full_name":"RLovelett/swift","owner":{"login":"RLovelett","id":335572,"avatar_url":"https://avatars.githubusercontent.com/u/335572?v=3","gravatar_id":"","url":"https://api.github.com/users/RLovelett","html_url":"https://github.com/RLovelett","followers_url":"https://api.github.com/users/RLovelett/followers","following_url":"https://api.github.com/users/RLovelett/following{/other_user}","gists_url":"https://api.github.com/users/RLovelett/gists{/gist_id}","starred_url":"https://api.github.com/users/RLovelett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RLovelett/subscriptions","organizations_url":"https://api.github.com/users/RLovelett/orgs","repos_url":"https://api.github.com/users/RLovelett/repos","events_url":"https://api.github.com/users/RLovelett/events{/privacy}","received_events_url":"https://api.github.com/users/RLovelett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RLovelett/swift","description":"The Swift Programming Language","fork":true,"url":"https://api.github.com/repos/RLovelett/swift","forks_url":"https://api.github.com/repos/RLovelett/swift/forks","keys_url":"https://api.github.com/repos/RLovelett/swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RLovelett/swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RLovelett/swift/teams","hooks_url":"https://api.github.com/repos/RLovelett/swift/hooks","issue_events_url":"https://api.github.com/repos/RLovelett/swift/issues/events{/number}","events_url":"https://api.github.com/repos/RLovelett/swift/events","assignees_url":"https://api.github.com/repos/RLovelett/swift/assignees{/user}","branches_url":"https://api.github.com/repos/RLovelett/swift/branches{/branch}","tags_url":"https://api.github.com/repos/RLovelett/swift/tags","blobs_url":"https://api.github.com/repos/RLovelett/swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RLovelett/swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RLovelett/swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/RLovelett/swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RLovelett/swift/statuses/{sha}","languages_url":"https://api.github.com/repos/RLovelett/swift/languages","stargazers_url":"https://api.github.com/repos/RLovelett/swift/stargazers","contributors_url":"https://api.github.com/repos/RLovelett/swift/contributors","subscribers_url":"https://api.github.com/repos/RLovelett/swift/subscribers","subscription_url":"https://api.github.com/repos/RLovelett/swift/subscription","commits_url":"https://api.github.com/repos/RLovelett/swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/RLovelett/swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/RLovelett/swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/RLovelett/swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/RLovelett/swift/contents/{+path}","compare_url":"https://api.github.com/repos/RLovelett/swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RLovelett/swift/merges","archive_url":"https://api.github.com/repos/RLovelett/swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RLovelett/swift/downloads","issues_url":"https://api.github.com/repos/RLovelett/swift/issues{/number}","pulls_url":"https://api.github.com/repos/RLovelett/swift/pulls{/number}","milestones_url":"https://api.github.com/repos/RLovelett/swift/milestones{/number}","notifications_url":"https://api.github.com/repos/RLovelett/swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RLovelett/swift/labels{/name}","releases_url":"https://api.github.com/repos/RLovelett/swift/releases{/id}","created_at":"2015-12-11T17:50:41Z","updated_at":"2015-12-11T17:50:56Z","pushed_at":"2015-12-28T16:36:59Z","git_url":"git://github.com/RLovelett/swift.git","ssh_url":"git@github.com:RLovelett/swift.git","clone_url":"https://github.com/RLovelett/swift.git","svn_url":"https://github.com/RLovelett/swift","homepage":"https://swift.org/","size":64705,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"apple:master","ref":"master","sha":"58e7032703fe36a019545010aa97f835091eb9e7","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":44838949,"name":"swift","full_name":"apple/swift","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift","description":"The Swift Programming Language","fork":false,"url":"https://api.github.com/repos/apple/swift","forks_url":"https://api.github.com/repos/apple/swift/forks","keys_url":"https://api.github.com/repos/apple/swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift/teams","hooks_url":"https://api.github.com/repos/apple/swift/hooks","issue_events_url":"https://api.github.com/repos/apple/swift/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift/events","assignees_url":"https://api.github.com/repos/apple/swift/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift/tags","blobs_url":"https://api.github.com/repos/apple/swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift/languages","stargazers_url":"https://api.github.com/repos/apple/swift/stargazers","contributors_url":"https://api.github.com/repos/apple/swift/contributors","subscribers_url":"https://api.github.com/repos/apple/swift/subscribers","subscription_url":"https://api.github.com/repos/apple/swift/subscription","commits_url":"https://api.github.com/repos/apple/swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift/merges","archive_url":"https://api.github.com/repos/apple/swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift/downloads","issues_url":"https://api.github.com/repos/apple/swift/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift/releases{/id}","created_at":"2015-10-23T21:15:07Z","updated_at":"2015-12-28T16:51:17Z","pushed_at":"2015-12-28T16:55:10Z","git_url":"git://github.com/apple/swift.git","ssh_url":"git@github.com:apple/swift.git","clone_url":"https://github.com/apple/swift.git","svn_url":"https://github.com/apple/swift","homepage":"https://swift.org/","size":83158,"stargazers_count":24697,"watchers_count":24697,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3035,"mirror_url":null,"open_issues_count":53,"forks":3035,"open_issues":53,"watchers":24697,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift/pulls/801"},"html":{"href":"https://github.com/apple/swift/pull/801"},"issue":{"href":"https://api.github.com/repos/apple/swift/issues/801"},"comments":{"href":"https://api.github.com/repos/apple/swift/issues/801/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift/pulls/801/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift/pulls/801/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift/statuses/08ec978c37bef03b583f80099f248c5a8bdd5826"}}}}