GitHub PullRequestReviewCommentEvent at 2014-07-02 16:47:54
Repository: mongo-cxx-driver
Actor: acmorrow
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/14468555","id":14468555,"diff_hunk":"@@ -369,6 +373,9 @@ namespace mongo {\n             return BSONObj();\n         return obj.getObjectField( \"$hint\" );\n     }\n+    BSONObj Query::getReadPref() const {","path":"src/mongo/client/dbclient.cpp","position":15,"original_position":15,"commit_id":"5708785283aec67e24d597794f6f4631f0a60266","original_commit_id":"5708785283aec67e24d597794f6f4631f0a60266","user":{"login":"acmorrow","id":268253,"avatar_url":"https://avatars.githubusercontent.com/u/268253?","gravatar_id":"dbfcfc0e3c4b2b0baef2383fbc97f687","url":"https://api.github.com/users/acmorrow","html_url":"https://github.com/acmorrow","followers_url":"https://api.github.com/users/acmorrow/followers","following_url":"https://api.github.com/users/acmorrow/following{/other_user}","gists_url":"https://api.github.com/users/acmorrow/gists{/gist_id}","starred_url":"https://api.github.com/users/acmorrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acmorrow/subscriptions","organizations_url":"https://api.github.com/users/acmorrow/orgs","repos_url":"https://api.github.com/users/acmorrow/repos","events_url":"https://api.github.com/users/acmorrow/events{/privacy}","received_events_url":"https://api.github.com/users/acmorrow/received_events","type":"User","site_admin":false},"body":"Add a blank line before starting this method","created_at":"2014-07-02T16:47:54Z","updated_at":"2014-07-02T16:47:54Z","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/110#discussion_r14468555","pull_request_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/14468555"},"html":{"href":"https://github.com/mongodb/mongo-cxx-driver/pull/110#discussion_r14468555"},"pull_request":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/110","id":17895910,"html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/110","diff_url":"https://github.com/mongodb/mongo-cxx-driver/pull/110.diff","patch_url":"https://github.com/mongodb/mongo-cxx-driver/pull/110.patch","issue_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/110","number":110,"state":"open","title":"CXX-179 Support read preference for commands","user":{"login":"TylerBrock","id":280807,"avatar_url":"https://avatars.githubusercontent.com/u/280807?","gravatar_id":"c191b7663bac34a35bba3d096712c3c1","url":"https://api.github.com/users/TylerBrock","html_url":"https://github.com/TylerBrock","followers_url":"https://api.github.com/users/TylerBrock/followers","following_url":"https://api.github.com/users/TylerBrock/following{/other_user}","gists_url":"https://api.github.com/users/TylerBrock/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerBrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerBrock/subscriptions","organizations_url":"https://api.github.com/users/TylerBrock/orgs","repos_url":"https://api.github.com/users/TylerBrock/repos","events_url":"https://api.github.com/users/TylerBrock/events{/privacy}","received_events_url":"https://api.github.com/users/TylerBrock/received_events","type":"User","site_admin":false},"body":"The idea here is to make minimal changes to the way the existing driver works in order to support passing a read preference to commands by having them take a Query object (upon which read preferences can be piggybacked) instead of a BSONObj.","created_at":"2014-07-02T16:16:43Z","updated_at":"2014-07-02T16:47:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baceec934f8dab125dda71839f1524ea4b34acfa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/110/commits","review_comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/110/comments","review_comment_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/110/comments","statuses_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/5708785283aec67e24d597794f6f4631f0a60266","head":{"label":"TylerBrock:CXX-179","ref":"CXX-179","sha":"5708785283aec67e24d597794f6f4631f0a60266","user":{"login":"TylerBrock","id":280807,"avatar_url":"https://avatars.githubusercontent.com/u/280807?","gravatar_id":"c191b7663bac34a35bba3d096712c3c1","url":"https://api.github.com/users/TylerBrock","html_url":"https://github.com/TylerBrock","followers_url":"https://api.github.com/users/TylerBrock/followers","following_url":"https://api.github.com/users/TylerBrock/following{/other_user}","gists_url":"https://api.github.com/users/TylerBrock/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerBrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerBrock/subscriptions","organizations_url":"https://api.github.com/users/TylerBrock/orgs","repos_url":"https://api.github.com/users/TylerBrock/repos","events_url":"https://api.github.com/users/TylerBrock/events{/privacy}","received_events_url":"https://api.github.com/users/TylerBrock/received_events","type":"User","site_admin":false},"repo":{"id":17290339,"name":"mongo-cxx-driver","full_name":"TylerBrock/mongo-cxx-driver","owner":{"login":"TylerBrock","id":280807,"avatar_url":"https://avatars.githubusercontent.com/u/280807?","gravatar_id":"c191b7663bac34a35bba3d096712c3c1","url":"https://api.github.com/users/TylerBrock","html_url":"https://github.com/TylerBrock","followers_url":"https://api.github.com/users/TylerBrock/followers","following_url":"https://api.github.com/users/TylerBrock/following{/other_user}","gists_url":"https://api.github.com/users/TylerBrock/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerBrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerBrock/subscriptions","organizations_url":"https://api.github.com/users/TylerBrock/orgs","repos_url":"https://api.github.com/users/TylerBrock/repos","events_url":"https://api.github.com/users/TylerBrock/events{/privacy}","received_events_url":"https://api.github.com/users/TylerBrock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TylerBrock/mongo-cxx-driver","description":"C++ Driver for MongoDB","fork":true,"url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver","forks_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/forks","keys_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/teams","hooks_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/hooks","issue_events_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/issues/events{/number}","events_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/events","assignees_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/assignees{/user}","branches_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/branches{/branch}","tags_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/tags","blobs_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/languages","stargazers_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/stargazers","contributors_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/contributors","subscribers_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/subscribers","subscription_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/subscription","commits_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/issues/comments/{number}","contents_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/contents/{+path}","compare_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/merges","archive_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/downloads","issues_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/issues{/number}","pulls_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/labels{/name}","releases_url":"https://api.github.com/repos/TylerBrock/mongo-cxx-driver/releases{/id}","created_at":"2014-02-28T15:33:25Z","updated_at":"2014-06-25T19:31:19Z","pushed_at":"2014-07-02T16:35:25Z","git_url":"git://github.com/TylerBrock/mongo-cxx-driver.git","ssh_url":"git@github.com:TylerBrock/mongo-cxx-driver.git","clone_url":"https://github.com/TylerBrock/mongo-cxx-driver.git","svn_url":"https://github.com/TylerBrock/mongo-cxx-driver","homepage":null,"size":6868,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"legacy"}},"base":{"label":"mongodb:legacy","ref":"legacy","sha":"01cf64ecf130204b66851d61bf7f22e81d6bbd11","user":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?","gravatar_id":"c17ac52a9e94e768c4fab0ce37065841","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"repo":{"id":15881868,"name":"mongo-cxx-driver","full_name":"mongodb/mongo-cxx-driver","owner":{"login":"mongodb","id":45120,"avatar_url":"https://avatars.githubusercontent.com/u/45120?","gravatar_id":"c17ac52a9e94e768c4fab0ce37065841","url":"https://api.github.com/users/mongodb","html_url":"https://github.com/mongodb","followers_url":"https://api.github.com/users/mongodb/followers","following_url":"https://api.github.com/users/mongodb/following{/other_user}","gists_url":"https://api.github.com/users/mongodb/gists{/gist_id}","starred_url":"https://api.github.com/users/mongodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mongodb/subscriptions","organizations_url":"https://api.github.com/users/mongodb/orgs","repos_url":"https://api.github.com/users/mongodb/repos","events_url":"https://api.github.com/users/mongodb/events{/privacy}","received_events_url":"https://api.github.com/users/mongodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mongodb/mongo-cxx-driver","description":"C++ Driver for MongoDB","fork":false,"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver","forks_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/forks","keys_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/teams","hooks_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/hooks","issue_events_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/events{/number}","events_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/events","assignees_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/assignees{/user}","branches_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/branches{/branch}","tags_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/tags","blobs_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/languages","stargazers_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/stargazers","contributors_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/contributors","subscribers_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/subscribers","subscription_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/subscription","commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/comments/{number}","contents_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/contents/{+path}","compare_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/merges","archive_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/downloads","issues_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues{/number}","pulls_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/labels{/name}","releases_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/releases{/id}","created_at":"2014-01-13T21:08:36Z","updated_at":"2014-06-25T20:27:33Z","pushed_at":"2014-07-01T19:33:00Z","git_url":"git://github.com/mongodb/mongo-cxx-driver.git","ssh_url":"git@github.com:mongodb/mongo-cxx-driver.git","clone_url":"https://github.com/mongodb/mongo-cxx-driver.git","svn_url":"https://github.com/mongodb/mongo-cxx-driver","homepage":null,"size":9158,"stargazers_count":42,"watchers_count":42,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":42,"mirror_url":null,"open_issues_count":3,"forks":42,"open_issues":3,"watchers":42,"default_branch":"legacy"}},"_links":{"self":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/110"},"html":{"href":"https://github.com/mongodb/mongo-cxx-driver/pull/110"},"issue":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/110"},"comments":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/mongodb/mongo-cxx-driver/statuses/5708785283aec67e24d597794f6f4631f0a60266"}}}}