{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/reasonml/esy/pulls/11","id":110264353,"html_url":"https://github.com/reasonml/esy/pull/11","diff_url":"https://github.com/reasonml/esy/pull/11.diff","patch_url":"https://github.com/reasonml/esy/pull/11.patch","issue_url":"https://api.github.com/repos/reasonml/esy/issues/11","number":11,"state":"closed","locked":false,"title":"Reduce env size","user":{"login":"andreypopp","id":30594,"avatar_url":"https://avatars3.githubusercontent.com/u/30594?v=3","gravatar_id":"","url":"https://api.github.com/users/andreypopp","html_url":"https://github.com/andreypopp","followers_url":"https://api.github.com/users/andreypopp/followers","following_url":"https://api.github.com/users/andreypopp/following{/other_user}","gists_url":"https://api.github.com/users/andreypopp/gists{/gist_id}","starred_url":"https://api.github.com/users/andreypopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreypopp/subscriptions","organizations_url":"https://api.github.com/users/andreypopp/orgs","repos_url":"https://api.github.com/users/andreypopp/repos","events_url":"https://api.github.com/users/andreypopp/events{/privacy}","received_events_url":"https://api.github.com/users/andreypopp/received_events","type":"User","site_admin":false},"body":"Previously we had `$pkg__{lib,bin,...}` vars but that results in huge environments which hit `ARG_MAX` restriction on large dep graphs. Now we use `$pkg__install/{lib,bin,...}` instead. That's less flexible — we specify installation directory structure — but results in much smaller env size.\r\n\r\nThis is also should be reflected in PJC spec.\r\n\r\nTest plan:\r\n* Clone `esy-ocaml-project`\r\n* `esy add @opam-alpha/cohttp`\r\n* `esy build` — this shouldn't fail\r\n\r\ncc @sgroove","created_at":"2017-03-11T16:17:32Z","updated_at":"2017-03-12T07:35:27Z","closed_at":"2017-03-12T07:35:27Z","merged_at":"2017-03-12T07:35:27Z","merge_commit_sha":"d9bcbb81209a47ad7ca8d2e64c9f3889f26ff374","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/reasonml/esy/pulls/11/commits","review_comments_url":"https://api.github.com/repos/reasonml/esy/pulls/11/comments","review_comment_url":"https://api.github.com/repos/reasonml/esy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reasonml/esy/issues/11/comments","statuses_url":"https://api.github.com/repos/reasonml/esy/statuses/2bab376f0e7f949253b938ef2cb3e9497d49d6b4","head":{"label":"reasonml:reduce-env-size","ref":"reduce-env-size","sha":"2bab376f0e7f949253b938ef2cb3e9497d49d6b4","user":{"login":"reasonml","id":20414525,"avatar_url":"https://avatars3.githubusercontent.com/u/20414525?v=3","gravatar_id":"","url":"https://api.github.com/users/reasonml","html_url":"https://github.com/reasonml","followers_url":"https://api.github.com/users/reasonml/followers","following_url":"https://api.github.com/users/reasonml/following{/other_user}","gists_url":"https://api.github.com/users/reasonml/gists{/gist_id}","starred_url":"https://api.github.com/users/reasonml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reasonml/subscriptions","organizations_url":"https://api.github.com/users/reasonml/orgs","repos_url":"https://api.github.com/users/reasonml/repos","events_url":"https://api.github.com/users/reasonml/events{/privacy}","received_events_url":"https://api.github.com/users/reasonml/received_events","type":"Organization","site_admin":false},"repo":{"id":81969784,"name":"esy","full_name":"reasonml/esy","owner":{"login":"reasonml","id":20414525,"avatar_url":"https://avatars3.githubusercontent.com/u/20414525?v=3","gravatar_id":"","url":"https://api.github.com/users/reasonml","html_url":"https://github.com/reasonml","followers_url":"https://api.github.com/users/reasonml/followers","following_url":"https://api.github.com/users/reasonml/following{/other_user}","gists_url":"https://api.github.com/users/reasonml/gists{/gist_id}","starred_url":"https://api.github.com/users/reasonml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reasonml/subscriptions","organizations_url":"https://api.github.com/users/reasonml/orgs","repos_url":"https://api.github.com/users/reasonml/repos","events_url":"https://api.github.com/users/reasonml/events{/privacy}","received_events_url":"https://api.github.com/users/reasonml/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reasonml/esy","description":"📦🐈 Fast, reliable, and secure dependency management.","fork":true,"url":"https://api.github.com/repos/reasonml/esy","forks_url":"https://api.github.com/repos/reasonml/esy/forks","keys_url":"https://api.github.com/repos/reasonml/esy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reasonml/esy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reasonml/esy/teams","hooks_url":"https://api.github.com/repos/reasonml/esy/hooks","issue_events_url":"https://api.github.com/repos/reasonml/esy/issues/events{/number}","events_url":"https://api.github.com/repos/reasonml/esy/events","assignees_url":"https://api.github.com/repos/reasonml/esy/assignees{/user}","branches_url":"https://api.github.com/repos/reasonml/esy/branches{/branch}","tags_url":"https://api.github.com/repos/reasonml/esy/tags","blobs_url":"https://api.github.com/repos/reasonml/esy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reasonml/esy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reasonml/esy/git/refs{/sha}","trees_url":"https://api.github.com/repos/reasonml/esy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reasonml/esy/statuses/{sha}","languages_url":"https://api.github.com/repos/reasonml/esy/languages","stargazers_url":"https://api.github.com/repos/reasonml/esy/stargazers","contributors_url":"https://api.github.com/repos/reasonml/esy/contributors","subscribers_url":"https://api.github.com/repos/reasonml/esy/subscribers","subscription_url":"https://api.github.com/repos/reasonml/esy/subscription","commits_url":"https://api.github.com/repos/reasonml/esy/commits{/sha}","git_commits_url":"https://api.github.com/repos/reasonml/esy/git/commits{/sha}","comments_url":"https://api.github.com/repos/reasonml/esy/comments{/number}","issue_comment_url":"https://api.github.com/repos/reasonml/esy/issues/comments{/number}","contents_url":"https://api.github.com/repos/reasonml/esy/contents/{+path}","compare_url":"https://api.github.com/repos/reasonml/esy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reasonml/esy/merges","archive_url":"https://api.github.com/repos/reasonml/esy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reasonml/esy/downloads","issues_url":"https://api.github.com/repos/reasonml/esy/issues{/number}","pulls_url":"https://api.github.com/repos/reasonml/esy/pulls{/number}","milestones_url":"https://api.github.com/repos/reasonml/esy/milestones{/number}","notifications_url":"https://api.github.com/repos/reasonml/esy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reasonml/esy/labels{/name}","releases_url":"https://api.github.com/repos/reasonml/esy/releases{/id}","deployments_url":"https://api.github.com/repos/reasonml/esy/deployments","created_at":"2017-02-14T17:14:24Z","updated_at":"2017-03-10T17:01:00Z","pushed_at":"2017-03-12T07:35:27Z","git_url":"git://github.com/reasonml/esy.git","ssh_url":"git@github.com:reasonml/esy.git","clone_url":"https://github.com/reasonml/esy.git","svn_url":"https://github.com/reasonml/esy","homepage":"https://yarnpkg.com","size":49188,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":14,"default_branch":"esy"}},"base":{"label":"reasonml:esy","ref":"esy","sha":"701445c8bb5e0b9be8ead2a558409717321a39ae","user":{"login":"reasonml","id":20414525,"avatar_url":"https://avatars3.githubusercontent.com/u/20414525?v=3","gravatar_id":"","url":"https://api.github.com/users/reasonml","html_url":"https://github.com/reasonml","followers_url":"https://api.github.com/users/reasonml/followers","following_url":"https://api.github.com/users/reasonml/following{/other_user}","gists_url":"https://api.github.com/users/reasonml/gists{/gist_id}","starred_url":"https://api.github.com/users/reasonml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reasonml/subscriptions","organizations_url":"https://api.github.com/users/reasonml/orgs","repos_url":"https://api.github.com/users/reasonml/repos","events_url":"https://api.github.com/users/reasonml/events{/privacy}","received_events_url":"https://api.github.com/users/reasonml/received_events","type":"Organization","site_admin":false},"repo":{"id":81969784,"name":"esy","full_name":"reasonml/esy","owner":{"login":"reasonml","id":20414525,"avatar_url":"https://avatars3.githubusercontent.com/u/20414525?v=3","gravatar_id":"","url":"https://api.github.com/users/reasonml","html_url":"https://github.com/reasonml","followers_url":"https://api.github.com/users/reasonml/followers","following_url":"https://api.github.com/users/reasonml/following{/other_user}","gists_url":"https://api.github.com/users/reasonml/gists{/gist_id}","starred_url":"https://api.github.com/users/reasonml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reasonml/subscriptions","organizations_url":"https://api.github.com/users/reasonml/orgs","repos_url":"https://api.github.com/users/reasonml/repos","events_url":"https://api.github.com/users/reasonml/events{/privacy}","received_events_url":"https://api.github.com/users/reasonml/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reasonml/esy","description":"📦🐈 Fast, reliable, and secure dependency management.","fork":true,"url":"https://api.github.com/repos/reasonml/esy","forks_url":"https://api.github.com/repos/reasonml/esy/forks","keys_url":"https://api.github.com/repos/reasonml/esy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reasonml/esy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reasonml/esy/teams","hooks_url":"https://api.github.com/repos/reasonml/esy/hooks","issue_events_url":"https://api.github.com/repos/reasonml/esy/issues/events{/number}","events_url":"https://api.github.com/repos/reasonml/esy/events","assignees_url":"https://api.github.com/repos/reasonml/esy/assignees{/user}","branches_url":"https://api.github.com/repos/reasonml/esy/branches{/branch}","tags_url":"https://api.github.com/repos/reasonml/esy/tags","blobs_url":"https://api.github.com/repos/reasonml/esy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reasonml/esy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reasonml/esy/git/refs{/sha}","trees_url":"https://api.github.com/repos/reasonml/esy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reasonml/esy/statuses/{sha}","languages_url":"https://api.github.com/repos/reasonml/esy/languages","stargazers_url":"https://api.github.com/repos/reasonml/esy/stargazers","contributors_url":"https://api.github.com/repos/reasonml/esy/contributors","subscribers_url":"https://api.github.com/repos/reasonml/esy/subscribers","subscription_url":"https://api.github.com/repos/reasonml/esy/subscription","commits_url":"https://api.github.com/repos/reasonml/esy/commits{/sha}","git_commits_url":"https://api.github.com/repos/reasonml/esy/git/commits{/sha}","comments_url":"https://api.github.com/repos/reasonml/esy/comments{/number}","issue_comment_url":"https://api.github.com/repos/reasonml/esy/issues/comments{/number}","contents_url":"https://api.github.com/repos/reasonml/esy/contents/{+path}","compare_url":"https://api.github.com/repos/reasonml/esy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reasonml/esy/merges","archive_url":"https://api.github.com/repos/reasonml/esy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reasonml/esy/downloads","issues_url":"https://api.github.com/repos/reasonml/esy/issues{/number}","pulls_url":"https://api.github.com/repos/reasonml/esy/pulls{/number}","milestones_url":"https://api.github.com/repos/reasonml/esy/milestones{/number}","notifications_url":"https://api.github.com/repos/reasonml/esy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reasonml/esy/labels{/name}","releases_url":"https://api.github.com/repos/reasonml/esy/releases{/id}","deployments_url":"https://api.github.com/repos/reasonml/esy/deployments","created_at":"2017-02-14T17:14:24Z","updated_at":"2017-03-10T17:01:00Z","pushed_at":"2017-03-12T07:35:27Z","git_url":"git://github.com/reasonml/esy.git","ssh_url":"git@github.com:reasonml/esy.git","clone_url":"https://github.com/reasonml/esy.git","svn_url":"https://github.com/reasonml/esy","homepage":"https://yarnpkg.com","size":49188,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":14,"default_branch":"esy"}},"_links":{"self":{"href":"https://api.github.com/repos/reasonml/esy/pulls/11"},"html":{"href":"https://github.com/reasonml/esy/pull/11"},"issue":{"href":"https://api.github.com/repos/reasonml/esy/issues/11"},"comments":{"href":"https://api.github.com/repos/reasonml/esy/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/reasonml/esy/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/reasonml/esy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reasonml/esy/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/reasonml/esy/statuses/2bab376f0e7f949253b938ef2cb3e9497d49d6b4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jordwalke","id":977348,"avatar_url":"https://avatars0.githubusercontent.com/u/977348?v=3","gravatar_id":"","url":"https://api.github.com/users/jordwalke","html_url":"https://github.com/jordwalke","followers_url":"https://api.github.com/users/jordwalke/followers","following_url":"https://api.github.com/users/jordwalke/following{/other_user}","gists_url":"https://api.github.com/users/jordwalke/gists{/gist_id}","starred_url":"https://api.github.com/users/jordwalke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordwalke/subscriptions","organizations_url":"https://api.github.com/users/jordwalke/orgs","repos_url":"https://api.github.com/users/jordwalke/repos","events_url":"https://api.github.com/users/jordwalke/events{/privacy}","received_events_url":"https://api.github.com/users/jordwalke/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":26,"deletions":54,"changed_files":8}}
{"actor":{"display_login":"jordwalke"}}