{"action":"created","issue":{"url":"https://api.github.com/repos/amjith/pgcli/issues/73","labels_url":"https://api.github.com/repos/amjith/pgcli/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/amjith/pgcli/issues/73/comments","events_url":"https://api.github.com/repos/amjith/pgcli/issues/73/events","html_url":"https://github.com/amjith/pgcli/issues/73","id":53686744,"number":73,"title":"Homebrew formula","user":{"login":"tvon","id":25628,"avatar_url":"https://avatars.githubusercontent.com/u/25628?v=3","gravatar_id":"","url":"https://api.github.com/users/tvon","html_url":"https://github.com/tvon","followers_url":"https://api.github.com/users/tvon/followers","following_url":"https://api.github.com/users/tvon/following{/other_user}","gists_url":"https://api.github.com/users/tvon/gists{/gist_id}","starred_url":"https://api.github.com/users/tvon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvon/subscriptions","organizations_url":"https://api.github.com/users/tvon/orgs","repos_url":"https://api.github.com/users/tvon/repos","events_url":"https://api.github.com/users/tvon/events{/privacy}","received_events_url":"https://api.github.com/users/tvon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-07T21:49:35Z","updated_at":"2015-01-10T05:37:06Z","closed_at":null,"body":"I have a WIP formula, I just need to figure out how to write a proper test for it.\r\n\r\nYou can try it by running\r\n\r\n```\r\nbrew install https://raw.githubusercontent.com/tvon/homebrew/pgcli/Library/Formula/pgcli.rb\r\n```\r\n\r\nAny feedback would be appreciated."},"comment":{"url":"https://api.github.com/repos/amjith/pgcli/issues/comments/69443737","html_url":"https://github.com/amjith/pgcli/issues/73#issuecomment-69443737","issue_url":"https://api.github.com/repos/amjith/pgcli/issues/73","id":69443737,"user":{"login":"tdsmith","id":173889,"avatar_url":"https://avatars.githubusercontent.com/u/173889?v=3","gravatar_id":"","url":"https://api.github.com/users/tdsmith","html_url":"https://github.com/tdsmith","followers_url":"https://api.github.com/users/tdsmith/followers","following_url":"https://api.github.com/users/tdsmith/following{/other_user}","gists_url":"https://api.github.com/users/tdsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/tdsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdsmith/subscriptions","organizations_url":"https://api.github.com/users/tdsmith/orgs","repos_url":"https://api.github.com/users/tdsmith/repos","events_url":"https://api.github.com/users/tdsmith/events{/privacy}","received_events_url":"https://api.github.com/users/tdsmith/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T05:37:06Z","updated_at":"2015-01-10T05:37:06Z","body":"> I notice that you have depends_on :postgresql. Will that force an install of postgres via brew even if someone has postgres installed via a different mechanism (say PostgresApp or MacPorts)?\r\n\r\nTwo scenarios:\r\n* If pgcli is installed from a bottle (a Homebrew-generated binary package), `depends_on :postgresql` will force an installation of Homebrew postgresql.\r\n* If pgcli is installed from source, either because Homebrew does not provide a bottle or a user passes `--build-from-source` to `brew install`, Homebrew postgresql will only be installed if there is not another postgresql in $PATH.\r\n\r\nMost users will experience the first condition."}}