{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/comments/24591688","id":24591688,"diff_hunk":"@@ -52,6 +58,40 @@ fi\n \n source build.sh\n \n+echo 'Installing lua-geoip libs'\n+cd $BASE/build\n+if [ ! -d lua-geoip ]; then\n+    # Fetch the lua geoip lib\n+    git clone https://github.com/agladysh/lua-geoip.git","path":"bin/build_pipeline_heka.sh","position":21,"original_position":21,"commit_id":"925c2e84cfbe79ce9cef687389f832d11dc58ddb","original_commit_id":"925c2e84cfbe79ce9cef687389f832d11dc58ddb","user":{"login":"trink","id":795988,"avatar_url":"https://avatars.githubusercontent.com/u/795988?v=3","gravatar_id":"","url":"https://api.github.com/users/trink","html_url":"https://github.com/trink","followers_url":"https://api.github.com/users/trink/followers","following_url":"https://api.github.com/users/trink/following{/other_user}","gists_url":"https://api.github.com/users/trink/gists{/gist_id}","starred_url":"https://api.github.com/users/trink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trink/subscriptions","organizations_url":"https://api.github.com/users/trink/orgs","repos_url":"https://api.github.com/users/trink/repos","events_url":"https://api.github.com/users/trink/events{/privacy}","received_events_url":"https://api.github.com/users/trink/received_events","type":"User","site_admin":false},"body":"We probably want to checkout a specific SHA instead of blindly taking whatever has been added.","created_at":"2015-02-12T16:03:05Z","updated_at":"2015-02-12T16:03:05Z","html_url":"https://github.com/mozilla-services/data-pipeline/pull/5#discussion_r24591688","pull_request_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/comments/24591688"},"html":{"href":"https://github.com/mozilla-services/data-pipeline/pull/5#discussion_r24591688"},"pull_request":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/5","id":29184479,"html_url":"https://github.com/mozilla-services/data-pipeline/pull/5","diff_url":"https://github.com/mozilla-services/data-pipeline/pull/5.diff","patch_url":"https://github.com/mozilla-services/data-pipeline/pull/5.patch","issue_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/5","number":5,"state":"open","locked":false,"title":"Build shared lib for lua-geoip","user":{"login":"mreid-moz","id":969479,"avatar_url":"https://avatars.githubusercontent.com/u/969479?v=3","gravatar_id":"","url":"https://api.github.com/users/mreid-moz","html_url":"https://github.com/mreid-moz","followers_url":"https://api.github.com/users/mreid-moz/followers","following_url":"https://api.github.com/users/mreid-moz/following{/other_user}","gists_url":"https://api.github.com/users/mreid-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/mreid-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreid-moz/subscriptions","organizations_url":"https://api.github.com/users/mreid-moz/orgs","repos_url":"https://api.github.com/users/mreid-moz/repos","events_url":"https://api.github.com/users/mreid-moz/events{/privacy}","received_events_url":"https://api.github.com/users/mreid-moz/received_events","type":"User","site_admin":false},"body":"Checkout, build, and package the lua-geoip shared libraries.  There's some very weak OS detection that should make it work on Linux and OSX.  The GeoIP library is needed for [Bug 1129222](https://bugzilla.mozilla.org/show_bug.cgi?id=1129222)","created_at":"2015-02-12T14:49:07Z","updated_at":"2015-02-12T16:03:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a377dde0a55d1e7943a42468f2553abfdffccae7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/5/commits","review_comments_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/5/comments","review_comment_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/5/comments","statuses_url":"https://api.github.com/repos/mozilla-services/data-pipeline/statuses/925c2e84cfbe79ce9cef687389f832d11dc58ddb","head":{"label":"mreid-moz:build_geoip","ref":"build_geoip","sha":"925c2e84cfbe79ce9cef687389f832d11dc58ddb","user":{"login":"mreid-moz","id":969479,"avatar_url":"https://avatars.githubusercontent.com/u/969479?v=3","gravatar_id":"","url":"https://api.github.com/users/mreid-moz","html_url":"https://github.com/mreid-moz","followers_url":"https://api.github.com/users/mreid-moz/followers","following_url":"https://api.github.com/users/mreid-moz/following{/other_user}","gists_url":"https://api.github.com/users/mreid-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/mreid-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreid-moz/subscriptions","organizations_url":"https://api.github.com/users/mreid-moz/orgs","repos_url":"https://api.github.com/users/mreid-moz/repos","events_url":"https://api.github.com/users/mreid-moz/events{/privacy}","received_events_url":"https://api.github.com/users/mreid-moz/received_events","type":"User","site_admin":false},"repo":{"id":30599564,"name":"data-pipeline","full_name":"mreid-moz/data-pipeline","owner":{"login":"mreid-moz","id":969479,"avatar_url":"https://avatars.githubusercontent.com/u/969479?v=3","gravatar_id":"","url":"https://api.github.com/users/mreid-moz","html_url":"https://github.com/mreid-moz","followers_url":"https://api.github.com/users/mreid-moz/followers","following_url":"https://api.github.com/users/mreid-moz/following{/other_user}","gists_url":"https://api.github.com/users/mreid-moz/gists{/gist_id}","starred_url":"https://api.github.com/users/mreid-moz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreid-moz/subscriptions","organizations_url":"https://api.github.com/users/mreid-moz/orgs","repos_url":"https://api.github.com/users/mreid-moz/repos","events_url":"https://api.github.com/users/mreid-moz/events{/privacy}","received_events_url":"https://api.github.com/users/mreid-moz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mreid-moz/data-pipeline","description":"Mozilla Services Data Pipeline","fork":true,"url":"https://api.github.com/repos/mreid-moz/data-pipeline","forks_url":"https://api.github.com/repos/mreid-moz/data-pipeline/forks","keys_url":"https://api.github.com/repos/mreid-moz/data-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mreid-moz/data-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mreid-moz/data-pipeline/teams","hooks_url":"https://api.github.com/repos/mreid-moz/data-pipeline/hooks","issue_events_url":"https://api.github.com/repos/mreid-moz/data-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/mreid-moz/data-pipeline/events","assignees_url":"https://api.github.com/repos/mreid-moz/data-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/mreid-moz/data-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/mreid-moz/data-pipeline/tags","blobs_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mreid-moz/data-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/mreid-moz/data-pipeline/languages","stargazers_url":"https://api.github.com/repos/mreid-moz/data-pipeline/stargazers","contributors_url":"https://api.github.com/repos/mreid-moz/data-pipeline/contributors","subscribers_url":"https://api.github.com/repos/mreid-moz/data-pipeline/subscribers","subscription_url":"https://api.github.com/repos/mreid-moz/data-pipeline/subscription","commits_url":"https://api.github.com/repos/mreid-moz/data-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/mreid-moz/data-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/mreid-moz/data-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/mreid-moz/data-pipeline/issues/comments/{number}","contents_url":"https://api.github.com/repos/mreid-moz/data-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/mreid-moz/data-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mreid-moz/data-pipeline/merges","archive_url":"https://api.github.com/repos/mreid-moz/data-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mreid-moz/data-pipeline/downloads","issues_url":"https://api.github.com/repos/mreid-moz/data-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/mreid-moz/data-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/mreid-moz/data-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/mreid-moz/data-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mreid-moz/data-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/mreid-moz/data-pipeline/releases{/id}","created_at":"2015-02-10T15:47:28Z","updated_at":"2015-02-10T15:47:29Z","pushed_at":"2015-02-12T15:26:25Z","git_url":"git://github.com/mreid-moz/data-pipeline.git","ssh_url":"git@github.com:mreid-moz/data-pipeline.git","clone_url":"https://github.com/mreid-moz/data-pipeline.git","svn_url":"https://github.com/mreid-moz/data-pipeline","homepage":null,"size":320,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"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":"mozilla-services:master","ref":"master","sha":"30deb470f77915fcfc3938962ce48f7ac7c469f8","user":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"repo":{"id":29309276,"name":"data-pipeline","full_name":"mozilla-services/data-pipeline","owner":{"login":"mozilla-services","id":1066228,"avatar_url":"https://avatars.githubusercontent.com/u/1066228?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-services","html_url":"https://github.com/mozilla-services","followers_url":"https://api.github.com/users/mozilla-services/followers","following_url":"https://api.github.com/users/mozilla-services/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-services/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-services/subscriptions","organizations_url":"https://api.github.com/users/mozilla-services/orgs","repos_url":"https://api.github.com/users/mozilla-services/repos","events_url":"https://api.github.com/users/mozilla-services/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-services/data-pipeline","description":"Mozilla Services Data Pipeline","fork":false,"url":"https://api.github.com/repos/mozilla-services/data-pipeline","forks_url":"https://api.github.com/repos/mozilla-services/data-pipeline/forks","keys_url":"https://api.github.com/repos/mozilla-services/data-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-services/data-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-services/data-pipeline/teams","hooks_url":"https://api.github.com/repos/mozilla-services/data-pipeline/hooks","issue_events_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-services/data-pipeline/events","assignees_url":"https://api.github.com/repos/mozilla-services/data-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-services/data-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-services/data-pipeline/tags","blobs_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-services/data-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-services/data-pipeline/languages","stargazers_url":"https://api.github.com/repos/mozilla-services/data-pipeline/stargazers","contributors_url":"https://api.github.com/repos/mozilla-services/data-pipeline/contributors","subscribers_url":"https://api.github.com/repos/mozilla-services/data-pipeline/subscribers","subscription_url":"https://api.github.com/repos/mozilla-services/data-pipeline/subscription","commits_url":"https://api.github.com/repos/mozilla-services/data-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-services/data-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-services/data-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla-services/data-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-services/data-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-services/data-pipeline/merges","archive_url":"https://api.github.com/repos/mozilla-services/data-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-services/data-pipeline/downloads","issues_url":"https://api.github.com/repos/mozilla-services/data-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-services/data-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-services/data-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-services/data-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-services/data-pipeline/releases{/id}","created_at":"2015-01-15T17:34:58Z","updated_at":"2015-02-11T13:08:17Z","pushed_at":"2015-02-11T13:08:17Z","git_url":"git://github.com/mozilla-services/data-pipeline.git","ssh_url":"git@github.com:mozilla-services/data-pipeline.git","clone_url":"https://github.com/mozilla-services/data-pipeline.git","svn_url":"https://github.com/mozilla-services/data-pipeline","homepage":null,"size":320,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/5"},"html":{"href":"https://github.com/mozilla-services/data-pipeline/pull/5"},"issue":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/5"},"comments":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-services/data-pipeline/statuses/925c2e84cfbe79ce9cef687389f832d11dc58ddb"}}}}