GitHub PullRequestReviewCommentEvent at 2014-06-18 10:36:59
Repository: openscholar
Actor: amitaibu
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/openscholar/openscholar/pulls/comments/13908683","id":13908683,"diff_hunk":"@@ -0,0 +1,55 @@\n+<?php\n+\n+/**\n+ * @file\n+ * Contains OsImporterEventValidator\n+ */\n+class OsImporterEventValidator extends OsImporterEntityValidateBase {\n+\n+  public function setFieldsInfo() {","path":"openscholar/modules/os/modules/os_importer/plugins/validator/node/event/OsImporterEventValidator.class.php","position":9,"original_position":9,"commit_id":"00bbe81d6e4ae0b1e48ed79f199b2470a7b01545","original_commit_id":"00bbe81d6e4ae0b1e48ed79f199b2470a7b01545","user":{"login":"amitaibu","id":125707,"avatar_url":"https://avatars.githubusercontent.com/u/125707?","gravatar_id":"dd083a563230226543fcab3e1395b1fd","url":"https://api.github.com/users/amitaibu","html_url":"https://github.com/amitaibu","followers_url":"https://api.github.com/users/amitaibu/followers","following_url":"https://api.github.com/users/amitaibu/following{/other_user}","gists_url":"https://api.github.com/users/amitaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/amitaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitaibu/subscriptions","organizations_url":"https://api.github.com/users/amitaibu/orgs","repos_url":"https://api.github.com/users/amitaibu/repos","events_url":"https://api.github.com/users/amitaibu/events{/privacy}","received_events_url":"https://api.github.com/users/amitaibu/received_events","type":"User","site_admin":false},"body":"this can be in a follow up, but entity_validator should probably change the function name to ``getFieldsInfo()``","created_at":"2014-06-18T10:36:59Z","updated_at":"2014-06-18T10:36:59Z","html_url":"https://github.com/openscholar/openscholar/pull/6128#discussion_r13908683","pull_request_url":"https://api.github.com/repos/openscholar/openscholar/pulls/6128","_links":{"self":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/comments/13908683"},"html":{"href":"https://github.com/openscholar/openscholar/pull/6128#discussion_r13908683"},"pull_request":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/6128"}}},"pull_request":{"url":"https://api.github.com/repos/openscholar/openscholar/pulls/6128","id":15919423,"html_url":"https://github.com/openscholar/openscholar/pull/6128","diff_url":"https://github.com/openscholar/openscholar/pull/6128.diff","patch_url":"https://github.com/openscholar/openscholar/pull/6128.patch","issue_url":"https://api.github.com/repos/openscholar/openscholar/issues/6128","number":6128,"state":"open","title":"Add validation to csv import based on content type.","user":{"login":"ran81","id":4497748,"avatar_url":"https://avatars.githubusercontent.com/u/4497748?","gravatar_id":"96b705882a574e1dcc8523d602908b10","url":"https://api.github.com/users/ran81","html_url":"https://github.com/ran81","followers_url":"https://api.github.com/users/ran81/followers","following_url":"https://api.github.com/users/ran81/following{/other_user}","gists_url":"https://api.github.com/users/ran81/gists{/gist_id}","starred_url":"https://api.github.com/users/ran81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ran81/subscriptions","organizations_url":"https://api.github.com/users/ran81/orgs","repos_url":"https://api.github.com/users/ran81/repos","events_url":"https://api.github.com/users/ran81/events{/privacy}","received_events_url":"https://api.github.com/users/ran81/received_events","type":"User","site_admin":false},"body":"#6054 \r\n\r\nWIP\r\n\r\nValidation of uploaded CSV file is performed according to the content type.","created_at":"2014-05-15T07:15:15Z","updated_at":"2014-06-18T10:36:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aee1cae4a3ed01386335caa7e8a4cc43eaa8f855","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openscholar/openscholar/pulls/6128/commits","review_comments_url":"https://api.github.com/repos/openscholar/openscholar/pulls/6128/comments","review_comment_url":"https://api.github.com/repos/openscholar/openscholar/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openscholar/openscholar/issues/6128/comments","statuses_url":"https://api.github.com/repos/openscholar/openscholar/statuses/00bbe81d6e4ae0b1e48ed79f199b2470a7b01545","head":{"label":"openscholar:6054-1","ref":"6054-1","sha":"00bbe81d6e4ae0b1e48ed79f199b2470a7b01545","user":{"login":"openscholar","id":611073,"avatar_url":"https://avatars.githubusercontent.com/u/611073?","gravatar_id":"2e09eeed1cda34f653a84f9d76a5b088","url":"https://api.github.com/users/openscholar","html_url":"https://github.com/openscholar","followers_url":"https://api.github.com/users/openscholar/followers","following_url":"https://api.github.com/users/openscholar/following{/other_user}","gists_url":"https://api.github.com/users/openscholar/gists{/gist_id}","starred_url":"https://api.github.com/users/openscholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscholar/subscriptions","organizations_url":"https://api.github.com/users/openscholar/orgs","repos_url":"https://api.github.com/users/openscholar/repos","events_url":"https://api.github.com/users/openscholar/events{/privacy}","received_events_url":"https://api.github.com/users/openscholar/received_events","type":"Organization","site_admin":false},"repo":{"id":1440092,"name":"openscholar","full_name":"openscholar/openscholar","owner":{"login":"openscholar","id":611073,"avatar_url":"https://avatars.githubusercontent.com/u/611073?","gravatar_id":"2e09eeed1cda34f653a84f9d76a5b088","url":"https://api.github.com/users/openscholar","html_url":"https://github.com/openscholar","followers_url":"https://api.github.com/users/openscholar/followers","following_url":"https://api.github.com/users/openscholar/following{/other_user}","gists_url":"https://api.github.com/users/openscholar/gists{/gist_id}","starred_url":"https://api.github.com/users/openscholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscholar/subscriptions","organizations_url":"https://api.github.com/users/openscholar/orgs","repos_url":"https://api.github.com/users/openscholar/repos","events_url":"https://api.github.com/users/openscholar/events{/privacy}","received_events_url":"https://api.github.com/users/openscholar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openscholar/openscholar","description":"OpenScholar project ","fork":false,"url":"https://api.github.com/repos/openscholar/openscholar","forks_url":"https://api.github.com/repos/openscholar/openscholar/forks","keys_url":"https://api.github.com/repos/openscholar/openscholar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openscholar/openscholar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openscholar/openscholar/teams","hooks_url":"https://api.github.com/repos/openscholar/openscholar/hooks","issue_events_url":"https://api.github.com/repos/openscholar/openscholar/issues/events{/number}","events_url":"https://api.github.com/repos/openscholar/openscholar/events","assignees_url":"https://api.github.com/repos/openscholar/openscholar/assignees{/user}","branches_url":"https://api.github.com/repos/openscholar/openscholar/branches{/branch}","tags_url":"https://api.github.com/repos/openscholar/openscholar/tags","blobs_url":"https://api.github.com/repos/openscholar/openscholar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openscholar/openscholar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openscholar/openscholar/git/refs{/sha}","trees_url":"https://api.github.com/repos/openscholar/openscholar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openscholar/openscholar/statuses/{sha}","languages_url":"https://api.github.com/repos/openscholar/openscholar/languages","stargazers_url":"https://api.github.com/repos/openscholar/openscholar/stargazers","contributors_url":"https://api.github.com/repos/openscholar/openscholar/contributors","subscribers_url":"https://api.github.com/repos/openscholar/openscholar/subscribers","subscription_url":"https://api.github.com/repos/openscholar/openscholar/subscription","commits_url":"https://api.github.com/repos/openscholar/openscholar/commits{/sha}","git_commits_url":"https://api.github.com/repos/openscholar/openscholar/git/commits{/sha}","comments_url":"https://api.github.com/repos/openscholar/openscholar/comments{/number}","issue_comment_url":"https://api.github.com/repos/openscholar/openscholar/issues/comments/{number}","contents_url":"https://api.github.com/repos/openscholar/openscholar/contents/{+path}","compare_url":"https://api.github.com/repos/openscholar/openscholar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openscholar/openscholar/merges","archive_url":"https://api.github.com/repos/openscholar/openscholar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openscholar/openscholar/downloads","issues_url":"https://api.github.com/repos/openscholar/openscholar/issues{/number}","pulls_url":"https://api.github.com/repos/openscholar/openscholar/pulls{/number}","milestones_url":"https://api.github.com/repos/openscholar/openscholar/milestones{/number}","notifications_url":"https://api.github.com/repos/openscholar/openscholar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openscholar/openscholar/labels{/name}","releases_url":"https://api.github.com/repos/openscholar/openscholar/releases{/id}","created_at":"2011-03-04T16:39:08Z","updated_at":"2014-06-18T09:45:32Z","pushed_at":"2014-06-18T09:45:31Z","git_url":"git://github.com/openscholar/openscholar.git","ssh_url":"git@github.com:openscholar/openscholar.git","clone_url":"https://github.com/openscholar/openscholar.git","svn_url":"https://github.com/openscholar/openscholar","homepage":"http://theopenscholar.org","size":178717,"stargazers_count":102,"watchers_count":102,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":47,"mirror_url":null,"open_issues_count":779,"forks":47,"open_issues":779,"watchers":102,"default_branch":"SCHOLAR-3.x"}},"base":{"label":"openscholar:SCHOLAR-3.x","ref":"SCHOLAR-3.x","sha":"1e8539263c3f17a91390c1e36d9b949bca868bee","user":{"login":"openscholar","id":611073,"avatar_url":"https://avatars.githubusercontent.com/u/611073?","gravatar_id":"2e09eeed1cda34f653a84f9d76a5b088","url":"https://api.github.com/users/openscholar","html_url":"https://github.com/openscholar","followers_url":"https://api.github.com/users/openscholar/followers","following_url":"https://api.github.com/users/openscholar/following{/other_user}","gists_url":"https://api.github.com/users/openscholar/gists{/gist_id}","starred_url":"https://api.github.com/users/openscholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscholar/subscriptions","organizations_url":"https://api.github.com/users/openscholar/orgs","repos_url":"https://api.github.com/users/openscholar/repos","events_url":"https://api.github.com/users/openscholar/events{/privacy}","received_events_url":"https://api.github.com/users/openscholar/received_events","type":"Organization","site_admin":false},"repo":{"id":1440092,"name":"openscholar","full_name":"openscholar/openscholar","owner":{"login":"openscholar","id":611073,"avatar_url":"https://avatars.githubusercontent.com/u/611073?","gravatar_id":"2e09eeed1cda34f653a84f9d76a5b088","url":"https://api.github.com/users/openscholar","html_url":"https://github.com/openscholar","followers_url":"https://api.github.com/users/openscholar/followers","following_url":"https://api.github.com/users/openscholar/following{/other_user}","gists_url":"https://api.github.com/users/openscholar/gists{/gist_id}","starred_url":"https://api.github.com/users/openscholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openscholar/subscriptions","organizations_url":"https://api.github.com/users/openscholar/orgs","repos_url":"https://api.github.com/users/openscholar/repos","events_url":"https://api.github.com/users/openscholar/events{/privacy}","received_events_url":"https://api.github.com/users/openscholar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openscholar/openscholar","description":"OpenScholar project ","fork":false,"url":"https://api.github.com/repos/openscholar/openscholar","forks_url":"https://api.github.com/repos/openscholar/openscholar/forks","keys_url":"https://api.github.com/repos/openscholar/openscholar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openscholar/openscholar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openscholar/openscholar/teams","hooks_url":"https://api.github.com/repos/openscholar/openscholar/hooks","issue_events_url":"https://api.github.com/repos/openscholar/openscholar/issues/events{/number}","events_url":"https://api.github.com/repos/openscholar/openscholar/events","assignees_url":"https://api.github.com/repos/openscholar/openscholar/assignees{/user}","branches_url":"https://api.github.com/repos/openscholar/openscholar/branches{/branch}","tags_url":"https://api.github.com/repos/openscholar/openscholar/tags","blobs_url":"https://api.github.com/repos/openscholar/openscholar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openscholar/openscholar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openscholar/openscholar/git/refs{/sha}","trees_url":"https://api.github.com/repos/openscholar/openscholar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openscholar/openscholar/statuses/{sha}","languages_url":"https://api.github.com/repos/openscholar/openscholar/languages","stargazers_url":"https://api.github.com/repos/openscholar/openscholar/stargazers","contributors_url":"https://api.github.com/repos/openscholar/openscholar/contributors","subscribers_url":"https://api.github.com/repos/openscholar/openscholar/subscribers","subscription_url":"https://api.github.com/repos/openscholar/openscholar/subscription","commits_url":"https://api.github.com/repos/openscholar/openscholar/commits{/sha}","git_commits_url":"https://api.github.com/repos/openscholar/openscholar/git/commits{/sha}","comments_url":"https://api.github.com/repos/openscholar/openscholar/comments{/number}","issue_comment_url":"https://api.github.com/repos/openscholar/openscholar/issues/comments/{number}","contents_url":"https://api.github.com/repos/openscholar/openscholar/contents/{+path}","compare_url":"https://api.github.com/repos/openscholar/openscholar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openscholar/openscholar/merges","archive_url":"https://api.github.com/repos/openscholar/openscholar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openscholar/openscholar/downloads","issues_url":"https://api.github.com/repos/openscholar/openscholar/issues{/number}","pulls_url":"https://api.github.com/repos/openscholar/openscholar/pulls{/number}","milestones_url":"https://api.github.com/repos/openscholar/openscholar/milestones{/number}","notifications_url":"https://api.github.com/repos/openscholar/openscholar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openscholar/openscholar/labels{/name}","releases_url":"https://api.github.com/repos/openscholar/openscholar/releases{/id}","created_at":"2011-03-04T16:39:08Z","updated_at":"2014-06-18T09:45:32Z","pushed_at":"2014-06-18T09:45:31Z","git_url":"git://github.com/openscholar/openscholar.git","ssh_url":"git@github.com:openscholar/openscholar.git","clone_url":"https://github.com/openscholar/openscholar.git","svn_url":"https://github.com/openscholar/openscholar","homepage":"http://theopenscholar.org","size":178717,"stargazers_count":102,"watchers_count":102,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":47,"mirror_url":null,"open_issues_count":779,"forks":47,"open_issues":779,"watchers":102,"default_branch":"SCHOLAR-3.x"}},"_links":{"self":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/6128"},"html":{"href":"https://github.com/openscholar/openscholar/pull/6128"},"issue":{"href":"https://api.github.com/repos/openscholar/openscholar/issues/6128"},"comments":{"href":"https://api.github.com/repos/openscholar/openscholar/issues/6128/comments"},"review_comments":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/6128/comments"},"review_comment":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openscholar/openscholar/pulls/6128/commits"},"statuses":{"href":"https://api.github.com/repos/openscholar/openscholar/statuses/00bbe81d6e4ae0b1e48ed79f199b2470a7b01545"}}}}