{"action":"created","comment":{"url":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/comments/194792187","pull_request_review_id":128030507,"id":194792187,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDc5MjE4Nw==","diff_hunk":"@@ -30,7 +30,7 @@\n \n def test_match_raises_if_the_configuration_does_not_have_all_the_keys():\n     config = {\n-        'doc_type': 'records',\n+        'doc_type': 'hep',","path":"tests/test_api.py","position":5,"original_position":5,"commit_id":"cc43b8535ae08eade2148146b5d2550c98abf087","original_commit_id":"cc43b8535ae08eade2148146b5d2550c98abf087","user":{"login":"jacquerie","id":381280,"node_id":"MDQ6VXNlcjM4MTI4MA==","avatar_url":"https://avatars2.githubusercontent.com/u/381280?v=4","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"body":"Whoops! :dancer:","created_at":"2018-06-12T15:48:52Z","updated_at":"2018-06-12T15:48:52Z","html_url":"https://github.com/inspirehep/inspire-matcher/pull/47#discussion_r194792187","pull_request_url":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/47","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/comments/194792187"},"html":{"href":"https://github.com/inspirehep/inspire-matcher/pull/47#discussion_r194792187"},"pull_request":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/47"}},"in_reply_to_id":194790681},"pull_request":{"url":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/47","id":194324291,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MzI0Mjkx","html_url":"https://github.com/inspirehep/inspire-matcher/pull/47","diff_url":"https://github.com/inspirehep/inspire-matcher/pull/47.diff","patch_url":"https://github.com/inspirehep/inspire-matcher/pull/47.patch","issue_url":"https://api.github.com/repos/inspirehep/inspire-matcher/issues/47","number":47,"state":"open","locked":false,"title":"Handle collections and deleted","user":{"login":"michamos","id":2895793,"node_id":"MDQ6VXNlcjI4OTU3OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/2895793?v=4","gravatar_id":"","url":"https://api.github.com/users/michamos","html_url":"https://github.com/michamos","followers_url":"https://api.github.com/users/michamos/followers","following_url":"https://api.github.com/users/michamos/following{/other_user}","gists_url":"https://api.github.com/users/michamos/gists{/gist_id}","starred_url":"https://api.github.com/users/michamos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michamos/subscriptions","organizations_url":"https://api.github.com/users/michamos/orgs","repos_url":"https://api.github.com/users/michamos/repos","events_url":"https://api.github.com/users/michamos/events{/privacy}","received_events_url":"https://api.github.com/users/michamos/received_events","type":"User","site_admin":false},"body":"This adds global handling of two options, in two respective commits:\r\n* `collections`, which optionally specifies collections to restrict the search to\r\n* `match_deleted`, which is `False` by default, and filters out deleted records\r\n\r\nThis also removes the handling of `collections` in the `exact` algorithm, as they are now handled as a global option.\r\n\r\nBoth features were tested locally inside `inspire-next` to make sure they emit valid queries and the results are as expected.","created_at":"2018-06-12T15:39:50Z","updated_at":"2018-06-12T15:48:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd2ed045e416d09df34d379d6646cd16fb868907","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jacquerie","id":381280,"node_id":"MDQ6VXNlcjM4MTI4MA==","avatar_url":"https://avatars2.githubusercontent.com/u/381280?v=4","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/47/commits","review_comments_url":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/47/comments","review_comment_url":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inspirehep/inspire-matcher/issues/47/comments","statuses_url":"https://api.github.com/repos/inspirehep/inspire-matcher/statuses/cc43b8535ae08eade2148146b5d2550c98abf087","head":{"label":"michamos:handle-collections-everywhere","ref":"handle-collections-everywhere","sha":"cc43b8535ae08eade2148146b5d2550c98abf087","user":{"login":"michamos","id":2895793,"node_id":"MDQ6VXNlcjI4OTU3OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/2895793?v=4","gravatar_id":"","url":"https://api.github.com/users/michamos","html_url":"https://github.com/michamos","followers_url":"https://api.github.com/users/michamos/followers","following_url":"https://api.github.com/users/michamos/following{/other_user}","gists_url":"https://api.github.com/users/michamos/gists{/gist_id}","starred_url":"https://api.github.com/users/michamos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michamos/subscriptions","organizations_url":"https://api.github.com/users/michamos/orgs","repos_url":"https://api.github.com/users/michamos/repos","events_url":"https://api.github.com/users/michamos/events{/privacy}","received_events_url":"https://api.github.com/users/michamos/received_events","type":"User","site_admin":false},"repo":{"id":112480276,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI0ODAyNzY=","name":"inspire-matcher","full_name":"michamos/inspire-matcher","owner":{"login":"michamos","id":2895793,"node_id":"MDQ6VXNlcjI4OTU3OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/2895793?v=4","gravatar_id":"","url":"https://api.github.com/users/michamos","html_url":"https://github.com/michamos","followers_url":"https://api.github.com/users/michamos/followers","following_url":"https://api.github.com/users/michamos/following{/other_user}","gists_url":"https://api.github.com/users/michamos/gists{/gist_id}","starred_url":"https://api.github.com/users/michamos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michamos/subscriptions","organizations_url":"https://api.github.com/users/michamos/orgs","repos_url":"https://api.github.com/users/michamos/repos","events_url":"https://api.github.com/users/michamos/events{/privacy}","received_events_url":"https://api.github.com/users/michamos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michamos/inspire-matcher","description":"Find the records in INSPIRE most similar to a given record or reference.","fork":true,"url":"https://api.github.com/repos/michamos/inspire-matcher","forks_url":"https://api.github.com/repos/michamos/inspire-matcher/forks","keys_url":"https://api.github.com/repos/michamos/inspire-matcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michamos/inspire-matcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michamos/inspire-matcher/teams","hooks_url":"https://api.github.com/repos/michamos/inspire-matcher/hooks","issue_events_url":"https://api.github.com/repos/michamos/inspire-matcher/issues/events{/number}","events_url":"https://api.github.com/repos/michamos/inspire-matcher/events","assignees_url":"https://api.github.com/repos/michamos/inspire-matcher/assignees{/user}","branches_url":"https://api.github.com/repos/michamos/inspire-matcher/branches{/branch}","tags_url":"https://api.github.com/repos/michamos/inspire-matcher/tags","blobs_url":"https://api.github.com/repos/michamos/inspire-matcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michamos/inspire-matcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michamos/inspire-matcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/michamos/inspire-matcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michamos/inspire-matcher/statuses/{sha}","languages_url":"https://api.github.com/repos/michamos/inspire-matcher/languages","stargazers_url":"https://api.github.com/repos/michamos/inspire-matcher/stargazers","contributors_url":"https://api.github.com/repos/michamos/inspire-matcher/contributors","subscribers_url":"https://api.github.com/repos/michamos/inspire-matcher/subscribers","subscription_url":"https://api.github.com/repos/michamos/inspire-matcher/subscription","commits_url":"https://api.github.com/repos/michamos/inspire-matcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/michamos/inspire-matcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/michamos/inspire-matcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/michamos/inspire-matcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/michamos/inspire-matcher/contents/{+path}","compare_url":"https://api.github.com/repos/michamos/inspire-matcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michamos/inspire-matcher/merges","archive_url":"https://api.github.com/repos/michamos/inspire-matcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michamos/inspire-matcher/downloads","issues_url":"https://api.github.com/repos/michamos/inspire-matcher/issues{/number}","pulls_url":"https://api.github.com/repos/michamos/inspire-matcher/pulls{/number}","milestones_url":"https://api.github.com/repos/michamos/inspire-matcher/milestones{/number}","notifications_url":"https://api.github.com/repos/michamos/inspire-matcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michamos/inspire-matcher/labels{/name}","releases_url":"https://api.github.com/repos/michamos/inspire-matcher/releases{/id}","deployments_url":"https://api.github.com/repos/michamos/inspire-matcher/deployments","created_at":"2017-11-29T13:42:38Z","updated_at":"2017-11-29T13:42:40Z","pushed_at":"2018-06-12T14:13:48Z","git_url":"git://github.com/michamos/inspire-matcher.git","ssh_url":"git@github.com:michamos/inspire-matcher.git","clone_url":"https://github.com/michamos/inspire-matcher.git","svn_url":"https://github.com/michamos/inspire-matcher","homepage":"","size":131,"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":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inspirehep:master","ref":"master","sha":"084c798be0ae287bcf95ff852e3f3172831d497e","user":{"login":"inspirehep","id":356664,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NjY2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/356664?v=4","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":105712763,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU3MTI3NjM=","name":"inspire-matcher","full_name":"inspirehep/inspire-matcher","owner":{"login":"inspirehep","id":356664,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NjY2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/356664?v=4","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-matcher","description":"Find the records in INSPIRE most similar to a given record or reference.","fork":false,"url":"https://api.github.com/repos/inspirehep/inspire-matcher","forks_url":"https://api.github.com/repos/inspirehep/inspire-matcher/forks","keys_url":"https://api.github.com/repos/inspirehep/inspire-matcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inspirehep/inspire-matcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inspirehep/inspire-matcher/teams","hooks_url":"https://api.github.com/repos/inspirehep/inspire-matcher/hooks","issue_events_url":"https://api.github.com/repos/inspirehep/inspire-matcher/issues/events{/number}","events_url":"https://api.github.com/repos/inspirehep/inspire-matcher/events","assignees_url":"https://api.github.com/repos/inspirehep/inspire-matcher/assignees{/user}","branches_url":"https://api.github.com/repos/inspirehep/inspire-matcher/branches{/branch}","tags_url":"https://api.github.com/repos/inspirehep/inspire-matcher/tags","blobs_url":"https://api.github.com/repos/inspirehep/inspire-matcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inspirehep/inspire-matcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inspirehep/inspire-matcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/inspirehep/inspire-matcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inspirehep/inspire-matcher/statuses/{sha}","languages_url":"https://api.github.com/repos/inspirehep/inspire-matcher/languages","stargazers_url":"https://api.github.com/repos/inspirehep/inspire-matcher/stargazers","contributors_url":"https://api.github.com/repos/inspirehep/inspire-matcher/contributors","subscribers_url":"https://api.github.com/repos/inspirehep/inspire-matcher/subscribers","subscription_url":"https://api.github.com/repos/inspirehep/inspire-matcher/subscription","commits_url":"https://api.github.com/repos/inspirehep/inspire-matcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/inspirehep/inspire-matcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/inspirehep/inspire-matcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/inspirehep/inspire-matcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/inspirehep/inspire-matcher/contents/{+path}","compare_url":"https://api.github.com/repos/inspirehep/inspire-matcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inspirehep/inspire-matcher/merges","archive_url":"https://api.github.com/repos/inspirehep/inspire-matcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inspirehep/inspire-matcher/downloads","issues_url":"https://api.github.com/repos/inspirehep/inspire-matcher/issues{/number}","pulls_url":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls{/number}","milestones_url":"https://api.github.com/repos/inspirehep/inspire-matcher/milestones{/number}","notifications_url":"https://api.github.com/repos/inspirehep/inspire-matcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inspirehep/inspire-matcher/labels{/name}","releases_url":"https://api.github.com/repos/inspirehep/inspire-matcher/releases{/id}","deployments_url":"https://api.github.com/repos/inspirehep/inspire-matcher/deployments","created_at":"2017-10-03T23:08:11Z","updated_at":"2018-05-14T14:29:08Z","pushed_at":"2018-06-12T15:39:52Z","git_url":"git://github.com/inspirehep/inspire-matcher.git","ssh_url":"git@github.com:inspirehep/inspire-matcher.git","clone_url":"https://github.com/inspirehep/inspire-matcher.git","svn_url":"https://github.com/inspirehep/inspire-matcher","homepage":"","size":129,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":6,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/47"},"html":{"href":"https://github.com/inspirehep/inspire-matcher/pull/47"},"issue":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/issues/47"},"comments":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/inspirehep/inspire-matcher/statuses/cc43b8535ae08eade2148146b5d2550c98abf087"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jacquerie"}}