{"action":"reopened","number":49150,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49150","id":59276119,"html_url":"https://github.com/Homebrew/homebrew/pull/49150","diff_url":"https://github.com/Homebrew/homebrew/pull/49150.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/49150.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49150","number":49150,"state":"open","locked":false,"title":"Allow the user to specify `HOMEBREW_PREFIX`","user":{"login":"caldwell","id":45445,"avatar_url":"https://avatars.githubusercontent.com/u/45445?v=3","gravatar_id":"","url":"https://api.github.com/users/caldwell","html_url":"https://github.com/caldwell","followers_url":"https://api.github.com/users/caldwell/followers","following_url":"https://api.github.com/users/caldwell/following{/other_user}","gists_url":"https://api.github.com/users/caldwell/gists{/gist_id}","starred_url":"https://api.github.com/users/caldwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caldwell/subscriptions","organizations_url":"https://api.github.com/users/caldwell/orgs","repos_url":"https://api.github.com/users/caldwell/repos","events_url":"https://api.github.com/users/caldwell/events{/privacy}","received_events_url":"https://api.github.com/users/caldwell/received_events","type":"User","site_admin":false},"body":"This is an alternative to #48953. The first 2 patches here are mostly NOPs. The last 2 make it so that if the user sets the `HOMEBREW_PREFIX` environment variable, brew just uses it instead of attempting to compute it itself. Similarly, `HOMEBREW_REPOSITORY` can be specified, but only in the case where brew is a symlink (which to my reading is the only time it is different from `HOMEBREW_PREFIX`.","created_at":"2016-02-13T19:46:40Z","updated_at":"2016-02-17T14:35:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2045117456e280738add3314692220563e03e6a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49150/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49150/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49150/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/d53c5cf8777f5e4294d3d2d1f036a82917f7018f","head":{"label":"caldwell:specify-paths","ref":"specify-paths","sha":"d53c5cf8777f5e4294d3d2d1f036a82917f7018f","user":{"login":"caldwell","id":45445,"avatar_url":"https://avatars.githubusercontent.com/u/45445?v=3","gravatar_id":"","url":"https://api.github.com/users/caldwell","html_url":"https://github.com/caldwell","followers_url":"https://api.github.com/users/caldwell/followers","following_url":"https://api.github.com/users/caldwell/following{/other_user}","gists_url":"https://api.github.com/users/caldwell/gists{/gist_id}","starred_url":"https://api.github.com/users/caldwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caldwell/subscriptions","organizations_url":"https://api.github.com/users/caldwell/orgs","repos_url":"https://api.github.com/users/caldwell/repos","events_url":"https://api.github.com/users/caldwell/events{/privacy}","received_events_url":"https://api.github.com/users/caldwell/received_events","type":"User","site_admin":false},"repo":{"id":8128965,"name":"homebrew","full_name":"caldwell/homebrew","owner":{"login":"caldwell","id":45445,"avatar_url":"https://avatars.githubusercontent.com/u/45445?v=3","gravatar_id":"","url":"https://api.github.com/users/caldwell","html_url":"https://github.com/caldwell","followers_url":"https://api.github.com/users/caldwell/followers","following_url":"https://api.github.com/users/caldwell/following{/other_user}","gists_url":"https://api.github.com/users/caldwell/gists{/gist_id}","starred_url":"https://api.github.com/users/caldwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caldwell/subscriptions","organizations_url":"https://api.github.com/users/caldwell/orgs","repos_url":"https://api.github.com/users/caldwell/repos","events_url":"https://api.github.com/users/caldwell/events{/privacy}","received_events_url":"https://api.github.com/users/caldwell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caldwell/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/caldwell/homebrew","forks_url":"https://api.github.com/repos/caldwell/homebrew/forks","keys_url":"https://api.github.com/repos/caldwell/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caldwell/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caldwell/homebrew/teams","hooks_url":"https://api.github.com/repos/caldwell/homebrew/hooks","issue_events_url":"https://api.github.com/repos/caldwell/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/caldwell/homebrew/events","assignees_url":"https://api.github.com/repos/caldwell/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/caldwell/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/caldwell/homebrew/tags","blobs_url":"https://api.github.com/repos/caldwell/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caldwell/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caldwell/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/caldwell/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caldwell/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/caldwell/homebrew/languages","stargazers_url":"https://api.github.com/repos/caldwell/homebrew/stargazers","contributors_url":"https://api.github.com/repos/caldwell/homebrew/contributors","subscribers_url":"https://api.github.com/repos/caldwell/homebrew/subscribers","subscription_url":"https://api.github.com/repos/caldwell/homebrew/subscription","commits_url":"https://api.github.com/repos/caldwell/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/caldwell/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/caldwell/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/caldwell/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/caldwell/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/caldwell/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caldwell/homebrew/merges","archive_url":"https://api.github.com/repos/caldwell/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caldwell/homebrew/downloads","issues_url":"https://api.github.com/repos/caldwell/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/caldwell/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/caldwell/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/caldwell/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caldwell/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/caldwell/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/caldwell/homebrew/deployments","created_at":"2013-02-10T22:18:54Z","updated_at":"2014-01-13T10:47:37Z","pushed_at":"2016-02-13T19:34:31Z","git_url":"git://github.com/caldwell/homebrew.git","ssh_url":"git@github.com:caldwell/homebrew.git","clone_url":"https://github.com/caldwell/homebrew.git","svn_url":"https://github.com/caldwell/homebrew","homepage":"http://mxcl.github.com/homebrew","size":70502,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"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":"Homebrew:master","ref":"master","sha":"71ed81d3f7d68014c57fb177292af4d1fdd52336","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew/deployments","created_at":"2009-05-20T19:38:37Z","updated_at":"2016-02-17T13:56:59Z","pushed_at":"2016-02-17T14:20:50Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1423849,"stargazers_count":29153,"watchers_count":29153,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":14354,"mirror_url":null,"open_issues_count":460,"forks":14354,"open_issues":460,"watchers":29153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49150"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/49150"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/49150"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/49150/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49150/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49150/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/d53c5cf8777f5e4294d3d2d1f036a82917f7018f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":6,"review_comments":0,"commits":4,"additions":6,"deletions":3,"changed_files":1}}