{"action":"created","comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/comments/79154313","id":79154313,"diff_hunk":"@@ -0,0 +1,26 @@\n+#!/bin/sh\n+\n+DIR=`dirname \"$0\"`\n+\n+cd $DIR\n+export FLASK_APP=app.py\n+\n+# clean environment\n+[ -e \"$DIR/instance\" ] && rm $DIR/instance -Rf\n+mkdir $DIR/instance\n+\n+# Install specific dependencies\n+pip install -r requirements.txt || exit 1\n+\n+# Create the database\n+flask db destroy --yes-i-know\n+flask db init || exit 1\n+flask db create || exit 1\n+\n+# Create indices\n+flask index destroy --yes-i-know --force\n+flask index init || exit 1\n+flask index queue init || exit 1\n+\n+# Load fixtures\n+flask fixtures oaiserver || exit 1","path":"examples/app-recreate.sh","position":null,"original_position":26,"commit_id":"de1772b6f7222227919a4438edde34d251621c1b","original_commit_id":"896715267b95506f07c1c3504222503a9174e037","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":"done","created_at":"2016-09-16T11:56:48Z","updated_at":"2016-09-16T11:56:48Z","html_url":"https://github.com/inveniosoftware/invenio-oaiserver/pull/86#discussion_r79154313","pull_request_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/comments/79154313"},"html":{"href":"https://github.com/inveniosoftware/invenio-oaiserver/pull/86#discussion_r79154313"},"pull_request":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/86","id":84092181,"html_url":"https://github.com/inveniosoftware/invenio-oaiserver/pull/86","diff_url":"https://github.com/inveniosoftware/invenio-oaiserver/pull/86.diff","patch_url":"https://github.com/inveniosoftware/invenio-oaiserver/pull/86.patch","issue_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/issues/86","number":86,"state":"open","locked":false,"title":"tests: addition of test_example_app.py","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":"* Adds test_example_app.py. (closes #85)\r\n\r\nSigned-off-by: Leonardo Rossi <leonardo.r@cern.ch>","created_at":"2016-09-06T09:52:01Z","updated_at":"2016-09-16T11:56:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77b18a95232cdb820046a22b95c7e7b0f6ec3a0f","assignee":{"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},"assignees":[{"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}],"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/milestones/4","html_url":"https://github.com/inveniosoftware/invenio-oaiserver/milestones/I3B-API-Docs","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/milestones/4/labels","id":1889015,"number":4,"title":"I3B-API-Docs","description":"","creator":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2016-07-18T09:41:16Z","updated_at":"2016-09-06T09:52:01Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/86/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/86/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/issues/86/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/statuses/de1772b6f7222227919a4438edde34d251621c1b","head":{"label":"hachreak:85_test_examples","ref":"85_test_examples","sha":"de1772b6f7222227919a4438edde34d251621c1b","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":51288088,"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":"Invenio OAI Repository (placeholder for history)","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-02-08T09:11:56Z","updated_at":"2016-02-08T09:11:57Z","pushed_at":"2016-09-16T11:50:28Z","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":"","size":253,"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":"857039227fe735a350832bd6f4cf66634f644eef","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":40709093,"name":"invenio-oaiserver","full_name":"inveniosoftware/invenio-oaiserver","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-oaiserver","description":"Invenio module that adds more fun to the platform.","fork":false,"url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver","forks_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/forks","keys_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/events","assignees_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/merges","archive_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/releases{/id}","deployments_url":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/deployments","created_at":"2015-08-14T10:12:18Z","updated_at":"2016-09-14T18:50:25Z","pushed_at":"2016-09-16T11:47:19Z","git_url":"git://github.com/inveniosoftware/invenio-oaiserver.git","ssh_url":"git@github.com:inveniosoftware/invenio-oaiserver.git","clone_url":"https://github.com/inveniosoftware/invenio-oaiserver.git","svn_url":"https://github.com/inveniosoftware/invenio-oaiserver","homepage":"","size":294,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":11,"forks":10,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/86"},"html":{"href":"https://github.com/inveniosoftware/invenio-oaiserver/pull/86"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/issues/86"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/invenio-oaiserver/statuses/de1772b6f7222227919a4438edde34d251621c1b"}}}}
{"actor":{"display_login":"hachreak"}}