{"action":"created","comment":{"url":"https://api.github.com/repos/scieloorg/opac_proc/pulls/comments/183513411","pull_request_review_id":114526318,"id":183513411,"diff_hunk":"@@ -91,6 +91,10 @@ def transform(self):\n         if hasattr(xylose_journal, 'title'):\n             self.transform_model_instance['title'] = xylose_journal.title\n \n+        # editor_email\n+        if hasattr(xylose_journal, 'editor_email'):","path":"opac_proc/transformers/tr_journals.py","position":5,"original_position":5,"commit_id":"7f0056cad4d2dfe55bd5ef9ae104f972c92459bf","original_commit_id":"7f0056cad4d2dfe55bd5ef9ae104f972c92459bf","user":{"login":"jfunez","id":805749,"avatar_url":"https://avatars2.githubusercontent.com/u/805749?v=4","gravatar_id":"","url":"https://api.github.com/users/jfunez","html_url":"https://github.com/jfunez","followers_url":"https://api.github.com/users/jfunez/followers","following_url":"https://api.github.com/users/jfunez/following{/other_user}","gists_url":"https://api.github.com/users/jfunez/gists{/gist_id}","starred_url":"https://api.github.com/users/jfunez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfunez/subscriptions","organizations_url":"https://api.github.com/users/jfunez/orgs","repos_url":"https://api.github.com/users/jfunez/repos","events_url":"https://api.github.com/users/jfunez/events{/privacy}","received_events_url":"https://api.github.com/users/jfunez/received_events","type":"User","site_admin":false},"body":"adicionar validação de email [1] e strip() para limpar espaços em branco antes de salvar o dado transformado...\r\n\r\n[1]: https://github.com/scieloorg/opac/blob/master/opac/manager.py#L182-L193","created_at":"2018-04-23T19:38:03Z","updated_at":"2018-04-23T19:38:41Z","html_url":"https://github.com/scieloorg/opac_proc/pull/267#discussion_r183513411","pull_request_url":"https://api.github.com/repos/scieloorg/opac_proc/pulls/267","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/scieloorg/opac_proc/pulls/comments/183513411"},"html":{"href":"https://github.com/scieloorg/opac_proc/pull/267#discussion_r183513411"},"pull_request":{"href":"https://api.github.com/repos/scieloorg/opac_proc/pulls/267"}}},"pull_request":{"url":"https://api.github.com/repos/scieloorg/opac_proc/pulls/267","id":183524976,"html_url":"https://github.com/scieloorg/opac_proc/pull/267","diff_url":"https://github.com/scieloorg/opac_proc/pull/267.diff","patch_url":"https://github.com/scieloorg/opac_proc/pull/267.patch","issue_url":"https://api.github.com/repos/scieloorg/opac_proc/issues/267","number":267,"state":"open","locked":false,"title":"Add editor email","user":{"login":"jamilatta","id":373745,"avatar_url":"https://avatars2.githubusercontent.com/u/373745?v=4","gravatar_id":"","url":"https://api.github.com/users/jamilatta","html_url":"https://github.com/jamilatta","followers_url":"https://api.github.com/users/jamilatta/followers","following_url":"https://api.github.com/users/jamilatta/following{/other_user}","gists_url":"https://api.github.com/users/jamilatta/gists{/gist_id}","starred_url":"https://api.github.com/users/jamilatta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamilatta/subscriptions","organizations_url":"https://api.github.com/users/jamilatta/orgs","repos_url":"https://api.github.com/users/jamilatta/repos","events_url":"https://api.github.com/users/jamilatta/events{/privacy}","received_events_url":"https://api.github.com/users/jamilatta/received_events","type":"User","site_admin":false},"body":"Não é mais um **WIP**. \r\n\r\nPode avaliar! ","created_at":"2018-04-23T18:52:04Z","updated_at":"2018-04-23T19:38:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a73d77d5bdd7b8a6be811657de08639de648c1f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/scieloorg/opac_proc/pulls/267/commits","review_comments_url":"https://api.github.com/repos/scieloorg/opac_proc/pulls/267/comments","review_comment_url":"https://api.github.com/repos/scieloorg/opac_proc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scieloorg/opac_proc/issues/267/comments","statuses_url":"https://api.github.com/repos/scieloorg/opac_proc/statuses/7f0056cad4d2dfe55bd5ef9ae104f972c92459bf","head":{"label":"jamilatta:add_editor_email","ref":"add_editor_email","sha":"7f0056cad4d2dfe55bd5ef9ae104f972c92459bf","user":{"login":"jamilatta","id":373745,"avatar_url":"https://avatars2.githubusercontent.com/u/373745?v=4","gravatar_id":"","url":"https://api.github.com/users/jamilatta","html_url":"https://github.com/jamilatta","followers_url":"https://api.github.com/users/jamilatta/followers","following_url":"https://api.github.com/users/jamilatta/following{/other_user}","gists_url":"https://api.github.com/users/jamilatta/gists{/gist_id}","starred_url":"https://api.github.com/users/jamilatta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamilatta/subscriptions","organizations_url":"https://api.github.com/users/jamilatta/orgs","repos_url":"https://api.github.com/users/jamilatta/repos","events_url":"https://api.github.com/users/jamilatta/events{/privacy}","received_events_url":"https://api.github.com/users/jamilatta/received_events","type":"User","site_admin":false},"repo":{"id":65224211,"name":"opac_proc","full_name":"jamilatta/opac_proc","owner":{"login":"jamilatta","id":373745,"avatar_url":"https://avatars2.githubusercontent.com/u/373745?v=4","gravatar_id":"","url":"https://api.github.com/users/jamilatta","html_url":"https://github.com/jamilatta","followers_url":"https://api.github.com/users/jamilatta/followers","following_url":"https://api.github.com/users/jamilatta/following{/other_user}","gists_url":"https://api.github.com/users/jamilatta/gists{/gist_id}","starred_url":"https://api.github.com/users/jamilatta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamilatta/subscriptions","organizations_url":"https://api.github.com/users/jamilatta/orgs","repos_url":"https://api.github.com/users/jamilatta/repos","events_url":"https://api.github.com/users/jamilatta/events{/privacy}","received_events_url":"https://api.github.com/users/jamilatta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamilatta/opac_proc","description":"Metadata collection processing for the OPAC SciELO","fork":true,"url":"https://api.github.com/repos/jamilatta/opac_proc","forks_url":"https://api.github.com/repos/jamilatta/opac_proc/forks","keys_url":"https://api.github.com/repos/jamilatta/opac_proc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamilatta/opac_proc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamilatta/opac_proc/teams","hooks_url":"https://api.github.com/repos/jamilatta/opac_proc/hooks","issue_events_url":"https://api.github.com/repos/jamilatta/opac_proc/issues/events{/number}","events_url":"https://api.github.com/repos/jamilatta/opac_proc/events","assignees_url":"https://api.github.com/repos/jamilatta/opac_proc/assignees{/user}","branches_url":"https://api.github.com/repos/jamilatta/opac_proc/branches{/branch}","tags_url":"https://api.github.com/repos/jamilatta/opac_proc/tags","blobs_url":"https://api.github.com/repos/jamilatta/opac_proc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamilatta/opac_proc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamilatta/opac_proc/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamilatta/opac_proc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamilatta/opac_proc/statuses/{sha}","languages_url":"https://api.github.com/repos/jamilatta/opac_proc/languages","stargazers_url":"https://api.github.com/repos/jamilatta/opac_proc/stargazers","contributors_url":"https://api.github.com/repos/jamilatta/opac_proc/contributors","subscribers_url":"https://api.github.com/repos/jamilatta/opac_proc/subscribers","subscription_url":"https://api.github.com/repos/jamilatta/opac_proc/subscription","commits_url":"https://api.github.com/repos/jamilatta/opac_proc/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamilatta/opac_proc/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamilatta/opac_proc/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamilatta/opac_proc/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamilatta/opac_proc/contents/{+path}","compare_url":"https://api.github.com/repos/jamilatta/opac_proc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamilatta/opac_proc/merges","archive_url":"https://api.github.com/repos/jamilatta/opac_proc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamilatta/opac_proc/downloads","issues_url":"https://api.github.com/repos/jamilatta/opac_proc/issues{/number}","pulls_url":"https://api.github.com/repos/jamilatta/opac_proc/pulls{/number}","milestones_url":"https://api.github.com/repos/jamilatta/opac_proc/milestones{/number}","notifications_url":"https://api.github.com/repos/jamilatta/opac_proc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamilatta/opac_proc/labels{/name}","releases_url":"https://api.github.com/repos/jamilatta/opac_proc/releases{/id}","deployments_url":"https://api.github.com/repos/jamilatta/opac_proc/deployments","created_at":"2016-08-08T17:20:51Z","updated_at":"2016-08-08T17:20:51Z","pushed_at":"2018-04-23T18:50:13Z","git_url":"git://github.com/jamilatta/opac_proc.git","ssh_url":"git@github.com:jamilatta/opac_proc.git","clone_url":"https://github.com/jamilatta/opac_proc.git","svn_url":"https://github.com/jamilatta/opac_proc","homepage":null,"size":1744,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scieloorg:master","ref":"master","sha":"266b8427e90afecc43914040fe0e569c175695d0","user":{"login":"scieloorg","id":505032,"avatar_url":"https://avatars1.githubusercontent.com/u/505032?v=4","gravatar_id":"","url":"https://api.github.com/users/scieloorg","html_url":"https://github.com/scieloorg","followers_url":"https://api.github.com/users/scieloorg/followers","following_url":"https://api.github.com/users/scieloorg/following{/other_user}","gists_url":"https://api.github.com/users/scieloorg/gists{/gist_id}","starred_url":"https://api.github.com/users/scieloorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scieloorg/subscriptions","organizations_url":"https://api.github.com/users/scieloorg/orgs","repos_url":"https://api.github.com/users/scieloorg/repos","events_url":"https://api.github.com/users/scieloorg/events{/privacy}","received_events_url":"https://api.github.com/users/scieloorg/received_events","type":"Organization","site_admin":false},"repo":{"id":60620744,"name":"opac_proc","full_name":"scieloorg/opac_proc","owner":{"login":"scieloorg","id":505032,"avatar_url":"https://avatars1.githubusercontent.com/u/505032?v=4","gravatar_id":"","url":"https://api.github.com/users/scieloorg","html_url":"https://github.com/scieloorg","followers_url":"https://api.github.com/users/scieloorg/followers","following_url":"https://api.github.com/users/scieloorg/following{/other_user}","gists_url":"https://api.github.com/users/scieloorg/gists{/gist_id}","starred_url":"https://api.github.com/users/scieloorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scieloorg/subscriptions","organizations_url":"https://api.github.com/users/scieloorg/orgs","repos_url":"https://api.github.com/users/scieloorg/repos","events_url":"https://api.github.com/users/scieloorg/events{/privacy}","received_events_url":"https://api.github.com/users/scieloorg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scieloorg/opac_proc","description":"Metadata collection processing for the OPAC SciELO","fork":false,"url":"https://api.github.com/repos/scieloorg/opac_proc","forks_url":"https://api.github.com/repos/scieloorg/opac_proc/forks","keys_url":"https://api.github.com/repos/scieloorg/opac_proc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scieloorg/opac_proc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scieloorg/opac_proc/teams","hooks_url":"https://api.github.com/repos/scieloorg/opac_proc/hooks","issue_events_url":"https://api.github.com/repos/scieloorg/opac_proc/issues/events{/number}","events_url":"https://api.github.com/repos/scieloorg/opac_proc/events","assignees_url":"https://api.github.com/repos/scieloorg/opac_proc/assignees{/user}","branches_url":"https://api.github.com/repos/scieloorg/opac_proc/branches{/branch}","tags_url":"https://api.github.com/repos/scieloorg/opac_proc/tags","blobs_url":"https://api.github.com/repos/scieloorg/opac_proc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scieloorg/opac_proc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scieloorg/opac_proc/git/refs{/sha}","trees_url":"https://api.github.com/repos/scieloorg/opac_proc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scieloorg/opac_proc/statuses/{sha}","languages_url":"https://api.github.com/repos/scieloorg/opac_proc/languages","stargazers_url":"https://api.github.com/repos/scieloorg/opac_proc/stargazers","contributors_url":"https://api.github.com/repos/scieloorg/opac_proc/contributors","subscribers_url":"https://api.github.com/repos/scieloorg/opac_proc/subscribers","subscription_url":"https://api.github.com/repos/scieloorg/opac_proc/subscription","commits_url":"https://api.github.com/repos/scieloorg/opac_proc/commits{/sha}","git_commits_url":"https://api.github.com/repos/scieloorg/opac_proc/git/commits{/sha}","comments_url":"https://api.github.com/repos/scieloorg/opac_proc/comments{/number}","issue_comment_url":"https://api.github.com/repos/scieloorg/opac_proc/issues/comments{/number}","contents_url":"https://api.github.com/repos/scieloorg/opac_proc/contents/{+path}","compare_url":"https://api.github.com/repos/scieloorg/opac_proc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scieloorg/opac_proc/merges","archive_url":"https://api.github.com/repos/scieloorg/opac_proc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scieloorg/opac_proc/downloads","issues_url":"https://api.github.com/repos/scieloorg/opac_proc/issues{/number}","pulls_url":"https://api.github.com/repos/scieloorg/opac_proc/pulls{/number}","milestones_url":"https://api.github.com/repos/scieloorg/opac_proc/milestones{/number}","notifications_url":"https://api.github.com/repos/scieloorg/opac_proc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scieloorg/opac_proc/labels{/name}","releases_url":"https://api.github.com/repos/scieloorg/opac_proc/releases{/id}","deployments_url":"https://api.github.com/repos/scieloorg/opac_proc/deployments","created_at":"2016-06-07T14:38:11Z","updated_at":"2018-03-16T17:21:50Z","pushed_at":"2018-04-23T18:52:05Z","git_url":"git://github.com/scieloorg/opac_proc.git","ssh_url":"git@github.com:scieloorg/opac_proc.git","clone_url":"https://github.com/scieloorg/opac_proc.git","svn_url":"https://github.com/scieloorg/opac_proc","homepage":null,"size":1734,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":34,"license":null,"forks":4,"open_issues":34,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scieloorg/opac_proc/pulls/267"},"html":{"href":"https://github.com/scieloorg/opac_proc/pull/267"},"issue":{"href":"https://api.github.com/repos/scieloorg/opac_proc/issues/267"},"comments":{"href":"https://api.github.com/repos/scieloorg/opac_proc/issues/267/comments"},"review_comments":{"href":"https://api.github.com/repos/scieloorg/opac_proc/pulls/267/comments"},"review_comment":{"href":"https://api.github.com/repos/scieloorg/opac_proc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scieloorg/opac_proc/pulls/267/commits"},"statuses":{"href":"https://api.github.com/repos/scieloorg/opac_proc/statuses/7f0056cad4d2dfe55bd5ef9ae104f972c92459bf"}},"author_association":"OWNER"}}
{"actor":{"display_login":"jfunez"}}