{"action":"created","comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/comments/49970328","id":49970328,"diff_hunk":"@@ -0,0 +1,25 @@\n+# -*- coding: utf-8 -*-","path":"tests/__init__.py","position":1,"original_position":1,"commit_id":"5efe9841d797acdeea6ab833d80274574ef52247","original_commit_id":"5efe9841d797acdeea6ab833d80274574ef52247","user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"body":"Please remove this file as its usage is discouraged with `py.test`. \r\n\r\n> **avoid “__init__.py” files in your test directories.** This way your tests can run easily against an installed version of mypkg, independently from the installed package if it contains the tests or not.\r\n\r\n*source https://pytest.org/latest/goodpractises.html*","created_at":"2016-01-18T08:15:49Z","updated_at":"2016-01-18T08:15:49Z","html_url":"https://github.com/inveniosoftware/invenio-records-rest/pull/18#discussion_r49970328","pull_request_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/comments/49970328"},"html":{"href":"https://github.com/inveniosoftware/invenio-records-rest/pull/18#discussion_r49970328"},"pull_request":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/18","id":52547035,"html_url":"https://github.com/inveniosoftware/invenio-records-rest/pull/18","diff_url":"https://github.com/inveniosoftware/invenio-records-rest/pull/18.diff","patch_url":"https://github.com/inveniosoftware/invenio-records-rest/pull/18.patch","issue_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/issues/18","number":18,"state":"open","locked":false,"title":"views: access control","user":{"login":"nharraud","id":5708796,"avatar_url":"https://avatars.githubusercontent.com/u/5708796?v=3","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false},"body":"* NEW Adds customizable access control to record views. Allow\r\n  configuring different permissions per endpoint. (reference #14)\r\n\r\nSigned-off-by: Nicolas Harraudeau <nicolas.harraudeau@cern.ch>","created_at":"2015-12-03T15:17:04Z","updated_at":"2016-01-18T08:15:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00eec8892819ef5d80ba7fcf145646c0f2ea5f2a","assignee":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/milestones/1","html_url":"https://github.com/inveniosoftware/invenio-records-rest/milestones/v1.0.0","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/milestones/1/labels","id":1367769,"number":1,"title":"v1.0.0","description":null,"creator":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":13,"state":"open","created_at":"2015-10-21T07:45:13Z","updated_at":"2015-12-14T15:56:48Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/18/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/18/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/issues/18/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/statuses/5efe9841d797acdeea6ab833d80274574ef52247","head":{"label":"nharraud:access_control","ref":"access_control","sha":"5efe9841d797acdeea6ab833d80274574ef52247","user":{"login":"nharraud","id":5708796,"avatar_url":"https://avatars.githubusercontent.com/u/5708796?v=3","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false},"repo":{"id":44604591,"name":"invenio-records-rest","full_name":"nharraud/invenio-records-rest","owner":{"login":"nharraud","id":5708796,"avatar_url":"https://avatars.githubusercontent.com/u/5708796?v=3","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nharraud/invenio-records-rest","description":"Invenio records REST API module.","fork":true,"url":"https://api.github.com/repos/nharraud/invenio-records-rest","forks_url":"https://api.github.com/repos/nharraud/invenio-records-rest/forks","keys_url":"https://api.github.com/repos/nharraud/invenio-records-rest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nharraud/invenio-records-rest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nharraud/invenio-records-rest/teams","hooks_url":"https://api.github.com/repos/nharraud/invenio-records-rest/hooks","issue_events_url":"https://api.github.com/repos/nharraud/invenio-records-rest/issues/events{/number}","events_url":"https://api.github.com/repos/nharraud/invenio-records-rest/events","assignees_url":"https://api.github.com/repos/nharraud/invenio-records-rest/assignees{/user}","branches_url":"https://api.github.com/repos/nharraud/invenio-records-rest/branches{/branch}","tags_url":"https://api.github.com/repos/nharraud/invenio-records-rest/tags","blobs_url":"https://api.github.com/repos/nharraud/invenio-records-rest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nharraud/invenio-records-rest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nharraud/invenio-records-rest/git/refs{/sha}","trees_url":"https://api.github.com/repos/nharraud/invenio-records-rest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nharraud/invenio-records-rest/statuses/{sha}","languages_url":"https://api.github.com/repos/nharraud/invenio-records-rest/languages","stargazers_url":"https://api.github.com/repos/nharraud/invenio-records-rest/stargazers","contributors_url":"https://api.github.com/repos/nharraud/invenio-records-rest/contributors","subscribers_url":"https://api.github.com/repos/nharraud/invenio-records-rest/subscribers","subscription_url":"https://api.github.com/repos/nharraud/invenio-records-rest/subscription","commits_url":"https://api.github.com/repos/nharraud/invenio-records-rest/commits{/sha}","git_commits_url":"https://api.github.com/repos/nharraud/invenio-records-rest/git/commits{/sha}","comments_url":"https://api.github.com/repos/nharraud/invenio-records-rest/comments{/number}","issue_comment_url":"https://api.github.com/repos/nharraud/invenio-records-rest/issues/comments{/number}","contents_url":"https://api.github.com/repos/nharraud/invenio-records-rest/contents/{+path}","compare_url":"https://api.github.com/repos/nharraud/invenio-records-rest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nharraud/invenio-records-rest/merges","archive_url":"https://api.github.com/repos/nharraud/invenio-records-rest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nharraud/invenio-records-rest/downloads","issues_url":"https://api.github.com/repos/nharraud/invenio-records-rest/issues{/number}","pulls_url":"https://api.github.com/repos/nharraud/invenio-records-rest/pulls{/number}","milestones_url":"https://api.github.com/repos/nharraud/invenio-records-rest/milestones{/number}","notifications_url":"https://api.github.com/repos/nharraud/invenio-records-rest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nharraud/invenio-records-rest/labels{/name}","releases_url":"https://api.github.com/repos/nharraud/invenio-records-rest/releases{/id}","created_at":"2015-10-20T12:26:01Z","updated_at":"2015-11-02T08:50:56Z","pushed_at":"2016-01-15T16:10:59Z","git_url":"git://github.com/nharraud/invenio-records-rest.git","ssh_url":"git@github.com:nharraud/invenio-records-rest.git","clone_url":"https://github.com/nharraud/invenio-records-rest.git","svn_url":"https://github.com/nharraud/invenio-records-rest","homepage":null,"size":72,"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":"inveniosoftware:master","ref":"master","sha":"26ae5f7416bf0259f54c2dc36895865ab83c3d64","user":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":44370739,"name":"invenio-records-rest","full_name":"inveniosoftware/invenio-records-rest","owner":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inveniosoftware/invenio-records-rest","description":"Invenio records REST API module.","fork":false,"url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest","forks_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/forks","keys_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/events","assignees_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/issues/comments{/number}","contents_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/merges","archive_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/releases{/id}","created_at":"2015-10-16T07:56:27Z","updated_at":"2015-10-30T22:44:45Z","pushed_at":"2016-01-15T16:10:59Z","git_url":"git://github.com/inveniosoftware/invenio-records-rest.git","ssh_url":"git@github.com:inveniosoftware/invenio-records-rest.git","clone_url":"https://github.com/inveniosoftware/invenio-records-rest.git","svn_url":"https://github.com/inveniosoftware/invenio-records-rest","homepage":null,"size":45,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/18"},"html":{"href":"https://github.com/inveniosoftware/invenio-records-rest/pull/18"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/issues/18"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/invenio-records-rest/statuses/5efe9841d797acdeea6ab833d80274574ef52247"}}}}