{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/36038733","id":36038733,"diff_hunk":"@@ -19,6 +16,17 @@ class Collectd < Formula\n     depends_on \"autoconf\" => :build\n   end\n \n+  stable do\n+      url \"https://collectd.org/files/collectd-5.5.0.tar.bz2\"\n+      mirror \"http://pkgs.fedoraproject.org/repo/pkgs/collectd/collectd-5.5.0.tar.bz2/c39305ef5514b44238b0d31f77e29e6a/collectd-5.5.0.tar.bz2\"\n+      sha256 \"847684cf5c10de1dc34145078af3fcf6e0d168ba98c14f1343b1062a4b569e88\"\n+\n+      patch do","path":"Library/Formula/collectd.rb","position":19,"original_position":19,"commit_id":"7905e7408c49ce17af7d60a930732e98efd36b4a","original_commit_id":"7905e7408c49ce17af7d60a930732e98efd36b4a","user":{"login":"cactus","id":59039,"avatar_url":"https://avatars.githubusercontent.com/u/59039?v=3","gravatar_id":"","url":"https://api.github.com/users/cactus","html_url":"https://github.com/cactus","followers_url":"https://api.github.com/users/cactus/followers","following_url":"https://api.github.com/users/cactus/following{/other_user}","gists_url":"https://api.github.com/users/cactus/gists{/gist_id}","starred_url":"https://api.github.com/users/cactus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cactus/subscriptions","organizations_url":"https://api.github.com/users/cactus/orgs","repos_url":"https://api.github.com/users/cactus/repos","events_url":"https://api.github.com/users/cactus/events{/privacy}","received_events_url":"https://api.github.com/users/cactus/received_events","type":"User","site_admin":false},"body":"I use vim. These are spaces. Just 4 instead of 2 -- I use `ts=4 sw=4` as my default. Does homebrew adhere to a 2 space style guide?","created_at":"2015-08-02T01:42:44Z","updated_at":"2015-08-02T01:42:44Z","html_url":"https://github.com/Homebrew/homebrew/pull/42344#discussion_r36038733","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42344","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/36038733"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42344#discussion_r36038733"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42344"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42344","id":41408059,"html_url":"https://github.com/Homebrew/homebrew/pull/42344","diff_url":"https://github.com/Homebrew/homebrew/pull/42344.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/42344.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42344","number":42344,"state":"open","locked":false,"title":"fix parallel build issue and cpu collection issue","user":{"login":"cactus","id":59039,"avatar_url":"https://avatars.githubusercontent.com/u/59039?v=3","gravatar_id":"","url":"https://api.github.com/users/cactus","html_url":"https://github.com/cactus","followers_url":"https://api.github.com/users/cactus/followers","following_url":"https://api.github.com/users/cactus/following{/other_user}","gists_url":"https://api.github.com/users/cactus/gists{/gist_id}","starred_url":"https://api.github.com/users/cactus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cactus/subscriptions","organizations_url":"https://api.github.com/users/cactus/orgs","repos_url":"https://api.github.com/users/cactus/repos","events_url":"https://api.github.com/users/cactus/events{/privacy}","received_events_url":"https://api.github.com/users/cactus/received_events","type":"User","site_admin":false},"body":"Two issues:\r\n*   collectd often fails to build in parallel.\r\n*   cpu metric collection not working in 5.5.0 on osx. The error is:\r\n    `cpu plugin: processor_info returned only 4 elements`.\r\n\r\nThis patch fixes both.\r\n\r\nReferences:\r\n*   https://github.com/collectd/collectd/issues/1146 (parallel build\r\n    issue)\r\n*   http://mailman.verplant.org/pipermail/collectd/2015-May/006546.html\r\n    (cpu stats issue)\r\n\r\nfixes #42343","created_at":"2015-08-01T21:19:30Z","updated_at":"2015-08-02T01:42:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb2742818b39a3d1987b6d67ddcd67316cfc798b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42344/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42344/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42344/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/7905e7408c49ce17af7d60a930732e98efd36b4a","head":{"label":"cactus:fork","ref":"fork","sha":"7905e7408c49ce17af7d60a930732e98efd36b4a","user":{"login":"cactus","id":59039,"avatar_url":"https://avatars.githubusercontent.com/u/59039?v=3","gravatar_id":"","url":"https://api.github.com/users/cactus","html_url":"https://github.com/cactus","followers_url":"https://api.github.com/users/cactus/followers","following_url":"https://api.github.com/users/cactus/following{/other_user}","gists_url":"https://api.github.com/users/cactus/gists{/gist_id}","starred_url":"https://api.github.com/users/cactus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cactus/subscriptions","organizations_url":"https://api.github.com/users/cactus/orgs","repos_url":"https://api.github.com/users/cactus/repos","events_url":"https://api.github.com/users/cactus/events{/privacy}","received_events_url":"https://api.github.com/users/cactus/received_events","type":"User","site_admin":false},"repo":{"id":40060216,"name":"homebrew","full_name":"cactus/homebrew","owner":{"login":"cactus","id":59039,"avatar_url":"https://avatars.githubusercontent.com/u/59039?v=3","gravatar_id":"","url":"https://api.github.com/users/cactus","html_url":"https://github.com/cactus","followers_url":"https://api.github.com/users/cactus/followers","following_url":"https://api.github.com/users/cactus/following{/other_user}","gists_url":"https://api.github.com/users/cactus/gists{/gist_id}","starred_url":"https://api.github.com/users/cactus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cactus/subscriptions","organizations_url":"https://api.github.com/users/cactus/orgs","repos_url":"https://api.github.com/users/cactus/repos","events_url":"https://api.github.com/users/cactus/events{/privacy}","received_events_url":"https://api.github.com/users/cactus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cactus/homebrew","description":"pull request fork. See upstream:","fork":true,"url":"https://api.github.com/repos/cactus/homebrew","forks_url":"https://api.github.com/repos/cactus/homebrew/forks","keys_url":"https://api.github.com/repos/cactus/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cactus/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cactus/homebrew/teams","hooks_url":"https://api.github.com/repos/cactus/homebrew/hooks","issue_events_url":"https://api.github.com/repos/cactus/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/cactus/homebrew/events","assignees_url":"https://api.github.com/repos/cactus/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/cactus/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/cactus/homebrew/tags","blobs_url":"https://api.github.com/repos/cactus/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cactus/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cactus/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/cactus/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cactus/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/cactus/homebrew/languages","stargazers_url":"https://api.github.com/repos/cactus/homebrew/stargazers","contributors_url":"https://api.github.com/repos/cactus/homebrew/contributors","subscribers_url":"https://api.github.com/repos/cactus/homebrew/subscribers","subscription_url":"https://api.github.com/repos/cactus/homebrew/subscription","commits_url":"https://api.github.com/repos/cactus/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/cactus/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/cactus/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/cactus/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/cactus/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/cactus/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cactus/homebrew/merges","archive_url":"https://api.github.com/repos/cactus/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cactus/homebrew/downloads","issues_url":"https://api.github.com/repos/cactus/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/cactus/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/cactus/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/cactus/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cactus/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/cactus/homebrew/releases{/id}","created_at":"2015-08-01T21:15:34Z","updated_at":"2015-08-01T21:35:19Z","pushed_at":"2015-08-01T21:59:04Z","git_url":"git://github.com/cactus/homebrew.git","ssh_url":"git@github.com:cactus/homebrew.git","clone_url":"https://github.com/cactus/homebrew.git","svn_url":"https://github.com/cactus/homebrew","homepage":"https://github.com/Homebrew/homebrew","size":48748,"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":"fork"}},"base":{"label":"Homebrew:master","ref":"master","sha":"5d31d7a327c721e108072797520112aee7fb4d0c","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-08-02T01:12:36Z","pushed_at":"2015-08-02T01:41:51Z","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":1575065,"stargazers_count":24425,"watchers_count":24425,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":12257,"mirror_url":null,"open_issues_count":351,"forks":12257,"open_issues":351,"watchers":24425,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42344"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42344"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42344"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42344/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42344/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42344/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/7905e7408c49ce17af7d60a930732e98efd36b4a"}}}}