{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/comments/80362916","id":80362916,"diff_hunk":"@@ -0,0 +1,86 @@\n+# Hint at new location of migrated formulae\n+\n+## Introduction\n+\n+Users are confused when trying to install formulae known to have existed [1],\n+yet getting the \"No available formula\" error due to said formulae having been\n+migrated to another tap that has not been tapped. This proposal attempts to\n+make the experience less confusing.\n+\n+## Motivation\n+\n+When a formula `foo` is migrated to another tap, subsequent attempts to show\n+info or install it produce the unhelpful error\n+\n+```\n+Error: No available formula with the name \"foo\"\n+```\n+\n+This error is particularly confusing when it is known to the user that the\n+formula once existed.\n+\n+Meanwhile, knowledge about where `foo` was migrated to is already preserved in\n+`tap_migrations.json` of the former home of `foo`, so we can encourage the user\n+to look for `foo` in its new home.\n+\n+Note that currently `install` (but not `info`) follows up the \"No available\n+formula\" error with a search, but the experience is bad for several reasons:\n+\n+- `brew search` does not search in homebrew/boneyard, which accounts for half\n+  of the migrations from core;\n+- `brew search` is slow, especially for connections with high latency;\n+- Without `HOMEBREW_GITHUB_API_TOKEN`, a user can search for three or four","path":"015-hint-at-new-location-of-migrated-formulae.md","position":32,"original_position":32,"commit_id":"7017dd0c070e347a6868aa8cb01f1a389f5f12f8","original_commit_id":"7017dd0c070e347a6868aa8cb01f1a389f5f12f8","user":{"login":"zmwangx","id":4149852,"avatar_url":"https://avatars.githubusercontent.com/u/4149852?v=3","gravatar_id":"","url":"https://api.github.com/users/zmwangx","html_url":"https://github.com/zmwangx","followers_url":"https://api.github.com/users/zmwangx/followers","following_url":"https://api.github.com/users/zmwangx/following{/other_user}","gists_url":"https://api.github.com/users/zmwangx/gists{/gist_id}","starred_url":"https://api.github.com/users/zmwangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmwangx/subscriptions","organizations_url":"https://api.github.com/users/zmwangx/orgs","repos_url":"https://api.github.com/users/zmwangx/repos","events_url":"https://api.github.com/users/zmwangx/events{/privacy}","received_events_url":"https://api.github.com/users/zmwangx/received_events","type":"User","site_admin":false},"body":"Interesting, thanks for the pointer. Very handy.","created_at":"2016-09-24T15:28:38Z","updated_at":"2016-09-24T15:28:38Z","html_url":"https://github.com/Homebrew/brew-evolution/pull/15#discussion_r80362916","pull_request_url":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/comments/80362916"},"html":{"href":"https://github.com/Homebrew/brew-evolution/pull/15#discussion_r80362916"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/15","id":86221606,"html_url":"https://github.com/Homebrew/brew-evolution/pull/15","diff_url":"https://github.com/Homebrew/brew-evolution/pull/15.diff","patch_url":"https://github.com/Homebrew/brew-evolution/pull/15.patch","issue_url":"https://api.github.com/repos/Homebrew/brew-evolution/issues/15","number":15,"state":"open","locked":false,"title":"Hint at new location of migrated formulae","user":{"login":"zmwangx","id":4149852,"avatar_url":"https://avatars.githubusercontent.com/u/4149852?v=3","gravatar_id":"","url":"https://api.github.com/users/zmwangx","html_url":"https://github.com/zmwangx","followers_url":"https://api.github.com/users/zmwangx/followers","following_url":"https://api.github.com/users/zmwangx/following{/other_user}","gists_url":"https://api.github.com/users/zmwangx/gists{/gist_id}","starred_url":"https://api.github.com/users/zmwangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmwangx/subscriptions","organizations_url":"https://api.github.com/users/zmwangx/orgs","repos_url":"https://api.github.com/users/zmwangx/repos","events_url":"https://api.github.com/users/zmwangx/events{/privacy}","received_events_url":"https://api.github.com/users/zmwangx/received_events","type":"User","site_admin":false},"body":"Please read [the document](https://github.com/zmwangx/brew-evolution/blob/hint-at-new-location-of-migrated-formulae/015-hint-at-new-location-of-migrated-formulae.md).","created_at":"2016-09-21T19:00:22Z","updated_at":"2016-09-24T15:28:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3f4273f672c5d682e10507b8e119a9d452b7e64","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/brew-evolution/issues/15/comments","statuses_url":"https://api.github.com/repos/Homebrew/brew-evolution/statuses/7017dd0c070e347a6868aa8cb01f1a389f5f12f8","head":{"label":"zmwangx:hint-at-new-location-of-migrated-formulae","ref":"hint-at-new-location-of-migrated-formulae","sha":"7017dd0c070e347a6868aa8cb01f1a389f5f12f8","user":{"login":"zmwangx","id":4149852,"avatar_url":"https://avatars.githubusercontent.com/u/4149852?v=3","gravatar_id":"","url":"https://api.github.com/users/zmwangx","html_url":"https://github.com/zmwangx","followers_url":"https://api.github.com/users/zmwangx/followers","following_url":"https://api.github.com/users/zmwangx/following{/other_user}","gists_url":"https://api.github.com/users/zmwangx/gists{/gist_id}","starred_url":"https://api.github.com/users/zmwangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmwangx/subscriptions","organizations_url":"https://api.github.com/users/zmwangx/orgs","repos_url":"https://api.github.com/users/zmwangx/repos","events_url":"https://api.github.com/users/zmwangx/events{/privacy}","received_events_url":"https://api.github.com/users/zmwangx/received_events","type":"User","site_admin":false},"repo":{"id":68844313,"name":"brew-evolution","full_name":"zmwangx/brew-evolution","owner":{"login":"zmwangx","id":4149852,"avatar_url":"https://avatars.githubusercontent.com/u/4149852?v=3","gravatar_id":"","url":"https://api.github.com/users/zmwangx","html_url":"https://github.com/zmwangx","followers_url":"https://api.github.com/users/zmwangx/followers","following_url":"https://api.github.com/users/zmwangx/following{/other_user}","gists_url":"https://api.github.com/users/zmwangx/gists{/gist_id}","starred_url":"https://api.github.com/users/zmwangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmwangx/subscriptions","organizations_url":"https://api.github.com/users/zmwangx/orgs","repos_url":"https://api.github.com/users/zmwangx/repos","events_url":"https://api.github.com/users/zmwangx/events{/privacy}","received_events_url":"https://api.github.com/users/zmwangx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zmwangx/brew-evolution","description":":fast_forward: Proposals for changes to the Homebrew package manager.","fork":true,"url":"https://api.github.com/repos/zmwangx/brew-evolution","forks_url":"https://api.github.com/repos/zmwangx/brew-evolution/forks","keys_url":"https://api.github.com/repos/zmwangx/brew-evolution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zmwangx/brew-evolution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zmwangx/brew-evolution/teams","hooks_url":"https://api.github.com/repos/zmwangx/brew-evolution/hooks","issue_events_url":"https://api.github.com/repos/zmwangx/brew-evolution/issues/events{/number}","events_url":"https://api.github.com/repos/zmwangx/brew-evolution/events","assignees_url":"https://api.github.com/repos/zmwangx/brew-evolution/assignees{/user}","branches_url":"https://api.github.com/repos/zmwangx/brew-evolution/branches{/branch}","tags_url":"https://api.github.com/repos/zmwangx/brew-evolution/tags","blobs_url":"https://api.github.com/repos/zmwangx/brew-evolution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zmwangx/brew-evolution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zmwangx/brew-evolution/git/refs{/sha}","trees_url":"https://api.github.com/repos/zmwangx/brew-evolution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zmwangx/brew-evolution/statuses/{sha}","languages_url":"https://api.github.com/repos/zmwangx/brew-evolution/languages","stargazers_url":"https://api.github.com/repos/zmwangx/brew-evolution/stargazers","contributors_url":"https://api.github.com/repos/zmwangx/brew-evolution/contributors","subscribers_url":"https://api.github.com/repos/zmwangx/brew-evolution/subscribers","subscription_url":"https://api.github.com/repos/zmwangx/brew-evolution/subscription","commits_url":"https://api.github.com/repos/zmwangx/brew-evolution/commits{/sha}","git_commits_url":"https://api.github.com/repos/zmwangx/brew-evolution/git/commits{/sha}","comments_url":"https://api.github.com/repos/zmwangx/brew-evolution/comments{/number}","issue_comment_url":"https://api.github.com/repos/zmwangx/brew-evolution/issues/comments{/number}","contents_url":"https://api.github.com/repos/zmwangx/brew-evolution/contents/{+path}","compare_url":"https://api.github.com/repos/zmwangx/brew-evolution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zmwangx/brew-evolution/merges","archive_url":"https://api.github.com/repos/zmwangx/brew-evolution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zmwangx/brew-evolution/downloads","issues_url":"https://api.github.com/repos/zmwangx/brew-evolution/issues{/number}","pulls_url":"https://api.github.com/repos/zmwangx/brew-evolution/pulls{/number}","milestones_url":"https://api.github.com/repos/zmwangx/brew-evolution/milestones{/number}","notifications_url":"https://api.github.com/repos/zmwangx/brew-evolution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zmwangx/brew-evolution/labels{/name}","releases_url":"https://api.github.com/repos/zmwangx/brew-evolution/releases{/id}","deployments_url":"https://api.github.com/repos/zmwangx/brew-evolution/deployments","created_at":"2016-09-21T18:05:38Z","updated_at":"2016-09-16T15:50:50Z","pushed_at":"2016-09-22T09:15:12Z","git_url":"git://github.com/zmwangx/brew-evolution.git","ssh_url":"git@github.com:zmwangx/brew-evolution.git","clone_url":"https://github.com/zmwangx/brew-evolution.git","svn_url":"https://github.com/zmwangx/brew-evolution","homepage":"","size":19,"stargazers_count":0,"watchers_count":0,"language":null,"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":"27a42e018b026055b92cea99aade112ee0f1de98","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":59053694,"name":"brew-evolution","full_name":"Homebrew/brew-evolution","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-evolution","description":":fast_forward: Proposals for changes to the Homebrew package manager.","fork":false,"url":"https://api.github.com/repos/Homebrew/brew-evolution","forks_url":"https://api.github.com/repos/Homebrew/brew-evolution/forks","keys_url":"https://api.github.com/repos/Homebrew/brew-evolution/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/brew-evolution/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/brew-evolution/teams","hooks_url":"https://api.github.com/repos/Homebrew/brew-evolution/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/brew-evolution/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/brew-evolution/events","assignees_url":"https://api.github.com/repos/Homebrew/brew-evolution/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/brew-evolution/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/brew-evolution/tags","blobs_url":"https://api.github.com/repos/Homebrew/brew-evolution/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/brew-evolution/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/brew-evolution/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/brew-evolution/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/brew-evolution/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/brew-evolution/languages","stargazers_url":"https://api.github.com/repos/Homebrew/brew-evolution/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/brew-evolution/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/brew-evolution/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/brew-evolution/subscription","commits_url":"https://api.github.com/repos/Homebrew/brew-evolution/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/brew-evolution/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/brew-evolution/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/brew-evolution/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/brew-evolution/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/brew-evolution/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/brew-evolution/merges","archive_url":"https://api.github.com/repos/Homebrew/brew-evolution/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/brew-evolution/downloads","issues_url":"https://api.github.com/repos/Homebrew/brew-evolution/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/brew-evolution/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/brew-evolution/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/brew-evolution/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/brew-evolution/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/brew-evolution/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/brew-evolution/deployments","created_at":"2016-05-17T19:48:10Z","updated_at":"2016-09-22T05:38:04Z","pushed_at":"2016-09-22T09:15:13Z","git_url":"git://github.com/Homebrew/brew-evolution.git","ssh_url":"git@github.com:Homebrew/brew-evolution.git","clone_url":"https://github.com/Homebrew/brew-evolution.git","svn_url":"https://github.com/Homebrew/brew-evolution","homepage":"","size":25,"stargazers_count":8,"watchers_count":8,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":5,"forks":22,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/15"},"html":{"href":"https://github.com/Homebrew/brew-evolution/pull/15"},"issue":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/issues/15"},"comments":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/brew-evolution/statuses/7017dd0c070e347a6868aa8cb01f1a389f5f12f8"}}}}
{"actor":{"display_login":"zmwangx"}}