{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/24436647","id":24436647,"diff_hunk":"@@ -0,0 +1,54 @@\n+class Launchdns < Formula\n+  homepage \"https://github.com/josh/launchdns\"\n+  url \"https://github.com/josh/launchdns/archive/v1.0.1.tar.gz\"\n+  head \"https://github.com/josh/launchdns.git\"\n+  sha1 \"7310bb558a3b910e98b5364652e3a4fb48375494\"\n+\n+  def install\n+    ENV[\"PREFIX\"] = prefix\n+    system \"make\", \"install\"\n+  end\n+\n+  test do\n+    system \"#{bin}/launchdns\", \"-p0\", \"-t1\"\n+  end\n+\n+  def caveats; <<-EOS.undent\n+      To have *.dev resolved to 127.0.0.1:\n+          sudo mkdir -p /etc/resolver\n+          printf \"nameserver 127.0.0.1\\\\nport 55353\\\\n\" | sudo tee /etc/resolver/dev","path":"Library/Formula/launchdns.rb","position":19,"original_position":19,"commit_id":"56a5f5d8c3f9ba14edbc25abbc7c4aa3d70d0458","original_commit_id":"56a5f5d8c3f9ba14edbc25abbc7c4aa3d70d0458","user":{"login":"josh","id":137,"avatar_url":"https://avatars.githubusercontent.com/u/137?v=3","gravatar_id":"","url":"https://api.github.com/users/josh","html_url":"https://github.com/josh","followers_url":"https://api.github.com/users/josh/followers","following_url":"https://api.github.com/users/josh/following{/other_user}","gists_url":"https://api.github.com/users/josh/gists{/gist_id}","starred_url":"https://api.github.com/users/josh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh/subscriptions","organizations_url":"https://api.github.com/users/josh/orgs","repos_url":"https://api.github.com/users/josh/repos","events_url":"https://api.github.com/users/josh/events{/privacy}","received_events_url":"https://api.github.com/users/josh/received_events","type":"User","site_admin":true},"body":"Nice, that works.\r\n\r\nWe'll just need to tell people `sudo ln -s HOMEBREW_PREFIX/etc/resolver /etc/resolver`\r\n\r\nI'll update the formula.","created_at":"2015-02-10T18:29:52Z","updated_at":"2015-02-10T18:29:52Z","html_url":"https://github.com/Homebrew/homebrew/pull/36695#discussion_r24436647","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/36695","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/24436647"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/36695#discussion_r24436647"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/36695"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/36695","id":28981675,"html_url":"https://github.com/Homebrew/homebrew/pull/36695","diff_url":"https://github.com/Homebrew/homebrew/pull/36695.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/36695.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36695","number":36695,"state":"open","locked":false,"title":"New Formula: launchdns","user":{"login":"josh","id":137,"avatar_url":"https://avatars.githubusercontent.com/u/137?v=3","gravatar_id":"","url":"https://api.github.com/users/josh","html_url":"https://github.com/josh","followers_url":"https://api.github.com/users/josh/followers","following_url":"https://api.github.com/users/josh/following{/other_user}","gists_url":"https://api.github.com/users/josh/gists{/gist_id}","starred_url":"https://api.github.com/users/josh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh/subscriptions","organizations_url":"https://api.github.com/users/josh/orgs","repos_url":"https://api.github.com/users/josh/repos","events_url":"https://api.github.com/users/josh/events{/privacy}","received_events_url":"https://api.github.com/users/josh/received_events","type":"User","site_admin":true},"body":"[launchdns](https://github.com/josh/launchdns) is a mini dns server designed with a single purpose of routing queries to localhost. Its pretty much a standalone version of the DNS component popularized by [Pow](http://pow.cx/manual.html). Even though its optimized for OSX's launchd, it compiles and runs just fine on linux too.\r\n\r\nI'm not sure if this is too niche or not by todays standards or if it would be better suited in another Tap, just let me know. Thanks!\r\n\r\nI'm curious if the hombrew test bot is able to run the little test block I included. \r\n\r\n/cc @mikemcquaid ","created_at":"2015-02-10T05:15:17Z","updated_at":"2015-02-10T18:29:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f34320a6a365c20cd80c6974a36fec6bb36b642","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/36695/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/36695/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36695/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/56a5f5d8c3f9ba14edbc25abbc7c4aa3d70d0458","head":{"label":"josh:launchdns","ref":"launchdns","sha":"56a5f5d8c3f9ba14edbc25abbc7c4aa3d70d0458","user":{"login":"josh","id":137,"avatar_url":"https://avatars.githubusercontent.com/u/137?v=3","gravatar_id":"","url":"https://api.github.com/users/josh","html_url":"https://github.com/josh","followers_url":"https://api.github.com/users/josh/followers","following_url":"https://api.github.com/users/josh/following{/other_user}","gists_url":"https://api.github.com/users/josh/gists{/gist_id}","starred_url":"https://api.github.com/users/josh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh/subscriptions","organizations_url":"https://api.github.com/users/josh/orgs","repos_url":"https://api.github.com/users/josh/repos","events_url":"https://api.github.com/users/josh/events{/privacy}","received_events_url":"https://api.github.com/users/josh/received_events","type":"User","site_admin":true},"repo":{"id":30575795,"name":"homebrew","full_name":"josh/homebrew","owner":{"login":"josh","id":137,"avatar_url":"https://avatars.githubusercontent.com/u/137?v=3","gravatar_id":"","url":"https://api.github.com/users/josh","html_url":"https://github.com/josh","followers_url":"https://api.github.com/users/josh/followers","following_url":"https://api.github.com/users/josh/following{/other_user}","gists_url":"https://api.github.com/users/josh/gists{/gist_id}","starred_url":"https://api.github.com/users/josh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh/subscriptions","organizations_url":"https://api.github.com/users/josh/orgs","repos_url":"https://api.github.com/users/josh/repos","events_url":"https://api.github.com/users/josh/events{/privacy}","received_events_url":"https://api.github.com/users/josh/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/josh/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/josh/homebrew","forks_url":"https://api.github.com/repos/josh/homebrew/forks","keys_url":"https://api.github.com/repos/josh/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/josh/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/josh/homebrew/teams","hooks_url":"https://api.github.com/repos/josh/homebrew/hooks","issue_events_url":"https://api.github.com/repos/josh/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/josh/homebrew/events","assignees_url":"https://api.github.com/repos/josh/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/josh/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/josh/homebrew/tags","blobs_url":"https://api.github.com/repos/josh/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/josh/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/josh/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/josh/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/josh/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/josh/homebrew/languages","stargazers_url":"https://api.github.com/repos/josh/homebrew/stargazers","contributors_url":"https://api.github.com/repos/josh/homebrew/contributors","subscribers_url":"https://api.github.com/repos/josh/homebrew/subscribers","subscription_url":"https://api.github.com/repos/josh/homebrew/subscription","commits_url":"https://api.github.com/repos/josh/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/josh/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/josh/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/josh/homebrew/issues/comments/{number}","contents_url":"https://api.github.com/repos/josh/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/josh/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/josh/homebrew/merges","archive_url":"https://api.github.com/repos/josh/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/josh/homebrew/downloads","issues_url":"https://api.github.com/repos/josh/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/josh/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/josh/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/josh/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/josh/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/josh/homebrew/releases{/id}","created_at":"2015-02-10T05:02:06Z","updated_at":"2015-02-10T05:02:20Z","pushed_at":"2015-02-10T05:57:28Z","git_url":"git://github.com/josh/homebrew.git","ssh_url":"git@github.com:josh/homebrew.git","clone_url":"https://github.com/josh/homebrew.git","svn_url":"https://github.com/josh/homebrew","homepage":"http://brew.sh","size":54328,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"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":"3709ea829b910a9928e4a9b6791f85a1ac9856da","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":"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-02-10T18:22:51Z","pushed_at":"2015-02-10T14:30:11Z","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":1174231,"stargazers_count":21414,"watchers_count":21414,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":10710,"mirror_url":null,"open_issues_count":291,"forks":10710,"open_issues":291,"watchers":21414,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/36695"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/36695"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/36695"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/36695/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/36695/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/36695/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/56a5f5d8c3f9ba14edbc25abbc7c4aa3d70d0458"}}}}