{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/38799681","id":38799681,"diff_hunk":"@@ -0,0 +1,36 @@\n+class Qbittorrent < Formula\n+  desc \"Qt based free and reliable P2P Bittorrent client\"\n+  homepage 'http://www.qbittorrent.org'\n+  url 'https://github.com/qbittorrent/qBittorrent/archive/release-3.2.3.tar.gz'\n+  sha256 \"816d611a0af50c469f52946c94b88c003f908ee031ee0e55a45273e4c64897c5\"\n+  head 'https://github.com/qbittorrent/qBittorrent.git',\n+    :branch => ENV['QBT_BRANCH'] || \"master\"\n+\n+  depends_on \"pkg-config\" => :build\n+  depends_on \"qt\" => :build\n+  depends_on \"libtorrent-rasterbar\" => :build\n+  depends_on \"boost\" => :build\n+  depends_on \"gnu-sed\" => :build\n+\n+  resource \"geoIP\" do\n+    url \"http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz\"","path":"Library/Formula/qbittorrent.rb","position":15,"original_position":16,"commit_id":"2e7942285e4f080a2c74109e979e57f551d4c86d","original_commit_id":"975a5fab58a161dea6038c65e966109c5b4ba5f3","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":"It's difficult, to be honest. Debian hack around this in their `geoip` package by doing this in the bootstrap:\r\n\r\n```\r\nmkdir -p $DIR/data\r\nif [ ! -f $DIR/data/GeoIP.dat  ]; then\r\n      curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | gzip -d > $DIR/data/GeoIP.dat\r\nfi\r\n```\r\n\r\nNot ideal, really. My gut feeling would be for Homebrew to mirror semi-up-to-date GeoIP.dat \"releases\", but the attribution element of the license requirement makes that slightly tricky.","created_at":"2015-09-04T22:30:58Z","updated_at":"2015-09-04T22:30:58Z","html_url":"https://github.com/Homebrew/homebrew/pull/43591#discussion_r38799681","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43591","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/38799681"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/43591#discussion_r38799681"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43591"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43591","id":44265539,"html_url":"https://github.com/Homebrew/homebrew/pull/43591","diff_url":"https://github.com/Homebrew/homebrew/pull/43591.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/43591.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43591","number":43591,"state":"open","locked":false,"title":"qBittorrent's Homebrew formula.","user":{"login":"ainstushar","id":7689996,"avatar_url":"https://avatars.githubusercontent.com/u/7689996?v=3","gravatar_id":"","url":"https://api.github.com/users/ainstushar","html_url":"https://github.com/ainstushar","followers_url":"https://api.github.com/users/ainstushar/followers","following_url":"https://api.github.com/users/ainstushar/following{/other_user}","gists_url":"https://api.github.com/users/ainstushar/gists{/gist_id}","starred_url":"https://api.github.com/users/ainstushar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ainstushar/subscriptions","organizations_url":"https://api.github.com/users/ainstushar/orgs","repos_url":"https://api.github.com/users/ainstushar/repos","events_url":"https://api.github.com/users/ainstushar/events{/privacy}","received_events_url":"https://api.github.com/users/ainstushar/received_events","type":"User","site_admin":false},"body":"My 1st formula. For qBittorrent. Please let me know if I've screwed up.\r\n\r\nBig thanks to @mistydemeo for spoon-feeding me these steps.","created_at":"2015-09-04T21:59:35Z","updated_at":"2015-09-04T22:30:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"154172d629209e12e292b027cda6a861f2192014","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43591/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43591/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43591/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/2e7942285e4f080a2c74109e979e57f551d4c86d","head":{"label":"ainstushar:qBittorrent","ref":"qBittorrent","sha":"2e7942285e4f080a2c74109e979e57f551d4c86d","user":{"login":"ainstushar","id":7689996,"avatar_url":"https://avatars.githubusercontent.com/u/7689996?v=3","gravatar_id":"","url":"https://api.github.com/users/ainstushar","html_url":"https://github.com/ainstushar","followers_url":"https://api.github.com/users/ainstushar/followers","following_url":"https://api.github.com/users/ainstushar/following{/other_user}","gists_url":"https://api.github.com/users/ainstushar/gists{/gist_id}","starred_url":"https://api.github.com/users/ainstushar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ainstushar/subscriptions","organizations_url":"https://api.github.com/users/ainstushar/orgs","repos_url":"https://api.github.com/users/ainstushar/repos","events_url":"https://api.github.com/users/ainstushar/events{/privacy}","received_events_url":"https://api.github.com/users/ainstushar/received_events","type":"User","site_admin":false},"repo":{"id":41939324,"name":"homebrew","full_name":"ainstushar/homebrew","owner":{"login":"ainstushar","id":7689996,"avatar_url":"https://avatars.githubusercontent.com/u/7689996?v=3","gravatar_id":"","url":"https://api.github.com/users/ainstushar","html_url":"https://github.com/ainstushar","followers_url":"https://api.github.com/users/ainstushar/followers","following_url":"https://api.github.com/users/ainstushar/following{/other_user}","gists_url":"https://api.github.com/users/ainstushar/gists{/gist_id}","starred_url":"https://api.github.com/users/ainstushar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ainstushar/subscriptions","organizations_url":"https://api.github.com/users/ainstushar/orgs","repos_url":"https://api.github.com/users/ainstushar/repos","events_url":"https://api.github.com/users/ainstushar/events{/privacy}","received_events_url":"https://api.github.com/users/ainstushar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ainstushar/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/ainstushar/homebrew","forks_url":"https://api.github.com/repos/ainstushar/homebrew/forks","keys_url":"https://api.github.com/repos/ainstushar/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ainstushar/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ainstushar/homebrew/teams","hooks_url":"https://api.github.com/repos/ainstushar/homebrew/hooks","issue_events_url":"https://api.github.com/repos/ainstushar/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/ainstushar/homebrew/events","assignees_url":"https://api.github.com/repos/ainstushar/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/ainstushar/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/ainstushar/homebrew/tags","blobs_url":"https://api.github.com/repos/ainstushar/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ainstushar/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ainstushar/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/ainstushar/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ainstushar/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/ainstushar/homebrew/languages","stargazers_url":"https://api.github.com/repos/ainstushar/homebrew/stargazers","contributors_url":"https://api.github.com/repos/ainstushar/homebrew/contributors","subscribers_url":"https://api.github.com/repos/ainstushar/homebrew/subscribers","subscription_url":"https://api.github.com/repos/ainstushar/homebrew/subscription","commits_url":"https://api.github.com/repos/ainstushar/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/ainstushar/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/ainstushar/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/ainstushar/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/ainstushar/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/ainstushar/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ainstushar/homebrew/merges","archive_url":"https://api.github.com/repos/ainstushar/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ainstushar/homebrew/downloads","issues_url":"https://api.github.com/repos/ainstushar/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/ainstushar/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/ainstushar/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/ainstushar/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ainstushar/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/ainstushar/homebrew/releases{/id}","created_at":"2015-09-04T21:51:24Z","updated_at":"2015-09-04T21:51:43Z","pushed_at":"2015-09-04T22:20:24Z","git_url":"git://github.com/ainstushar/homebrew.git","ssh_url":"git@github.com:ainstushar/homebrew.git","clone_url":"https://github.com/ainstushar/homebrew.git","svn_url":"https://github.com/ainstushar/homebrew","homepage":"http://brew.sh","size":1589684,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"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":"a3ff9a37f1d5baf1428465dbdba3616e247182e3","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-04T16:55:47Z","pushed_at":"2015-09-04T22:20:28Z","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":1589684,"stargazers_count":24987,"watchers_count":24987,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":12588,"mirror_url":null,"open_issues_count":413,"forks":12588,"open_issues":413,"watchers":24987,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43591"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/43591"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/43591"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/43591/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43591/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43591/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/2e7942285e4f080a2c74109e979e57f551d4c86d"}}}}