{"action":"opened","number":42565,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42565","id":41810951,"html_url":"https://github.com/Homebrew/homebrew/pull/42565","diff_url":"https://github.com/Homebrew/homebrew/pull/42565.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/42565.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42565","number":42565,"state":"open","locked":false,"title":"show caveats after post_install","user":{"login":"rkitover","id":77611,"avatar_url":"https://avatars.githubusercontent.com/u/77611?v=3","gravatar_id":"","url":"https://api.github.com/users/rkitover","html_url":"https://github.com/rkitover","followers_url":"https://api.github.com/users/rkitover/followers","following_url":"https://api.github.com/users/rkitover/following{/other_user}","gists_url":"https://api.github.com/users/rkitover/gists{/gist_id}","starred_url":"https://api.github.com/users/rkitover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkitover/subscriptions","organizations_url":"https://api.github.com/users/rkitover/orgs","repos_url":"https://api.github.com/users/rkitover/repos","events_url":"https://api.github.com/users/rkitover/events{/privacy}","received_events_url":"https://api.github.com/users/rkitover/received_events","type":"User","site_admin":false},"body":"So I was doing a brew -v install postgresql yesterday, and I ended up going to #machomebrew to ask why there wasn't a launchctl config for it, when this is clearly described in the caveats.\r\n\r\nThe problem was that the post_install for postgresql runs initdb, which creates the database directory and displays its own instructions for how to start the database, and I thought these were the instructions from homebrew.\r\n\r\nSo to reduce possible confusion for other users, I wrote this patch which moves the caveats display to after the post_install. More details in the commit message.","created_at":"2015-08-06T17:06:09Z","updated_at":"2015-08-06T17:06:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42565/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42565/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42565/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/db6f8d8752a64833a2d2768bc81043a069b5e3b4","head":{"label":"rkitover:caveats_order","ref":"caveats_order","sha":"db6f8d8752a64833a2d2768bc81043a069b5e3b4","user":{"login":"rkitover","id":77611,"avatar_url":"https://avatars.githubusercontent.com/u/77611?v=3","gravatar_id":"","url":"https://api.github.com/users/rkitover","html_url":"https://github.com/rkitover","followers_url":"https://api.github.com/users/rkitover/followers","following_url":"https://api.github.com/users/rkitover/following{/other_user}","gists_url":"https://api.github.com/users/rkitover/gists{/gist_id}","starred_url":"https://api.github.com/users/rkitover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkitover/subscriptions","organizations_url":"https://api.github.com/users/rkitover/orgs","repos_url":"https://api.github.com/users/rkitover/repos","events_url":"https://api.github.com/users/rkitover/events{/privacy}","received_events_url":"https://api.github.com/users/rkitover/received_events","type":"User","site_admin":false},"repo":{"id":40257046,"name":"homebrew","full_name":"rkitover/homebrew","owner":{"login":"rkitover","id":77611,"avatar_url":"https://avatars.githubusercontent.com/u/77611?v=3","gravatar_id":"","url":"https://api.github.com/users/rkitover","html_url":"https://github.com/rkitover","followers_url":"https://api.github.com/users/rkitover/followers","following_url":"https://api.github.com/users/rkitover/following{/other_user}","gists_url":"https://api.github.com/users/rkitover/gists{/gist_id}","starred_url":"https://api.github.com/users/rkitover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkitover/subscriptions","organizations_url":"https://api.github.com/users/rkitover/orgs","repos_url":"https://api.github.com/users/rkitover/repos","events_url":"https://api.github.com/users/rkitover/events{/privacy}","received_events_url":"https://api.github.com/users/rkitover/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rkitover/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/rkitover/homebrew","forks_url":"https://api.github.com/repos/rkitover/homebrew/forks","keys_url":"https://api.github.com/repos/rkitover/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rkitover/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rkitover/homebrew/teams","hooks_url":"https://api.github.com/repos/rkitover/homebrew/hooks","issue_events_url":"https://api.github.com/repos/rkitover/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/rkitover/homebrew/events","assignees_url":"https://api.github.com/repos/rkitover/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/rkitover/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/rkitover/homebrew/tags","blobs_url":"https://api.github.com/repos/rkitover/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rkitover/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rkitover/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/rkitover/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rkitover/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/rkitover/homebrew/languages","stargazers_url":"https://api.github.com/repos/rkitover/homebrew/stargazers","contributors_url":"https://api.github.com/repos/rkitover/homebrew/contributors","subscribers_url":"https://api.github.com/repos/rkitover/homebrew/subscribers","subscription_url":"https://api.github.com/repos/rkitover/homebrew/subscription","commits_url":"https://api.github.com/repos/rkitover/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/rkitover/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/rkitover/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/rkitover/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/rkitover/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/rkitover/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rkitover/homebrew/merges","archive_url":"https://api.github.com/repos/rkitover/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rkitover/homebrew/downloads","issues_url":"https://api.github.com/repos/rkitover/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/rkitover/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/rkitover/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/rkitover/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rkitover/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/rkitover/homebrew/releases{/id}","created_at":"2015-08-05T16:45:39Z","updated_at":"2015-08-05T16:45:56Z","pushed_at":"2015-08-06T08:28:59Z","git_url":"git://github.com/rkitover/homebrew.git","ssh_url":"git@github.com:rkitover/homebrew.git","clone_url":"https://github.com/rkitover/homebrew.git","svn_url":"https://github.com/rkitover/homebrew","homepage":"http://brew.sh","size":49636,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"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":"54a6a041e9e762d328c5d4998330d750c887b2d3","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}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-08-06T17:01:29Z","pushed_at":"2015-08-06T17:05:36Z","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":1570958,"stargazers_count":24504,"watchers_count":24504,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":12300,"mirror_url":null,"open_issues_count":409,"forks":12300,"open_issues":409,"watchers":24504,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42565"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42565"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42565"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42565/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42565/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42565/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/db6f8d8752a64833a2d2768bc81043a069b5e3b4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":6,"changed_files":4}}