{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/40282737","id":40282737,"diff_hunk":"@@ -0,0 +1,38 @@\n+require \"language/go\"\n+\n+class Sift < Formula\n+  desc \"Fast and powerful open source alternative to grep\"\n+  homepage \"https://sift-tool.org\"\n+  url \"https://github.com/svent/sift/archive/v0.3.3.tar.gz\"\n+  sha256 \"69b166befdd9a19fd433096fbd9d9ef64b190e7ca6c37af4f6ee058d81ddfd63\"\n+\n+  depends_on \"git\" => :build\n+  depends_on \"go\" => :build\n+\n+  go_resource \"github.com/svent/go-flags\" do\n+    url \"https://github.com/svent/go-flags.git\", :revision => \"37c8226983775d404b6edfebd44be1078bd0fe95\"\n+  end\n+\n+  go_resource \"github.com/svent/go-nbreader\" do\n+    url \"https://github.com/svent/go-nbreader.git\", :revision => \"7cef48da76dca6a496faa7fe63e39ed665cbd219\"\n+  end\n+\n+  bottle do\n+    cellar :any_skip_relocation\n+    sha256 \"aaa3e42a63b544707bfb1dc8694792ebede5a369af620cafe0413aa8d778cd3e\" => :yosemite\n+  end\n+\n+  def install\n+    ENV[\"GOPATH\"] = buildpath\n+\n+    Language::Go.stage_deps resources, buildpath/\"src\"\n+\n+    system \"go\", \"build\", \"-o\", \"sift\"\n+    bin.install \"sift\"\n+  end\n+\n+  test do\n+    testpath.join(\"test.txt\").write(\"where is foo\")","path":"Library/Formula/sift.rb","position":35,"original_position":35,"commit_id":"f3b3f99ce56f95789c77bccd4fd20a66c80f7a1c","original_commit_id":"f3b3f99ce56f95789c77bccd4fd20a66c80f7a1c","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"`(testpath/\"test.txt\").write \"where is foo\"`","created_at":"2015-09-24T03:29:38Z","updated_at":"2015-09-24T03:29:38Z","html_url":"https://github.com/Homebrew/homebrew/pull/44293#discussion_r40282737","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44293","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/40282737"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/44293#discussion_r40282737"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/44293"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44293","id":45842437,"html_url":"https://github.com/Homebrew/homebrew/pull/44293","diff_url":"https://github.com/Homebrew/homebrew/pull/44293.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/44293.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44293","number":44293,"state":"open","locked":false,"title":"Add sift formula","user":{"login":"mwean","id":732173,"avatar_url":"https://avatars.githubusercontent.com/u/732173?v=3","gravatar_id":"","url":"https://api.github.com/users/mwean","html_url":"https://github.com/mwean","followers_url":"https://api.github.com/users/mwean/followers","following_url":"https://api.github.com/users/mwean/following{/other_user}","gists_url":"https://api.github.com/users/mwean/gists{/gist_id}","starred_url":"https://api.github.com/users/mwean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwean/subscriptions","organizations_url":"https://api.github.com/users/mwean/orgs","repos_url":"https://api.github.com/users/mwean/repos","events_url":"https://api.github.com/users/mwean/events{/privacy}","received_events_url":"https://api.github.com/users/mwean/received_events","type":"User","site_admin":false},"body":"Grep-like tool https://sift-tool.org/","created_at":"2015-09-23T23:04:05Z","updated_at":"2015-09-24T03:29:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7615776f7b2a943a69976b3c8f3d37f5ef76de78","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44293/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44293/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44293/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/f3b3f99ce56f95789c77bccd4fd20a66c80f7a1c","head":{"label":"mwean:add-sift","ref":"add-sift","sha":"f3b3f99ce56f95789c77bccd4fd20a66c80f7a1c","user":{"login":"mwean","id":732173,"avatar_url":"https://avatars.githubusercontent.com/u/732173?v=3","gravatar_id":"","url":"https://api.github.com/users/mwean","html_url":"https://github.com/mwean","followers_url":"https://api.github.com/users/mwean/followers","following_url":"https://api.github.com/users/mwean/following{/other_user}","gists_url":"https://api.github.com/users/mwean/gists{/gist_id}","starred_url":"https://api.github.com/users/mwean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwean/subscriptions","organizations_url":"https://api.github.com/users/mwean/orgs","repos_url":"https://api.github.com/users/mwean/repos","events_url":"https://api.github.com/users/mwean/events{/privacy}","received_events_url":"https://api.github.com/users/mwean/received_events","type":"User","site_admin":false},"repo":{"id":43027714,"name":"homebrew","full_name":"mwean/homebrew","owner":{"login":"mwean","id":732173,"avatar_url":"https://avatars.githubusercontent.com/u/732173?v=3","gravatar_id":"","url":"https://api.github.com/users/mwean","html_url":"https://github.com/mwean","followers_url":"https://api.github.com/users/mwean/followers","following_url":"https://api.github.com/users/mwean/following{/other_user}","gists_url":"https://api.github.com/users/mwean/gists{/gist_id}","starred_url":"https://api.github.com/users/mwean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwean/subscriptions","organizations_url":"https://api.github.com/users/mwean/orgs","repos_url":"https://api.github.com/users/mwean/repos","events_url":"https://api.github.com/users/mwean/events{/privacy}","received_events_url":"https://api.github.com/users/mwean/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwean/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/mwean/homebrew","forks_url":"https://api.github.com/repos/mwean/homebrew/forks","keys_url":"https://api.github.com/repos/mwean/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwean/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwean/homebrew/teams","hooks_url":"https://api.github.com/repos/mwean/homebrew/hooks","issue_events_url":"https://api.github.com/repos/mwean/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/mwean/homebrew/events","assignees_url":"https://api.github.com/repos/mwean/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/mwean/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/mwean/homebrew/tags","blobs_url":"https://api.github.com/repos/mwean/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwean/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwean/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwean/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwean/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/mwean/homebrew/languages","stargazers_url":"https://api.github.com/repos/mwean/homebrew/stargazers","contributors_url":"https://api.github.com/repos/mwean/homebrew/contributors","subscribers_url":"https://api.github.com/repos/mwean/homebrew/subscribers","subscription_url":"https://api.github.com/repos/mwean/homebrew/subscription","commits_url":"https://api.github.com/repos/mwean/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwean/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwean/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwean/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwean/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/mwean/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwean/homebrew/merges","archive_url":"https://api.github.com/repos/mwean/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwean/homebrew/downloads","issues_url":"https://api.github.com/repos/mwean/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/mwean/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/mwean/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/mwean/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwean/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/mwean/homebrew/releases{/id}","created_at":"2015-09-23T21:22:18Z","updated_at":"2015-09-23T21:22:47Z","pushed_at":"2015-09-23T23:02:39Z","git_url":"git://github.com/mwean/homebrew.git","ssh_url":"git@github.com:mwean/homebrew.git","clone_url":"https://github.com/mwean/homebrew.git","svn_url":"https://github.com/mwean/homebrew","homepage":"http://brew.sh","size":55771,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"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":"ba89810498feff7708f12e83004d5e1636ced167","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-09-24T03:26:46Z","pushed_at":"2015-09-24T03:24:05Z","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":1621466,"stargazers_count":25395,"watchers_count":25395,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":12790,"mirror_url":null,"open_issues_count":496,"forks":12790,"open_issues":496,"watchers":25395,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/44293"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/44293"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/44293"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/44293/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/44293/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/44293/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/f3b3f99ce56f95789c77bccd4fd20a66c80f7a1c"}}}}