{"action":"created","comment":{"url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/comments/51733164","id":51733164,"diff_hunk":"@@ -84,3 +113,11 @@ def oaiserver():\n     }\n     Record.create({'title': 'Test0', '$schema': schema})\n     db.session.commit()\n+\n+    # mint all records\n+    records = RecordMetadata.query.all()\n+    for record in records:\n+        recid_minter(record.id, record.json)\n+        oaiid_minter(record.id, record.json)\n+        # mark record as modified","path":"examples/app.py","position":89,"original_position":89,"commit_id":"4e64e51f7ccf536e3841cfa48621a32aa22eb790","original_commit_id":"4e64e51f7ccf536e3841cfa48621a32aa22eb790","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":"https://github.com/inveniosoftware/invenio-records/blob/master/invenio_records/api.py#L170 !!!","created_at":"2016-02-03T15:14:09Z","updated_at":"2016-02-03T15:14:09Z","html_url":"https://github.com/jirikuncar/invenio-oaiserver/pull/3#discussion_r51733164","pull_request_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/comments/51733164"},"html":{"href":"https://github.com/jirikuncar/invenio-oaiserver/pull/3#discussion_r51733164"},"pull_request":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/3","id":57968443,"html_url":"https://github.com/jirikuncar/invenio-oaiserver/pull/3","diff_url":"https://github.com/jirikuncar/invenio-oaiserver/pull/3.diff","patch_url":"https://github.com/jirikuncar/invenio-oaiserver/pull/3.patch","issue_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/issues/3","number":3,"state":"open","locked":false,"title":"examples: minter demo addition","user":{"login":"hachreak","id":377047,"avatar_url":"https://avatars.githubusercontent.com/u/377047?v=3","gravatar_id":"","url":"https://api.github.com/users/hachreak","html_url":"https://github.com/hachreak","followers_url":"https://api.github.com/users/hachreak/followers","following_url":"https://api.github.com/users/hachreak/following{/other_user}","gists_url":"https://api.github.com/users/hachreak/gists{/gist_id}","starred_url":"https://api.github.com/users/hachreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hachreak/subscriptions","organizations_url":"https://api.github.com/users/hachreak/orgs","repos_url":"https://api.github.com/users/hachreak/repos","events_url":"https://api.github.com/users/hachreak/events{/privacy}","received_events_url":"https://api.github.com/users/hachreak/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>","created_at":"2016-02-02T10:39:00Z","updated_at":"2016-02-03T15:14:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da93b5561eaf88a8043c370e9a9c957a0380b63a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/issues/3/comments","statuses_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/statuses/4e64e51f7ccf536e3841cfa48621a32aa22eb790","head":{"label":"hachreak:restart","ref":"restart","sha":"4e64e51f7ccf536e3841cfa48621a32aa22eb790","user":{"login":"hachreak","id":377047,"avatar_url":"https://avatars.githubusercontent.com/u/377047?v=3","gravatar_id":"","url":"https://api.github.com/users/hachreak","html_url":"https://github.com/hachreak","followers_url":"https://api.github.com/users/hachreak/followers","following_url":"https://api.github.com/users/hachreak/following{/other_user}","gists_url":"https://api.github.com/users/hachreak/gists{/gist_id}","starred_url":"https://api.github.com/users/hachreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hachreak/subscriptions","organizations_url":"https://api.github.com/users/hachreak/orgs","repos_url":"https://api.github.com/users/hachreak/repos","events_url":"https://api.github.com/users/hachreak/events{/privacy}","received_events_url":"https://api.github.com/users/hachreak/received_events","type":"User","site_admin":false},"repo":{"id":50511610,"name":"invenio-oaiserver","full_name":"hachreak/invenio-oaiserver","owner":{"login":"hachreak","id":377047,"avatar_url":"https://avatars.githubusercontent.com/u/377047?v=3","gravatar_id":"","url":"https://api.github.com/users/hachreak","html_url":"https://github.com/hachreak","followers_url":"https://api.github.com/users/hachreak/followers","following_url":"https://api.github.com/users/hachreak/following{/other_user}","gists_url":"https://api.github.com/users/hachreak/gists{/gist_id}","starred_url":"https://api.github.com/users/hachreak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hachreak/subscriptions","organizations_url":"https://api.github.com/users/hachreak/orgs","repos_url":"https://api.github.com/users/hachreak/repos","events_url":"https://api.github.com/users/hachreak/events{/privacy}","received_events_url":"https://api.github.com/users/hachreak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hachreak/invenio-oaiserver","description":"","fork":true,"url":"https://api.github.com/repos/hachreak/invenio-oaiserver","forks_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/forks","keys_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/teams","hooks_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/hooks","issue_events_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/issues/events{/number}","events_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/events","assignees_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/assignees{/user}","branches_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/branches{/branch}","tags_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/tags","blobs_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/statuses/{sha}","languages_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/languages","stargazers_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/stargazers","contributors_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/contributors","subscribers_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/subscribers","subscription_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/subscription","commits_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/contents/{+path}","compare_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/merges","archive_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/downloads","issues_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/issues{/number}","pulls_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/pulls{/number}","milestones_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/milestones{/number}","notifications_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/labels{/name}","releases_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/releases{/id}","deployments_url":"https://api.github.com/repos/hachreak/invenio-oaiserver/deployments","created_at":"2016-01-27T14:08:00Z","updated_at":"2016-01-27T14:08:01Z","pushed_at":"2016-02-03T13:43:10Z","git_url":"git://github.com/hachreak/invenio-oaiserver.git","ssh_url":"git@github.com:hachreak/invenio-oaiserver.git","clone_url":"https://github.com/hachreak/invenio-oaiserver.git","svn_url":"https://github.com/hachreak/invenio-oaiserver","homepage":null,"size":277,"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":"jirikuncar:restart","ref":"restart","sha":"99bd32bd32367314e06ce5f3571b5a0303510d9d","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},"repo":{"id":50122061,"name":"invenio-oaiserver","full_name":"jirikuncar/invenio-oaiserver","owner":{"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},"private":false,"html_url":"https://github.com/jirikuncar/invenio-oaiserver","description":"","fork":true,"url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver","forks_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/forks","keys_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/teams","hooks_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/hooks","issue_events_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/issues/events{/number}","events_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/events","assignees_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/assignees{/user}","branches_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/branches{/branch}","tags_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/tags","blobs_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/statuses/{sha}","languages_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/languages","stargazers_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/stargazers","contributors_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/contributors","subscribers_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/subscribers","subscription_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/subscription","commits_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/contents/{+path}","compare_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/merges","archive_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/downloads","issues_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/issues{/number}","pulls_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls{/number}","milestones_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/milestones{/number}","notifications_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/labels{/name}","releases_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/releases{/id}","deployments_url":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/deployments","created_at":"2016-01-21T16:54:33Z","updated_at":"2016-01-21T16:54:34Z","pushed_at":"2016-02-03T13:43:10Z","git_url":"git://github.com/jirikuncar/invenio-oaiserver.git","ssh_url":"git@github.com:jirikuncar/invenio-oaiserver.git","clone_url":"https://github.com/jirikuncar/invenio-oaiserver.git","svn_url":"https://github.com/jirikuncar/invenio-oaiserver","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/3"},"html":{"href":"https://github.com/jirikuncar/invenio-oaiserver/pull/3"},"issue":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/issues/3"},"comments":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jirikuncar/invenio-oaiserver/statuses/4e64e51f7ccf536e3841cfa48621a32aa22eb790"}}}}