{"action":"created","comment":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments/61566214","id":61566214,"diff_hunk":"@@ -0,0 +1,29 @@\n+# -*- coding: utf-8 -*-\n+#\n+# This file is part of INSPIRE.\n+# Copyright (C) 2014, 2015, 2016 CERN.\n+#\n+# INSPIRE is free software; you can redistribute it and/or\n+# modify it under the terms of the GNU General Public License as\n+# published by the Free Software Foundation; either version 2 of the\n+# License, or (at your option) any later version.\n+#\n+# INSPIRE is distributed in the hope that it will be useful, but\n+# WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+# General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with INSPIRE; if not, write to the Free Software Foundation, Inc.,\n+# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.\n+\n+\"\"\"Record module signals.\"\"\"\n+\n+from blinker import Namespace\n+\n+_signals = Namespace()\n+\n+after_record_enchanced = _signals.signal('before-full-record-index')","path":"inspirehep/modules/records/signals.py","position":26,"original_position":26,"commit_id":"6478a30e3989d29eb8f2b4654fe3653673881452","original_commit_id":"6478a30e3989d29eb8f2b4654fe3653673881452","user":{"login":"kaplun","id":119349,"avatar_url":"https://avatars.githubusercontent.com/u/119349?v=3","gravatar_id":"","url":"https://api.github.com/users/kaplun","html_url":"https://github.com/kaplun","followers_url":"https://api.github.com/users/kaplun/followers","following_url":"https://api.github.com/users/kaplun/following{/other_user}","gists_url":"https://api.github.com/users/kaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/kaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaplun/subscriptions","organizations_url":"https://api.github.com/users/kaplun/orgs","repos_url":"https://api.github.com/users/kaplun/repos","events_url":"https://api.github.com/users/kaplun/events{/privacy}","received_events_url":"https://api.github.com/users/kaplun/received_events","type":"User","site_admin":false},"body":"Can you also set the string to `after-record-enhanced`?","created_at":"2016-04-29T11:59:51Z","updated_at":"2016-04-29T11:59:51Z","html_url":"https://github.com/inspirehep/inspire-next/pull/1093#discussion_r61566214","pull_request_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1093","_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments/61566214"},"html":{"href":"https://github.com/inspirehep/inspire-next/pull/1093#discussion_r61566214"},"pull_request":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1093"}}},"pull_request":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1093","id":68238164,"html_url":"https://github.com/inspirehep/inspire-next/pull/1093","diff_url":"https://github.com/inspirehep/inspire-next/pull/1093.diff","patch_url":"https://github.com/inspirehep/inspire-next/pull/1093.patch","issue_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/1093","number":1093,"state":"open","locked":false,"title":"orcid: pushing records to orcid","user":{"login":"Panos512","id":8779550,"avatar_url":"https://avatars.githubusercontent.com/u/8779550?v=3","gravatar_id":"","url":"https://api.github.com/users/Panos512","html_url":"https://github.com/Panos512","followers_url":"https://api.github.com/users/Panos512/followers","following_url":"https://api.github.com/users/Panos512/following{/other_user}","gists_url":"https://api.github.com/users/Panos512/gists{/gist_id}","starred_url":"https://api.github.com/users/Panos512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Panos512/subscriptions","organizations_url":"https://api.github.com/users/Panos512/orgs","repos_url":"https://api.github.com/users/Panos512/repos","events_url":"https://api.github.com/users/Panos512/events{/privacy}","received_events_url":"https://api.github.com/users/Panos512/received_events","type":"User","site_admin":false},"body":"Adds the functionality to send updated/new records to orcid.\r\n- [x] Tweak the json converter's results to fully follow orcids schema.\r\n- [x] Convert citations to bibtex and add them to the output json. \r\n- [x] Extract the needed information of the author to push on his behalf to orcid.\r\n- [x] Check json acceptance from orcid.\r\n- [ ] Tests.\r\n- [x] Code cleanup.\r\n\r\nSigned-off-by: Panos Paparrigopoulos <panos.paparrigopoulos@cern","created_at":"2016-04-28T15:13:26Z","updated_at":"2016-04-29T11:59:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3da422934e5cea3e4e581061521b6c58ba292cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1093/commits","review_comments_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1093/comments","review_comment_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/1093/comments","statuses_url":"https://api.github.com/repos/inspirehep/inspire-next/statuses/6478a30e3989d29eb8f2b4654fe3653673881452","head":{"label":"Panos512:orcid","ref":"orcid","sha":"6478a30e3989d29eb8f2b4654fe3653673881452","user":{"login":"Panos512","id":8779550,"avatar_url":"https://avatars.githubusercontent.com/u/8779550?v=3","gravatar_id":"","url":"https://api.github.com/users/Panos512","html_url":"https://github.com/Panos512","followers_url":"https://api.github.com/users/Panos512/followers","following_url":"https://api.github.com/users/Panos512/following{/other_user}","gists_url":"https://api.github.com/users/Panos512/gists{/gist_id}","starred_url":"https://api.github.com/users/Panos512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Panos512/subscriptions","organizations_url":"https://api.github.com/users/Panos512/orgs","repos_url":"https://api.github.com/users/Panos512/repos","events_url":"https://api.github.com/users/Panos512/events{/privacy}","received_events_url":"https://api.github.com/users/Panos512/received_events","type":"User","site_admin":false},"repo":{"id":45603245,"name":"inspire-next","full_name":"Panos512/inspire-next","owner":{"login":"Panos512","id":8779550,"avatar_url":"https://avatars.githubusercontent.com/u/8779550?v=3","gravatar_id":"","url":"https://api.github.com/users/Panos512","html_url":"https://github.com/Panos512","followers_url":"https://api.github.com/users/Panos512/followers","following_url":"https://api.github.com/users/Panos512/following{/other_user}","gists_url":"https://api.github.com/users/Panos512/gists{/gist_id}","starred_url":"https://api.github.com/users/Panos512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Panos512/subscriptions","organizations_url":"https://api.github.com/users/Panos512/orgs","repos_url":"https://api.github.com/users/Panos512/repos","events_url":"https://api.github.com/users/Panos512/events{/privacy}","received_events_url":"https://api.github.com/users/Panos512/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Panos512/inspire-next","description":"INSPIRE overlay repository to be used with https://github.com/inspirehep/invenio@labs branch","fork":true,"url":"https://api.github.com/repos/Panos512/inspire-next","forks_url":"https://api.github.com/repos/Panos512/inspire-next/forks","keys_url":"https://api.github.com/repos/Panos512/inspire-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Panos512/inspire-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Panos512/inspire-next/teams","hooks_url":"https://api.github.com/repos/Panos512/inspire-next/hooks","issue_events_url":"https://api.github.com/repos/Panos512/inspire-next/issues/events{/number}","events_url":"https://api.github.com/repos/Panos512/inspire-next/events","assignees_url":"https://api.github.com/repos/Panos512/inspire-next/assignees{/user}","branches_url":"https://api.github.com/repos/Panos512/inspire-next/branches{/branch}","tags_url":"https://api.github.com/repos/Panos512/inspire-next/tags","blobs_url":"https://api.github.com/repos/Panos512/inspire-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Panos512/inspire-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Panos512/inspire-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/Panos512/inspire-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Panos512/inspire-next/statuses/{sha}","languages_url":"https://api.github.com/repos/Panos512/inspire-next/languages","stargazers_url":"https://api.github.com/repos/Panos512/inspire-next/stargazers","contributors_url":"https://api.github.com/repos/Panos512/inspire-next/contributors","subscribers_url":"https://api.github.com/repos/Panos512/inspire-next/subscribers","subscription_url":"https://api.github.com/repos/Panos512/inspire-next/subscription","commits_url":"https://api.github.com/repos/Panos512/inspire-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/Panos512/inspire-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/Panos512/inspire-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/Panos512/inspire-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/Panos512/inspire-next/contents/{+path}","compare_url":"https://api.github.com/repos/Panos512/inspire-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Panos512/inspire-next/merges","archive_url":"https://api.github.com/repos/Panos512/inspire-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Panos512/inspire-next/downloads","issues_url":"https://api.github.com/repos/Panos512/inspire-next/issues{/number}","pulls_url":"https://api.github.com/repos/Panos512/inspire-next/pulls{/number}","milestones_url":"https://api.github.com/repos/Panos512/inspire-next/milestones{/number}","notifications_url":"https://api.github.com/repos/Panos512/inspire-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Panos512/inspire-next/labels{/name}","releases_url":"https://api.github.com/repos/Panos512/inspire-next/releases{/id}","deployments_url":"https://api.github.com/repos/Panos512/inspire-next/deployments","created_at":"2015-11-05T10:08:41Z","updated_at":"2015-11-05T10:08:46Z","pushed_at":"2016-04-28T15:11:32Z","git_url":"git://github.com/Panos512/inspire-next.git","ssh_url":"git@github.com:Panos512/inspire-next.git","clone_url":"https://github.com/Panos512/inspire-next.git","svn_url":"https://github.com/Panos512/inspire-next","homepage":"https://labs.inspirehep.net","size":59010,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inspirehep:master","ref":"master","sha":"f9ca62ed9bb8fc7b5d35d5e0517eab1b5e8c8df1","user":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars.githubusercontent.com/u/356664?v=3","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"repo":{"id":15221515,"name":"inspire-next","full_name":"inspirehep/inspire-next","owner":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars.githubusercontent.com/u/356664?v=3","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inspirehep/inspire-next","description":"INSPIRE overlay repository to be used with https://github.com/inspirehep/invenio@labs branch","fork":false,"url":"https://api.github.com/repos/inspirehep/inspire-next","forks_url":"https://api.github.com/repos/inspirehep/inspire-next/forks","keys_url":"https://api.github.com/repos/inspirehep/inspire-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inspirehep/inspire-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inspirehep/inspire-next/teams","hooks_url":"https://api.github.com/repos/inspirehep/inspire-next/hooks","issue_events_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/events{/number}","events_url":"https://api.github.com/repos/inspirehep/inspire-next/events","assignees_url":"https://api.github.com/repos/inspirehep/inspire-next/assignees{/user}","branches_url":"https://api.github.com/repos/inspirehep/inspire-next/branches{/branch}","tags_url":"https://api.github.com/repos/inspirehep/inspire-next/tags","blobs_url":"https://api.github.com/repos/inspirehep/inspire-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inspirehep/inspire-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inspirehep/inspire-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/inspirehep/inspire-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inspirehep/inspire-next/statuses/{sha}","languages_url":"https://api.github.com/repos/inspirehep/inspire-next/languages","stargazers_url":"https://api.github.com/repos/inspirehep/inspire-next/stargazers","contributors_url":"https://api.github.com/repos/inspirehep/inspire-next/contributors","subscribers_url":"https://api.github.com/repos/inspirehep/inspire-next/subscribers","subscription_url":"https://api.github.com/repos/inspirehep/inspire-next/subscription","commits_url":"https://api.github.com/repos/inspirehep/inspire-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/inspirehep/inspire-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/inspirehep/inspire-next/contents/{+path}","compare_url":"https://api.github.com/repos/inspirehep/inspire-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inspirehep/inspire-next/merges","archive_url":"https://api.github.com/repos/inspirehep/inspire-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inspirehep/inspire-next/downloads","issues_url":"https://api.github.com/repos/inspirehep/inspire-next/issues{/number}","pulls_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls{/number}","milestones_url":"https://api.github.com/repos/inspirehep/inspire-next/milestones{/number}","notifications_url":"https://api.github.com/repos/inspirehep/inspire-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/labels{/name}","releases_url":"https://api.github.com/repos/inspirehep/inspire-next/releases{/id}","deployments_url":"https://api.github.com/repos/inspirehep/inspire-next/deployments","created_at":"2013-12-16T09:11:58Z","updated_at":"2016-04-09T10:47:04Z","pushed_at":"2016-04-29T11:33:09Z","git_url":"git://github.com/inspirehep/inspire-next.git","ssh_url":"git@github.com:inspirehep/inspire-next.git","clone_url":"https://github.com/inspirehep/inspire-next.git","svn_url":"https://github.com/inspirehep/inspire-next","homepage":"https://labs.inspirehep.net","size":63666,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":125,"forks":29,"open_issues":125,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1093"},"html":{"href":"https://github.com/inspirehep/inspire-next/pull/1093"},"issue":{"href":"https://api.github.com/repos/inspirehep/inspire-next/issues/1093"},"comments":{"href":"https://api.github.com/repos/inspirehep/inspire-next/issues/1093/comments"},"review_comments":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1093/comments"},"review_comment":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1093/commits"},"statuses":{"href":"https://api.github.com/repos/inspirehep/inspire-next/statuses/6478a30e3989d29eb8f2b4654fe3653673881452"}}}}