GitHub PullRequestReviewCommentEvent at 2014-08-08 20:38:05
Repository: acquaman
Actor: dretrex
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/acquaman/acquaman/pulls/comments/16014976","id":16014976,"diff_hunk":"@@ -0,0 +1,448 @@\n+#include \"AMLightweightScanInfoCollection.h\"\n+#include \"database/AMDatabase.h\"\n+#include \"database/AMDbObjectSupport.h\"\n+AMLightweightScanInfoCollection::AMLightweightScanInfoCollection(AMDatabase *database)\n+{\n+\tdatabase_ = database;\n+\tpopulateSampleNames();\n+\tpopulateRuns();\n+\tpopulateObjectTypes();\n+\tpopulateExperimentIds();\n+\tpopulateCollection();\n+\tconnect(database_, SIGNAL(created(QString,int)), this, SLOT(onDbItemAdded(QString,int)));\n+\tconnect(database_, SIGNAL(removed(QString,int)), this, SLOT(onDbItemRemoved(QString,int)));\n+\tconnect(database_, SIGNAL(updated(QString,int)), this, SLOT(onDbItemUpdated(QString,int)));\n+}\n+\n+QUrl AMLightweightScanInfoCollection::getScanUrl(int id)\n+{\n+\n+\tQString urlString = QString(\"amd://%1/%2/%3\").arg(database_->connectionName()).arg(AMDbObjectSupport::s()->tableNameForClass(\"AMScan\")).arg(id);\n+\n+\tQUrl returnUrl(urlString);\n+\n+\treturn returnUrl;\n+}\n+\n+AMLightweightScanInfo *AMLightweightScanInfoCollection::at(int index) const\n+{\n+\treturn scanInfos_.at(index);\n+}\n+\n+int AMLightweightScanInfoCollection::count() const\n+{\n+\treturn scanInfos_.count();\n+}\n+\n+int AMLightweightScanInfoCollection::indexOf(AMLightweightScanInfo *scan, int from) const\n+{\n+\treturn scanInfos_.indexOf(scan, from);\n+}\n+\n+void AMLightweightScanInfoCollection::populateExperimentIds()\n+{\n+\tQSqlQuery selectQuery = database_->select(\"ObjectExperimentEntries\", \"objectId, ExperimentId\");\n+\n+\tif(!selectQuery.exec())\n+\t{\n+\t\tselectQuery.finish();\n+\t\treturn;","path":"source/dataman/AMLightweightScanInfoCollection.cpp","position":49,"original_position":49,"commit_id":"0e6664a3f43e598331cabe8e10763154358567c2","original_commit_id":"0e6664a3f43e598331cabe8e10763154358567c2","user":{"login":"dretrex","id":602741,"avatar_url":"https://avatars.githubusercontent.com/u/602741?v=2","gravatar_id":"2b97d238429769dc871db435a1bc5b24","url":"https://api.github.com/users/dretrex","html_url":"https://github.com/dretrex","followers_url":"https://api.github.com/users/dretrex/followers","following_url":"https://api.github.com/users/dretrex/following{/other_user}","gists_url":"https://api.github.com/users/dretrex/gists{/gist_id}","starred_url":"https://api.github.com/users/dretrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dretrex/subscriptions","organizations_url":"https://api.github.com/users/dretrex/orgs","repos_url":"https://api.github.com/users/dretrex/repos","events_url":"https://api.github.com/users/dretrex/events{/privacy}","received_events_url":"https://api.github.com/users/dretrex/received_events","type":"User","site_admin":false},"body":"This should probably have an AMErrorMon associated with it.","created_at":"2014-08-08T20:38:05Z","updated_at":"2014-08-08T20:38:05Z","html_url":"https://github.com/acquaman/acquaman/pull/768#discussion_r16014976","pull_request_url":"https://api.github.com/repos/acquaman/acquaman/pulls/768","_links":{"self":{"href":"https://api.github.com/repos/acquaman/acquaman/pulls/comments/16014976"},"html":{"href":"https://github.com/acquaman/acquaman/pull/768#discussion_r16014976"},"pull_request":{"href":"https://api.github.com/repos/acquaman/acquaman/pulls/768"}}},"pull_request":{"url":"https://api.github.com/repos/acquaman/acquaman/pulls/768","id":19436553,"html_url":"https://github.com/acquaman/acquaman/pull/768","diff_url":"https://github.com/acquaman/acquaman/pull/768.diff","patch_url":"https://github.com/acquaman/acquaman/pull/768.patch","issue_url":"https://api.github.com/repos/acquaman/acquaman/issues/768","number":768,"state":"open","title":"Pull request for Issue665","user":{"login":"iainworkman","id":7461599,"avatar_url":"https://avatars.githubusercontent.com/u/7461599?v=2","gravatar_id":"e53a0a2ac811bb7bb4d47c94aeaceab5","url":"https://api.github.com/users/iainworkman","html_url":"https://github.com/iainworkman","followers_url":"https://api.github.com/users/iainworkman/followers","following_url":"https://api.github.com/users/iainworkman/following{/other_user}","gists_url":"https://api.github.com/users/iainworkman/gists{/gist_id}","starred_url":"https://api.github.com/users/iainworkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iainworkman/subscriptions","organizations_url":"https://api.github.com/users/iainworkman/orgs","repos_url":"https://api.github.com/users/iainworkman/repos","events_url":"https://api.github.com/users/iainworkman/events{/privacy}","received_events_url":"https://api.github.com/users/iainworkman/received_events","type":"User","site_admin":false},"body":"@dretrex \r\n@davidChevrier ","created_at":"2014-08-06T22:30:48Z","updated_at":"2014-08-08T20:38:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"davidChevrier","id":602742,"avatar_url":"https://avatars.githubusercontent.com/u/602742?v=2","gravatar_id":"3d9ad5321a6d42aae39543a293d239cb","url":"https://api.github.com/users/davidChevrier","html_url":"https://github.com/davidChevrier","followers_url":"https://api.github.com/users/davidChevrier/followers","following_url":"https://api.github.com/users/davidChevrier/following{/other_user}","gists_url":"https://api.github.com/users/davidChevrier/gists{/gist_id}","starred_url":"https://api.github.com/users/davidChevrier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidChevrier/subscriptions","organizations_url":"https://api.github.com/users/davidChevrier/orgs","repos_url":"https://api.github.com/users/davidChevrier/repos","events_url":"https://api.github.com/users/davidChevrier/events{/privacy}","received_events_url":"https://api.github.com/users/davidChevrier/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/acquaman/acquaman/pulls/768/commits","review_comments_url":"https://api.github.com/repos/acquaman/acquaman/pulls/768/comments","review_comment_url":"https://api.github.com/repos/acquaman/acquaman/pulls/comments/{number}","comments_url":"https://api.github.com/repos/acquaman/acquaman/issues/768/comments","statuses_url":"https://api.github.com/repos/acquaman/acquaman/statuses/0e6664a3f43e598331cabe8e10763154358567c2","head":{"label":"acquaman:Issue665","ref":"Issue665","sha":"0e6664a3f43e598331cabe8e10763154358567c2","user":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=2","gravatar_id":"1ec9e4e2ad2df0853a81d622718c2338","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"repo":{"id":1333343,"name":"acquaman","full_name":"acquaman/acquaman","owner":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=2","gravatar_id":"1ec9e4e2ad2df0853a81d622718c2338","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquaman/acquaman","description":"Acquisition and Data Management for Big Science","fork":false,"url":"https://api.github.com/repos/acquaman/acquaman","forks_url":"https://api.github.com/repos/acquaman/acquaman/forks","keys_url":"https://api.github.com/repos/acquaman/acquaman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquaman/acquaman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquaman/acquaman/teams","hooks_url":"https://api.github.com/repos/acquaman/acquaman/hooks","issue_events_url":"https://api.github.com/repos/acquaman/acquaman/issues/events{/number}","events_url":"https://api.github.com/repos/acquaman/acquaman/events","assignees_url":"https://api.github.com/repos/acquaman/acquaman/assignees{/user}","branches_url":"https://api.github.com/repos/acquaman/acquaman/branches{/branch}","tags_url":"https://api.github.com/repos/acquaman/acquaman/tags","blobs_url":"https://api.github.com/repos/acquaman/acquaman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquaman/acquaman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquaman/acquaman/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquaman/acquaman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquaman/acquaman/statuses/{sha}","languages_url":"https://api.github.com/repos/acquaman/acquaman/languages","stargazers_url":"https://api.github.com/repos/acquaman/acquaman/stargazers","contributors_url":"https://api.github.com/repos/acquaman/acquaman/contributors","subscribers_url":"https://api.github.com/repos/acquaman/acquaman/subscribers","subscription_url":"https://api.github.com/repos/acquaman/acquaman/subscription","commits_url":"https://api.github.com/repos/acquaman/acquaman/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquaman/acquaman/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquaman/acquaman/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquaman/acquaman/issues/comments/{number}","contents_url":"https://api.github.com/repos/acquaman/acquaman/contents/{+path}","compare_url":"https://api.github.com/repos/acquaman/acquaman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquaman/acquaman/merges","archive_url":"https://api.github.com/repos/acquaman/acquaman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquaman/acquaman/downloads","issues_url":"https://api.github.com/repos/acquaman/acquaman/issues{/number}","pulls_url":"https://api.github.com/repos/acquaman/acquaman/pulls{/number}","milestones_url":"https://api.github.com/repos/acquaman/acquaman/milestones{/number}","notifications_url":"https://api.github.com/repos/acquaman/acquaman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquaman/acquaman/labels{/name}","releases_url":"https://api.github.com/repos/acquaman/acquaman/releases{/id}","created_at":"2011-02-06T02:19:01Z","updated_at":"2014-07-24T21:26:07Z","pushed_at":"2014-08-08T19:15:53Z","git_url":"git://github.com/acquaman/acquaman.git","ssh_url":"git@github.com:acquaman/acquaman.git","clone_url":"https://github.com/acquaman/acquaman.git","svn_url":"https://github.com/acquaman/acquaman","homepage":"","size":138880,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":2,"mirror_url":null,"open_issues_count":126,"forks":2,"open_issues":126,"watchers":7,"default_branch":"master"}},"base":{"label":"acquaman:master","ref":"master","sha":"0c61a4cf8e084db95ecd6513d3b5b5971c5b6699","user":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=2","gravatar_id":"1ec9e4e2ad2df0853a81d622718c2338","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"repo":{"id":1333343,"name":"acquaman","full_name":"acquaman/acquaman","owner":{"login":"acquaman","id":602716,"avatar_url":"https://avatars.githubusercontent.com/u/602716?v=2","gravatar_id":"1ec9e4e2ad2df0853a81d622718c2338","url":"https://api.github.com/users/acquaman","html_url":"https://github.com/acquaman","followers_url":"https://api.github.com/users/acquaman/followers","following_url":"https://api.github.com/users/acquaman/following{/other_user}","gists_url":"https://api.github.com/users/acquaman/gists{/gist_id}","starred_url":"https://api.github.com/users/acquaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquaman/subscriptions","organizations_url":"https://api.github.com/users/acquaman/orgs","repos_url":"https://api.github.com/users/acquaman/repos","events_url":"https://api.github.com/users/acquaman/events{/privacy}","received_events_url":"https://api.github.com/users/acquaman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acquaman/acquaman","description":"Acquisition and Data Management for Big Science","fork":false,"url":"https://api.github.com/repos/acquaman/acquaman","forks_url":"https://api.github.com/repos/acquaman/acquaman/forks","keys_url":"https://api.github.com/repos/acquaman/acquaman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquaman/acquaman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquaman/acquaman/teams","hooks_url":"https://api.github.com/repos/acquaman/acquaman/hooks","issue_events_url":"https://api.github.com/repos/acquaman/acquaman/issues/events{/number}","events_url":"https://api.github.com/repos/acquaman/acquaman/events","assignees_url":"https://api.github.com/repos/acquaman/acquaman/assignees{/user}","branches_url":"https://api.github.com/repos/acquaman/acquaman/branches{/branch}","tags_url":"https://api.github.com/repos/acquaman/acquaman/tags","blobs_url":"https://api.github.com/repos/acquaman/acquaman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquaman/acquaman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquaman/acquaman/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquaman/acquaman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquaman/acquaman/statuses/{sha}","languages_url":"https://api.github.com/repos/acquaman/acquaman/languages","stargazers_url":"https://api.github.com/repos/acquaman/acquaman/stargazers","contributors_url":"https://api.github.com/repos/acquaman/acquaman/contributors","subscribers_url":"https://api.github.com/repos/acquaman/acquaman/subscribers","subscription_url":"https://api.github.com/repos/acquaman/acquaman/subscription","commits_url":"https://api.github.com/repos/acquaman/acquaman/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquaman/acquaman/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquaman/acquaman/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquaman/acquaman/issues/comments/{number}","contents_url":"https://api.github.com/repos/acquaman/acquaman/contents/{+path}","compare_url":"https://api.github.com/repos/acquaman/acquaman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquaman/acquaman/merges","archive_url":"https://api.github.com/repos/acquaman/acquaman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquaman/acquaman/downloads","issues_url":"https://api.github.com/repos/acquaman/acquaman/issues{/number}","pulls_url":"https://api.github.com/repos/acquaman/acquaman/pulls{/number}","milestones_url":"https://api.github.com/repos/acquaman/acquaman/milestones{/number}","notifications_url":"https://api.github.com/repos/acquaman/acquaman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquaman/acquaman/labels{/name}","releases_url":"https://api.github.com/repos/acquaman/acquaman/releases{/id}","created_at":"2011-02-06T02:19:01Z","updated_at":"2014-07-24T21:26:07Z","pushed_at":"2014-08-08T19:15:53Z","git_url":"git://github.com/acquaman/acquaman.git","ssh_url":"git@github.com:acquaman/acquaman.git","clone_url":"https://github.com/acquaman/acquaman.git","svn_url":"https://github.com/acquaman/acquaman","homepage":"","size":138880,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":2,"mirror_url":null,"open_issues_count":126,"forks":2,"open_issues":126,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/acquaman/acquaman/pulls/768"},"html":{"href":"https://github.com/acquaman/acquaman/pull/768"},"issue":{"href":"https://api.github.com/repos/acquaman/acquaman/issues/768"},"comments":{"href":"https://api.github.com/repos/acquaman/acquaman/issues/768/comments"},"review_comments":{"href":"https://api.github.com/repos/acquaman/acquaman/pulls/768/comments"},"review_comment":{"href":"https://api.github.com/repos/acquaman/acquaman/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/acquaman/acquaman/pulls/768/commits"},"statuses":{"href":"https://api.github.com/repos/acquaman/acquaman/statuses/0e6664a3f43e598331cabe8e10763154358567c2"}}}}