{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/26921041","id":26921041,"diff_hunk":"@@ -0,0 +1,45 @@\n+class Ccnet < Formula\n+  homepage \"http://www.seafile.com/\"\n+  url \"https://github.com/haiwen/ccnet/archive/v4.1.3.tar.gz\"\n+  sha1 \"bbf052d1f37e3824c32088654dd8ad49aec8e019\"\n+\n+  head \"https://github.com/haiwen/ccnet.git\"\n+\n+  #[FIX] homebrew autotools path\n+  patch :p1 do\n+    url \"https://github.com/Chilledheart/ccnet/commit/48610f08.diff\"\n+    sha1 \"af5a53ffb9fca0d4918b9d2ef1afd54959ecf186\"\n+  end\n+\n+  #[FIX] openssl build\n+  patch :p1 do\n+    url \"https://github.com/Chilledheart/ccnet/commit/4bede362.diff\"\n+    sha1 \"e6c540344dfa4d4650cf3e370f2421d897319ab6\"\n+  end\n+\n+  depends_on \"autoconf\" => :build\n+  depends_on \"automake\" => :build\n+  depends_on \"pkg-config\" => :build\n+  depends_on \"libtool\" => :build\n+  depends_on \"vala\" => :build\n+  depends_on \"glib\"\n+  depends_on \"jansson\"\n+  depends_on \"libevent\"\n+  depends_on \"openssl\"\n+  depends_on \"sqlite\"\n+  depends_on \"libsearpc\"\n+\n+  def install\n+    args = %W[\n+      --prefix=#{prefix}\n+      --enable-client\n+      --disable-server\n+      --disable-compile-demo\n+    ]\n+\n+    system \"./autogen.sh\"\n+    system \"./configure\", *args\n+    system \"make\"\n+    system \"make\", \"install\"\n+  end","path":"Library/Formula/ccnet.rb","position":44,"original_position":44,"commit_id":"948f5865a45518b8044c38dba378158b942827a2","original_commit_id":"948f5865a45518b8044c38dba378158b942827a2","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":"Can a test be added to do something more substantial than e.g. `--version` or `--help`? See `cmake.rb` for an example of an application formula with a good test and `tinyxml2.rb` for an example of a library formula with a good test. Thanks!","created_at":"2015-03-23T09:04:39Z","updated_at":"2015-03-23T09:04:39Z","html_url":"https://github.com/Homebrew/homebrew/pull/37988#discussion_r26921041","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37988","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/26921041"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/37988#discussion_r26921041"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37988"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37988","id":31713970,"html_url":"https://github.com/Homebrew/homebrew/pull/37988","diff_url":"https://github.com/Homebrew/homebrew/pull/37988.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/37988.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37988","number":37988,"state":"open","locked":false,"title":"seafile-client 4.1.3: new formula","user":{"login":"Chilledheart","id":2123461,"avatar_url":"https://avatars.githubusercontent.com/u/2123461?v=3","gravatar_id":"","url":"https://api.github.com/users/Chilledheart","html_url":"https://github.com/Chilledheart","followers_url":"https://api.github.com/users/Chilledheart/followers","following_url":"https://api.github.com/users/Chilledheart/following{/other_user}","gists_url":"https://api.github.com/users/Chilledheart/gists{/gist_id}","starred_url":"https://api.github.com/users/Chilledheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chilledheart/subscriptions","organizations_url":"https://api.github.com/users/Chilledheart/orgs","repos_url":"https://api.github.com/users/Chilledheart/repos","events_url":"https://api.github.com/users/Chilledheart/events{/privacy}","received_events_url":"https://api.github.com/users/Chilledheart/received_events","type":"User","site_admin":false},"body":"Add seafile-client formula and its three dependencies, namely, libsearpc, ccnet and seafile.\r\n\r\nThese four formulas have been host at\r\nhttp://github.com/Chilledheart/homebrew-seafile for months and work fine.\r\n> it is documented in the [seafile's official guide](http://manual.seafile.com/build_seafile/osx.html) as well.\r\n\r\nBy submiting these formula to the upstream I hope it can benefit more people.","created_at":"2015-03-23T08:59:49Z","updated_at":"2015-03-23T09:04:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ff43c8a18fd2d055895a4ffc9b88f87dde670ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37988/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37988/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37988/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/948f5865a45518b8044c38dba378158b942827a2","head":{"label":"Chilledheart:seafile","ref":"seafile","sha":"948f5865a45518b8044c38dba378158b942827a2","user":{"login":"Chilledheart","id":2123461,"avatar_url":"https://avatars.githubusercontent.com/u/2123461?v=3","gravatar_id":"","url":"https://api.github.com/users/Chilledheart","html_url":"https://github.com/Chilledheart","followers_url":"https://api.github.com/users/Chilledheart/followers","following_url":"https://api.github.com/users/Chilledheart/following{/other_user}","gists_url":"https://api.github.com/users/Chilledheart/gists{/gist_id}","starred_url":"https://api.github.com/users/Chilledheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chilledheart/subscriptions","organizations_url":"https://api.github.com/users/Chilledheart/orgs","repos_url":"https://api.github.com/users/Chilledheart/repos","events_url":"https://api.github.com/users/Chilledheart/events{/privacy}","received_events_url":"https://api.github.com/users/Chilledheart/received_events","type":"User","site_admin":false},"repo":{"id":20154659,"name":"homebrew","full_name":"Chilledheart/homebrew","owner":{"login":"Chilledheart","id":2123461,"avatar_url":"https://avatars.githubusercontent.com/u/2123461?v=3","gravatar_id":"","url":"https://api.github.com/users/Chilledheart","html_url":"https://github.com/Chilledheart","followers_url":"https://api.github.com/users/Chilledheart/followers","following_url":"https://api.github.com/users/Chilledheart/following{/other_user}","gists_url":"https://api.github.com/users/Chilledheart/gists{/gist_id}","starred_url":"https://api.github.com/users/Chilledheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chilledheart/subscriptions","organizations_url":"https://api.github.com/users/Chilledheart/orgs","repos_url":"https://api.github.com/users/Chilledheart/repos","events_url":"https://api.github.com/users/Chilledheart/events{/privacy}","received_events_url":"https://api.github.com/users/Chilledheart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Chilledheart/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/Chilledheart/homebrew","forks_url":"https://api.github.com/repos/Chilledheart/homebrew/forks","keys_url":"https://api.github.com/repos/Chilledheart/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chilledheart/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chilledheart/homebrew/teams","hooks_url":"https://api.github.com/repos/Chilledheart/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Chilledheart/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Chilledheart/homebrew/events","assignees_url":"https://api.github.com/repos/Chilledheart/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Chilledheart/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Chilledheart/homebrew/tags","blobs_url":"https://api.github.com/repos/Chilledheart/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chilledheart/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chilledheart/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chilledheart/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chilledheart/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Chilledheart/homebrew/languages","stargazers_url":"https://api.github.com/repos/Chilledheart/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Chilledheart/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Chilledheart/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Chilledheart/homebrew/subscription","commits_url":"https://api.github.com/repos/Chilledheart/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chilledheart/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chilledheart/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chilledheart/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chilledheart/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Chilledheart/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chilledheart/homebrew/merges","archive_url":"https://api.github.com/repos/Chilledheart/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chilledheart/homebrew/downloads","issues_url":"https://api.github.com/repos/Chilledheart/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Chilledheart/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Chilledheart/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Chilledheart/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chilledheart/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Chilledheart/homebrew/releases{/id}","created_at":"2014-05-25T13:05:12Z","updated_at":"2014-12-18T08:32:59Z","pushed_at":"2015-03-23T08:59:39Z","git_url":"git://github.com/Chilledheart/homebrew.git","ssh_url":"git@github.com:Chilledheart/homebrew.git","clone_url":"https://github.com/Chilledheart/homebrew.git","svn_url":"https://github.com/Chilledheart/homebrew","homepage":"http://brew.sh","size":50808,"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":"e627ecb1303b00a0f53068c3f828e974c2128798","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-03-23T08:49:28Z","pushed_at":"2015-03-23T08:59:54Z","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":1465073,"stargazers_count":22035,"watchers_count":22035,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":11022,"mirror_url":null,"open_issues_count":364,"forks":11022,"open_issues":364,"watchers":22035,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37988"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/37988"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/37988"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/37988/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37988/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37988/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/948f5865a45518b8044c38dba378158b942827a2"}}}}