{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/comments/77803477","id":77803477,"diff_hunk":"@@ -161,6 +166,7 @@ def self.empty\n       \"time\" => nil,\n       \"source_modified_time\" => 0,\n       \"HEAD\" => nil,\n+      \"alias_path\" => nil,","path":"Library/Homebrew/tab.rb","position":23,"original_position":23,"commit_id":"c58bbdc2138d2eb21ab7ea499beb6994a01891c4","original_commit_id":"c58bbdc2138d2eb21ab7ea499beb6994a01891c4","user":{"login":"MikeMcQuaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true},"body":"I'd maybe put this in `source` below and perhaps consider overriding `path` there unless it would break existing functionality relying on this in the tab.","created_at":"2016-09-07T11:22:12Z","updated_at":"2016-09-07T11:22:12Z","html_url":"https://github.com/Homebrew/brew/pull/863#discussion_r77803477","pull_request_url":"https://api.github.com/repos/Homebrew/brew/pulls/863","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/comments/77803477"},"html":{"href":"https://github.com/Homebrew/brew/pull/863#discussion_r77803477"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/863"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/863","id":83905065,"html_url":"https://github.com/Homebrew/brew/pull/863","diff_url":"https://github.com/Homebrew/brew/pull/863.diff","patch_url":"https://github.com/Homebrew/brew/pull/863.patch","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/863","number":863,"state":"open","locked":false,"title":"Save aliases in INSTALL_RECEIPT","user":{"login":"penman","id":2768870,"avatar_url":"https://avatars.githubusercontent.com/u/2768870?v=3","gravatar_id":"","url":"https://api.github.com/users/penman","html_url":"https://github.com/penman","followers_url":"https://api.github.com/users/penman/followers","following_url":"https://api.github.com/users/penman/following{/other_user}","gists_url":"https://api.github.com/users/penman/gists{/gist_id}","starred_url":"https://api.github.com/users/penman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penman/subscriptions","organizations_url":"https://api.github.com/users/penman/orgs","repos_url":"https://api.github.com/users/penman/repos","events_url":"https://api.github.com/users/penman/events{/privacy}","received_events_url":"https://api.github.com/users/penman/received_events","type":"User","site_admin":false},"body":"- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/brew/blob/master/.github/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/brew/pulls) for the same change?\r\n- [x] Have you added an explanation of what your changes do and why you'd like us to include them?\r\n- [x] Have you written new tests for your changes? [Here's an example](https://github.com/Homebrew/homebrew/pull/49031).\r\n- [x] Have you successfully run `brew tests` with your changes locally?\r\n\r\n-----\r\n\r\nThis is part of #567 (but not all of it ⏤ I wanted to PR this bit so that I could get feedback since I haven't worked with this codebase before).\r\n\r\nThis PR adds an `install_name` key to INSTALL_RECEIPT. Usually this will just be set to the name of the formula, but if it was installed as an alias, the `install_name` will be set to the alias instead.\r\n\r\nImplementation-wise, I wasn't sure about how best to set the `install_name` on a `Formula` instance (which seemed like the only appropriate place to store it). I thought the best way would probably be a keyword argument, but it could also be a standard optional argument, or an `attr_accessor`. I'm open to suggestions if there's a better way.","created_at":"2016-09-03T20:23:36Z","updated_at":"2016-09-07T11:22:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c06c6e92ac306d0e9a15fb444a1c6801fbade3bb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/brew/pulls/863/commits","review_comments_url":"https://api.github.com/repos/Homebrew/brew/pulls/863/comments","review_comment_url":"https://api.github.com/repos/Homebrew/brew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/863/comments","statuses_url":"https://api.github.com/repos/Homebrew/brew/statuses/c58bbdc2138d2eb21ab7ea499beb6994a01891c4","head":{"label":"penman:preserve_alias","ref":"preserve_alias","sha":"c58bbdc2138d2eb21ab7ea499beb6994a01891c4","user":{"login":"penman","id":2768870,"avatar_url":"https://avatars.githubusercontent.com/u/2768870?v=3","gravatar_id":"","url":"https://api.github.com/users/penman","html_url":"https://github.com/penman","followers_url":"https://api.github.com/users/penman/followers","following_url":"https://api.github.com/users/penman/following{/other_user}","gists_url":"https://api.github.com/users/penman/gists{/gist_id}","starred_url":"https://api.github.com/users/penman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penman/subscriptions","organizations_url":"https://api.github.com/users/penman/orgs","repos_url":"https://api.github.com/users/penman/repos","events_url":"https://api.github.com/users/penman/events{/privacy}","received_events_url":"https://api.github.com/users/penman/received_events","type":"User","site_admin":false},"repo":{"id":67066211,"name":"brew","full_name":"penman/brew","owner":{"login":"penman","id":2768870,"avatar_url":"https://avatars.githubusercontent.com/u/2768870?v=3","gravatar_id":"","url":"https://api.github.com/users/penman","html_url":"https://github.com/penman","followers_url":"https://api.github.com/users/penman/followers","following_url":"https://api.github.com/users/penman/following{/other_user}","gists_url":"https://api.github.com/users/penman/gists{/gist_id}","starred_url":"https://api.github.com/users/penman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penman/subscriptions","organizations_url":"https://api.github.com/users/penman/orgs","repos_url":"https://api.github.com/users/penman/repos","events_url":"https://api.github.com/users/penman/events{/privacy}","received_events_url":"https://api.github.com/users/penman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/penman/brew","description":":beer: The missing package manager for OS X","fork":true,"url":"https://api.github.com/repos/penman/brew","forks_url":"https://api.github.com/repos/penman/brew/forks","keys_url":"https://api.github.com/repos/penman/brew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/penman/brew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/penman/brew/teams","hooks_url":"https://api.github.com/repos/penman/brew/hooks","issue_events_url":"https://api.github.com/repos/penman/brew/issues/events{/number}","events_url":"https://api.github.com/repos/penman/brew/events","assignees_url":"https://api.github.com/repos/penman/brew/assignees{/user}","branches_url":"https://api.github.com/repos/penman/brew/branches{/branch}","tags_url":"https://api.github.com/repos/penman/brew/tags","blobs_url":"https://api.github.com/repos/penman/brew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/penman/brew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/penman/brew/git/refs{/sha}","trees_url":"https://api.github.com/repos/penman/brew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/penman/brew/statuses/{sha}","languages_url":"https://api.github.com/repos/penman/brew/languages","stargazers_url":"https://api.github.com/repos/penman/brew/stargazers","contributors_url":"https://api.github.com/repos/penman/brew/contributors","subscribers_url":"https://api.github.com/repos/penman/brew/subscribers","subscription_url":"https://api.github.com/repos/penman/brew/subscription","commits_url":"https://api.github.com/repos/penman/brew/commits{/sha}","git_commits_url":"https://api.github.com/repos/penman/brew/git/commits{/sha}","comments_url":"https://api.github.com/repos/penman/brew/comments{/number}","issue_comment_url":"https://api.github.com/repos/penman/brew/issues/comments{/number}","contents_url":"https://api.github.com/repos/penman/brew/contents/{+path}","compare_url":"https://api.github.com/repos/penman/brew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/penman/brew/merges","archive_url":"https://api.github.com/repos/penman/brew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/penman/brew/downloads","issues_url":"https://api.github.com/repos/penman/brew/issues{/number}","pulls_url":"https://api.github.com/repos/penman/brew/pulls{/number}","milestones_url":"https://api.github.com/repos/penman/brew/milestones{/number}","notifications_url":"https://api.github.com/repos/penman/brew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/penman/brew/labels{/name}","releases_url":"https://api.github.com/repos/penman/brew/releases{/id}","deployments_url":"https://api.github.com/repos/penman/brew/deployments","created_at":"2016-08-31T19:16:17Z","updated_at":"2016-08-31T19:16:19Z","pushed_at":"2016-09-05T21:20:43Z","git_url":"git://github.com/penman/brew.git","ssh_url":"git@github.com:penman/brew.git","clone_url":"https://github.com/penman/brew.git","svn_url":"https://github.com/penman/brew","homepage":"http://brew.sh","size":16206,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"Homebrew:master","ref":"master","sha":"dfcbefff73e90eda5801d9892303e10fc31831b6","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":53238813,"name":"brew","full_name":"Homebrew/brew","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/brew","description":":beer: The missing package manager for OS X","fork":false,"url":"https://api.github.com/repos/Homebrew/brew","forks_url":"https://api.github.com/repos/Homebrew/brew/forks","keys_url":"https://api.github.com/repos/Homebrew/brew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/brew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/brew/teams","hooks_url":"https://api.github.com/repos/Homebrew/brew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/brew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/brew/events","assignees_url":"https://api.github.com/repos/Homebrew/brew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/brew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/brew/tags","blobs_url":"https://api.github.com/repos/Homebrew/brew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/brew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/brew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/brew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/brew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/brew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/brew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/brew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/brew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/brew/subscription","commits_url":"https://api.github.com/repos/Homebrew/brew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/brew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/brew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/brew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/brew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/brew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/brew/merges","archive_url":"https://api.github.com/repos/Homebrew/brew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/brew/downloads","issues_url":"https://api.github.com/repos/Homebrew/brew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/brew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/brew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/brew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/brew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/brew/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/brew/deployments","created_at":"2016-03-06T05:08:38Z","updated_at":"2016-09-07T09:06:36Z","pushed_at":"2016-09-07T11:20:14Z","git_url":"git://github.com/Homebrew/brew.git","ssh_url":"git@github.com:Homebrew/brew.git","clone_url":"https://github.com/Homebrew/brew.git","svn_url":"https://github.com/Homebrew/brew","homepage":"http://brew.sh","size":16929,"stargazers_count":2985,"watchers_count":2985,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":876,"mirror_url":null,"open_issues_count":37,"forks":876,"open_issues":37,"watchers":2985,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/863"},"html":{"href":"https://github.com/Homebrew/brew/pull/863"},"issue":{"href":"https://api.github.com/repos/Homebrew/brew/issues/863"},"comments":{"href":"https://api.github.com/repos/Homebrew/brew/issues/863/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/863/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/863/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/brew/statuses/c58bbdc2138d2eb21ab7ea499beb6994a01891c4"}}}}
{"actor":{"display_login":"MikeMcQuaid"}}