{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/64018008","id":64018008,"diff_hunk":"@@ -0,0 +1,151 @@\n+class HbaseLZORequirement < Requirement\n+  fatal true\n+\n+  satisfy(:build_env => false) { !Tab.for_name(\"hbase\").without?(\"lzo\") }\n+\n+  def message; <<-EOS.undent\n+  hbase must not have disabled lzo compression to use it in opentsdb:\n+    brew install hbase\n+    not\n+    brew install hbase --without-lzo\n+  EOS\n+  end\n+end\n+\n+class Opentsdb < Formula\n+  desc \"Scalable, distributed Time Series Database.\"\n+  homepage \"http://opentsdb.net/\"\n+  url \"https://github.com/OpenTSDB/opentsdb/releases/download/v2.2.0/opentsdb-2.2.0.tar.gz\"\n+  sha256 \"5689d4d83ee21f1ce5892d064d6738bfa9fdef99f106f45d5c38eefb9476dfb5\"\n+\n+  option \"without-lzo\", \"Don't use LZO Compression\"\n+\n+  if build.without? \"lzo\"\n+    depends_on \"hbase\"\n+  else\n+    depends_on \"hbase\"\n+    depends_on \"lzo\"\n+    depends_on HbaseLZORequirement\n+  end\n+  depends_on :java => \"1.6+\"\n+  depends_on \"gnuplot\" => :optional\n+\n+  def install\n+    # submitted to upstream https://github.com/OpenTSDB/opentsdb/pull/711\n+    # mkdir_p is called from in a subdir of build so needs an extra ../ and there is no rule to create $(classes) and\n+    # everything builds without specifying them as dependencies of the jar.","path":"Formula/opentsdb.rb","position":36,"original_position":36,"commit_id":"62247123150462558bf0e96b877fdcbf9c0a936d","original_commit_id":"62247123150462558bf0e96b877fdcbf9c0a936d","user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"body":"Looks like they merged it; is there an upstream commit we can use in a `patch do`?","created_at":"2016-05-20T10:04:41Z","updated_at":"2016-05-20T10:04:41Z","html_url":"https://github.com/Homebrew/homebrew-core/pull/813#discussion_r64018008","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/813","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/64018008"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/813#discussion_r64018008"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/813"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/813","id":68739286,"html_url":"https://github.com/Homebrew/homebrew-core/pull/813","diff_url":"https://github.com/Homebrew/homebrew-core/pull/813.diff","patch_url":"https://github.com/Homebrew/homebrew-core/pull/813.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/813","number":813,"state":"open","locked":false,"title":"opentsdb 2.2.0 (new formula)","user":{"login":"CamJN","id":6243207,"avatar_url":"https://avatars.githubusercontent.com/u/6243207?v=3","gravatar_id":"","url":"https://api.github.com/users/CamJN","html_url":"https://github.com/CamJN","followers_url":"https://api.github.com/users/CamJN/followers","following_url":"https://api.github.com/users/CamJN/following{/other_user}","gists_url":"https://api.github.com/users/CamJN/gists{/gist_id}","starred_url":"https://api.github.com/users/CamJN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamJN/subscriptions","organizations_url":"https://api.github.com/users/CamJN/orgs","repos_url":"https://api.github.com/users/CamJN/repos","events_url":"https://api.github.com/users/CamJN/events{/privacy}","received_events_url":"https://api.github.com/users/CamJN/received_events","type":"User","site_admin":false},"body":"- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/homebrew-core/blob/master/.github/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?\r\n- [x] Have you built your formula locally prior to submission with `brew install <formula>` (where `<formula>` is the name of the formula you're submitting)?\r\n- [x] Does your submission pass `brew audit --strict --online <formula>` (after doing `brew install <formula>`)?","created_at":"2016-05-03T16:59:06Z","updated_at":"2016-05-20T10:04:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fe0af4f2af6ba5db1f2f871668ab9ce39e52d4c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/813/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/813/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/813/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/62247123150462558bf0e96b877fdcbf9c0a936d","head":{"label":"CamJN:opentsdb","ref":"opentsdb","sha":"62247123150462558bf0e96b877fdcbf9c0a936d","user":{"login":"CamJN","id":6243207,"avatar_url":"https://avatars.githubusercontent.com/u/6243207?v=3","gravatar_id":"","url":"https://api.github.com/users/CamJN","html_url":"https://github.com/CamJN","followers_url":"https://api.github.com/users/CamJN/followers","following_url":"https://api.github.com/users/CamJN/following{/other_user}","gists_url":"https://api.github.com/users/CamJN/gists{/gist_id}","starred_url":"https://api.github.com/users/CamJN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamJN/subscriptions","organizations_url":"https://api.github.com/users/CamJN/orgs","repos_url":"https://api.github.com/users/CamJN/repos","events_url":"https://api.github.com/users/CamJN/events{/privacy}","received_events_url":"https://api.github.com/users/CamJN/received_events","type":"User","site_admin":false},"repo":{"id":57165390,"name":"homebrew-core","full_name":"CamJN/homebrew-core","owner":{"login":"CamJN","id":6243207,"avatar_url":"https://avatars.githubusercontent.com/u/6243207?v=3","gravatar_id":"","url":"https://api.github.com/users/CamJN","html_url":"https://github.com/CamJN","followers_url":"https://api.github.com/users/CamJN/followers","following_url":"https://api.github.com/users/CamJN/following{/other_user}","gists_url":"https://api.github.com/users/CamJN/gists{/gist_id}","starred_url":"https://api.github.com/users/CamJN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CamJN/subscriptions","organizations_url":"https://api.github.com/users/CamJN/orgs","repos_url":"https://api.github.com/users/CamJN/repos","events_url":"https://api.github.com/users/CamJN/events{/privacy}","received_events_url":"https://api.github.com/users/CamJN/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CamJN/homebrew-core","description":":beers: Core formulae for the Homebrew package manager","fork":true,"url":"https://api.github.com/repos/CamJN/homebrew-core","forks_url":"https://api.github.com/repos/CamJN/homebrew-core/forks","keys_url":"https://api.github.com/repos/CamJN/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CamJN/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CamJN/homebrew-core/teams","hooks_url":"https://api.github.com/repos/CamJN/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/CamJN/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/CamJN/homebrew-core/events","assignees_url":"https://api.github.com/repos/CamJN/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/CamJN/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/CamJN/homebrew-core/tags","blobs_url":"https://api.github.com/repos/CamJN/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CamJN/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CamJN/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/CamJN/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CamJN/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/CamJN/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/CamJN/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/CamJN/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/CamJN/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/CamJN/homebrew-core/subscription","commits_url":"https://api.github.com/repos/CamJN/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/CamJN/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/CamJN/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/CamJN/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/CamJN/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/CamJN/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CamJN/homebrew-core/merges","archive_url":"https://api.github.com/repos/CamJN/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CamJN/homebrew-core/downloads","issues_url":"https://api.github.com/repos/CamJN/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/CamJN/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/CamJN/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/CamJN/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CamJN/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/CamJN/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/CamJN/homebrew-core/deployments","created_at":"2016-04-26T22:12:29Z","updated_at":"2016-04-26T22:12:43Z","pushed_at":"2016-05-09T18:25:58Z","git_url":"git://github.com/CamJN/homebrew-core.git","ssh_url":"git@github.com:CamJN/homebrew-core.git","clone_url":"https://github.com/CamJN/homebrew-core.git","svn_url":"https://github.com/CamJN/homebrew-core","homepage":"http://brew.sh","size":56275,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"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":"ff13f242a1f0b5a260527869a90d1b34494ffa0f","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":52855516,"name":"homebrew-core","full_name":"Homebrew/homebrew-core","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-core","description":":beers: Core formulae for the Homebrew package manager","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-core","forks_url":"https://api.github.com/repos/Homebrew/homebrew-core/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-core/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-core/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-core/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew-core/deployments","created_at":"2016-03-01T06:58:36Z","updated_at":"2016-05-19T19:24:26Z","pushed_at":"2016-05-20T09:44:13Z","git_url":"git://github.com/Homebrew/homebrew-core.git","ssh_url":"git@github.com:Homebrew/homebrew-core.git","clone_url":"https://github.com/Homebrew/homebrew-core.git","svn_url":"https://github.com/Homebrew/homebrew-core","homepage":"http://brew.sh","size":65389,"stargazers_count":351,"watchers_count":351,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":582,"mirror_url":null,"open_issues_count":73,"forks":582,"open_issues":73,"watchers":351,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/813"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/813"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/813"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/813/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/813/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/813/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/62247123150462558bf0e96b877fdcbf9c0a936d"}}}}
{"actor":{"display_login":"mikemcquaid"}}