{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/39978","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/39978/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/39978/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/39978/events","html_url":"https://github.com/Homebrew/homebrew/issues/39978","id":79317119,"number":39978,"title":"Remove resty","user":{"login":"toolbear","id":358202,"avatar_url":"https://avatars.githubusercontent.com/u/358202?v=3","gravatar_id":"","url":"https://api.github.com/users/toolbear","html_url":"https://github.com/toolbear","followers_url":"https://api.github.com/users/toolbear/followers","following_url":"https://api.github.com/users/toolbear/following{/other_user}","gists_url":"https://api.github.com/users/toolbear/gists{/gist_id}","starred_url":"https://api.github.com/users/toolbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolbear/subscriptions","organizations_url":"https://api.github.com/users/toolbear/orgs","repos_url":"https://api.github.com/users/toolbear/repos","events_url":"https://api.github.com/users/toolbear/events{/privacy}","received_events_url":"https://api.github.com/users/toolbear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T06:36:22Z","updated_at":"2015-05-22T06:39:40Z","closed_at":null,"body":"https://github.com/Homebrew/homebrew/blob/master/Library/Formula/resty.rb\r\nhttps://github.com/micha/resty\r\n\r\n* `resty` is meant to be sourced ala `source resty`; this adds a `resty` function in your shell. This formula installs an executable that makes `resty` a no-op unless you do `source /usr/local/bin/resty`\r\n\r\n* formula installs `pp` and `pypp`, tiny shims around Perl and Python JSON pretty printers; presumably better left for a separate, dedicated formulae\r\n\r\n* `/usr/bin/pp` is the \"PAR Packager\", installing this formula shadows that\r\n\r\nAlternatives to full removal:\r\n\r\n* [ ] see if upstream is receptive to a patch to make `resty` suggest `source resty` when invoked as an executable\r\n* [ ] add post-install instructions to add `source /usr/local/bin/resty` to your init scripts\r\n  * [ ] bonus for patching upstream to allow `eval $(resty --init)`\r\n* [ ] only install `resty`, don't install `pp` and `pypp`\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/104537950","html_url":"https://github.com/Homebrew/homebrew/issues/39978#issuecomment-104537950","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/39978","id":104537950,"user":{"login":"toolbear","id":358202,"avatar_url":"https://avatars.githubusercontent.com/u/358202?v=3","gravatar_id":"","url":"https://api.github.com/users/toolbear","html_url":"https://github.com/toolbear","followers_url":"https://api.github.com/users/toolbear/followers","following_url":"https://api.github.com/users/toolbear/following{/other_user}","gists_url":"https://api.github.com/users/toolbear/gists{/gist_id}","starred_url":"https://api.github.com/users/toolbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolbear/subscriptions","organizations_url":"https://api.github.com/users/toolbear/orgs","repos_url":"https://api.github.com/users/toolbear/repos","events_url":"https://api.github.com/users/toolbear/events{/privacy}","received_events_url":"https://api.github.com/users/toolbear/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T06:39:40Z","updated_at":"2015-05-22T06:39:40Z","body":"TL;DR - `brew install resty` exposes a `resty` executable in my path that does nothing"}}