GitHub PullRequestReviewCommentEvent at 2014-08-22 17:58:40
Repository: mig
Actor: jvehent
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/mig/pulls/comments/16611617","id":16611617,"diff_hunk":"@@ -512,7 +531,9 @@ func (db *DB) InvestigatorByActionID(aid float64) (ivgts []mig.Investigator, err\n \t\t}\n \t\tivgts = append(ivgts, ivgt)\n \t}\n-\trows.Close()","path":"src/mig/database/queries.go","position":172,"original_position":172,"commit_id":"8cd323c5f987b7c00fb929fdb04b1bdec1255af1","original_commit_id":"8cd323c5f987b7c00fb929fdb04b1bdec1255af1","user":{"login":"jvehent","id":415617,"avatar_url":"https://avatars.githubusercontent.com/u/415617?v=2","gravatar_id":"dd4bde85e24e80c1e229ea190196687f","url":"https://api.github.com/users/jvehent","html_url":"https://github.com/jvehent","followers_url":"https://api.github.com/users/jvehent/followers","following_url":"https://api.github.com/users/jvehent/following{/other_user}","gists_url":"https://api.github.com/users/jvehent/gists{/gist_id}","starred_url":"https://api.github.com/users/jvehent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvehent/subscriptions","organizations_url":"https://api.github.com/users/jvehent/orgs","repos_url":"https://api.github.com/users/jvehent/repos","events_url":"https://api.github.com/users/jvehent/events{/privacy}","received_events_url":"https://api.github.com/users/jvehent/received_events","type":"User","site_admin":false},"body":"same as above","created_at":"2014-08-22T17:58:40Z","updated_at":"2014-08-22T17:58:40Z","html_url":"https://github.com/mozilla/mig/pull/21#discussion_r16611617","pull_request_url":"https://api.github.com/repos/mozilla/mig/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/mozilla/mig/pulls/comments/16611617"},"html":{"href":"https://github.com/mozilla/mig/pull/21#discussion_r16611617"},"pull_request":{"href":"https://api.github.com/repos/mozilla/mig/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/mig/pulls/21","id":20106937,"html_url":"https://github.com/mozilla/mig/pull/21","diff_url":"https://github.com/mozilla/mig/pull/21.diff","patch_url":"https://github.com/mozilla/mig/pull/21.patch","issue_url":"https://api.github.com/repos/mozilla/mig/issues/21","number":21,"state":"open","locked":false,"title":"Better database query error handling.","user":{"login":"dajohi","id":3308193,"avatar_url":"https://avatars.githubusercontent.com/u/3308193?v=2","gravatar_id":"69eedda640852135b2319d0b1778846a","url":"https://api.github.com/users/dajohi","html_url":"https://github.com/dajohi","followers_url":"https://api.github.com/users/dajohi/followers","following_url":"https://api.github.com/users/dajohi/following{/other_user}","gists_url":"https://api.github.com/users/dajohi/gists{/gist_id}","starred_url":"https://api.github.com/users/dajohi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dajohi/subscriptions","organizations_url":"https://api.github.com/users/dajohi/orgs","repos_url":"https://api.github.com/users/dajohi/repos","events_url":"https://api.github.com/users/dajohi/events{/privacy}","received_events_url":"https://api.github.com/users/dajohi/received_events","type":"User","site_admin":false},"body":"When returning due to an error, close the rows object.  Additionally,\r\nwhen rows.Next returns false, check if it was caused by an error.","created_at":"2014-08-21T12:44:38Z","updated_at":"2014-08-22T17:58:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2c4e70c691c6fb74f3461bdf4afab8e06b7cd71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/mig/pulls/21/commits","review_comments_url":"https://api.github.com/repos/mozilla/mig/pulls/21/comments","review_comment_url":"https://api.github.com/repos/mozilla/mig/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla/mig/issues/21/comments","statuses_url":"https://api.github.com/repos/mozilla/mig/statuses/8cd323c5f987b7c00fb929fdb04b1bdec1255af1","head":{"label":"dajohi:master","ref":"master","sha":"8cd323c5f987b7c00fb929fdb04b1bdec1255af1","user":{"login":"dajohi","id":3308193,"avatar_url":"https://avatars.githubusercontent.com/u/3308193?v=2","gravatar_id":"69eedda640852135b2319d0b1778846a","url":"https://api.github.com/users/dajohi","html_url":"https://github.com/dajohi","followers_url":"https://api.github.com/users/dajohi/followers","following_url":"https://api.github.com/users/dajohi/following{/other_user}","gists_url":"https://api.github.com/users/dajohi/gists{/gist_id}","starred_url":"https://api.github.com/users/dajohi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dajohi/subscriptions","organizations_url":"https://api.github.com/users/dajohi/orgs","repos_url":"https://api.github.com/users/dajohi/repos","events_url":"https://api.github.com/users/dajohi/events{/privacy}","received_events_url":"https://api.github.com/users/dajohi/received_events","type":"User","site_admin":false},"repo":{"id":23186353,"name":"mig","full_name":"dajohi/mig","owner":{"login":"dajohi","id":3308193,"avatar_url":"https://avatars.githubusercontent.com/u/3308193?v=2","gravatar_id":"69eedda640852135b2319d0b1778846a","url":"https://api.github.com/users/dajohi","html_url":"https://github.com/dajohi","followers_url":"https://api.github.com/users/dajohi/followers","following_url":"https://api.github.com/users/dajohi/following{/other_user}","gists_url":"https://api.github.com/users/dajohi/gists{/gist_id}","starred_url":"https://api.github.com/users/dajohi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dajohi/subscriptions","organizations_url":"https://api.github.com/users/dajohi/orgs","repos_url":"https://api.github.com/users/dajohi/repos","events_url":"https://api.github.com/users/dajohi/events{/privacy}","received_events_url":"https://api.github.com/users/dajohi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dajohi/mig","description":"OpSec's platform for investigative surgery of remote endpoints.","fork":true,"url":"https://api.github.com/repos/dajohi/mig","forks_url":"https://api.github.com/repos/dajohi/mig/forks","keys_url":"https://api.github.com/repos/dajohi/mig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dajohi/mig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dajohi/mig/teams","hooks_url":"https://api.github.com/repos/dajohi/mig/hooks","issue_events_url":"https://api.github.com/repos/dajohi/mig/issues/events{/number}","events_url":"https://api.github.com/repos/dajohi/mig/events","assignees_url":"https://api.github.com/repos/dajohi/mig/assignees{/user}","branches_url":"https://api.github.com/repos/dajohi/mig/branches{/branch}","tags_url":"https://api.github.com/repos/dajohi/mig/tags","blobs_url":"https://api.github.com/repos/dajohi/mig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dajohi/mig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dajohi/mig/git/refs{/sha}","trees_url":"https://api.github.com/repos/dajohi/mig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dajohi/mig/statuses/{sha}","languages_url":"https://api.github.com/repos/dajohi/mig/languages","stargazers_url":"https://api.github.com/repos/dajohi/mig/stargazers","contributors_url":"https://api.github.com/repos/dajohi/mig/contributors","subscribers_url":"https://api.github.com/repos/dajohi/mig/subscribers","subscription_url":"https://api.github.com/repos/dajohi/mig/subscription","commits_url":"https://api.github.com/repos/dajohi/mig/commits{/sha}","git_commits_url":"https://api.github.com/repos/dajohi/mig/git/commits{/sha}","comments_url":"https://api.github.com/repos/dajohi/mig/comments{/number}","issue_comment_url":"https://api.github.com/repos/dajohi/mig/issues/comments/{number}","contents_url":"https://api.github.com/repos/dajohi/mig/contents/{+path}","compare_url":"https://api.github.com/repos/dajohi/mig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dajohi/mig/merges","archive_url":"https://api.github.com/repos/dajohi/mig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dajohi/mig/downloads","issues_url":"https://api.github.com/repos/dajohi/mig/issues{/number}","pulls_url":"https://api.github.com/repos/dajohi/mig/pulls{/number}","milestones_url":"https://api.github.com/repos/dajohi/mig/milestones{/number}","notifications_url":"https://api.github.com/repos/dajohi/mig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dajohi/mig/labels{/name}","releases_url":"https://api.github.com/repos/dajohi/mig/releases{/id}","created_at":"2014-08-21T12:31:23Z","updated_at":"2014-08-21T12:44:25Z","pushed_at":"2014-08-21T12:45:52Z","git_url":"git://github.com/dajohi/mig.git","ssh_url":"git@github.com:dajohi/mig.git","clone_url":"https://github.com/dajohi/mig.git","svn_url":"https://github.com/dajohi/mig","homepage":"","size":13031,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"68245f0ad2f60c0dc2a3db4367ef1984cda41ec2","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=2","gravatar_id":"9ba739c8f3288e256b13553e4d257b5e","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":12719968,"name":"mig","full_name":"mozilla/mig","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=2","gravatar_id":"9ba739c8f3288e256b13553e4d257b5e","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/mig","description":"OpSec's platform for investigative surgery of remote endpoints.","fork":false,"url":"https://api.github.com/repos/mozilla/mig","forks_url":"https://api.github.com/repos/mozilla/mig/forks","keys_url":"https://api.github.com/repos/mozilla/mig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/mig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/mig/teams","hooks_url":"https://api.github.com/repos/mozilla/mig/hooks","issue_events_url":"https://api.github.com/repos/mozilla/mig/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/mig/events","assignees_url":"https://api.github.com/repos/mozilla/mig/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/mig/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/mig/tags","blobs_url":"https://api.github.com/repos/mozilla/mig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/mig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/mig/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/mig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/mig/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/mig/languages","stargazers_url":"https://api.github.com/repos/mozilla/mig/stargazers","contributors_url":"https://api.github.com/repos/mozilla/mig/contributors","subscribers_url":"https://api.github.com/repos/mozilla/mig/subscribers","subscription_url":"https://api.github.com/repos/mozilla/mig/subscription","commits_url":"https://api.github.com/repos/mozilla/mig/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/mig/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/mig/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/mig/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla/mig/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/mig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/mig/merges","archive_url":"https://api.github.com/repos/mozilla/mig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/mig/downloads","issues_url":"https://api.github.com/repos/mozilla/mig/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/mig/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/mig/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/mig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/mig/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/mig/releases{/id}","created_at":"2013-09-10T04:04:40Z","updated_at":"2014-08-22T02:04:09Z","pushed_at":"2014-08-22T17:53:26Z","git_url":"git://github.com/mozilla/mig.git","ssh_url":"git@github.com:mozilla/mig.git","clone_url":"https://github.com/mozilla/mig.git","svn_url":"https://github.com/mozilla/mig","homepage":"","size":13031,"stargazers_count":106,"watchers_count":106,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":23,"mirror_url":null,"open_issues_count":1,"forks":23,"open_issues":1,"watchers":106,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/mig/pulls/21"},"html":{"href":"https://github.com/mozilla/mig/pull/21"},"issue":{"href":"https://api.github.com/repos/mozilla/mig/issues/21"},"comments":{"href":"https://api.github.com/repos/mozilla/mig/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/mig/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/mig/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla/mig/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/mig/statuses/8cd323c5f987b7c00fb929fdb04b1bdec1255af1"}}}}