{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/crowbar/pulls/comments/45716926","id":45716926,"diff_hunk":"@@ -278,6 +278,15 @@ post_fail_handler ()\n     rm -f $crowbar_install_dir/crowbar_installing\n }\n \n+function rails_db_cleanup()\n+{\n+    rm -f $crowbar_install_dir/crowbar-install-failed\n+    rm -f $installation_steps\n+    pushd /opt/dell/crowbar_framework > /dev/null\n+    rake db:migrate:reset","path":"scripts/install-chef-suse.sh","position":9,"original_position":9,"commit_id":"1f0969ac6b49d1e49ad26e7742a2db8a6219d18f","original_commit_id":"1f0969ac6b49d1e49ad26e7742a2db8a6219d18f","user":{"login":"tboerger","id":156964,"avatar_url":"https://avatars.githubusercontent.com/u/156964?v=3","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"body":"https://github.com/crowbar/crowbar-core/pull/141","created_at":"2015-11-24T10:15:14Z","updated_at":"2015-11-24T10:15:14Z","html_url":"https://github.com/crowbar/crowbar/pull/2189#discussion_r45716926","pull_request_url":"https://api.github.com/repos/crowbar/crowbar/pulls/2189","_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar/pulls/comments/45716926"},"html":{"href":"https://github.com/crowbar/crowbar/pull/2189#discussion_r45716926"},"pull_request":{"href":"https://api.github.com/repos/crowbar/crowbar/pulls/2189"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar/pulls/2189","id":51629661,"html_url":"https://github.com/crowbar/crowbar/pull/2189","diff_url":"https://github.com/crowbar/crowbar/pull/2189.diff","patch_url":"https://github.com/crowbar/crowbar/pull/2189.patch","issue_url":"https://api.github.com/repos/crowbar/crowbar/issues/2189","number":2189,"state":"open","locked":false,"title":"always cleanup the rails db","user":{"login":"MaximilianMeister","id":5364817,"avatar_url":"https://avatars.githubusercontent.com/u/5364817?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximilianMeister","html_url":"https://github.com/MaximilianMeister","followers_url":"https://api.github.com/users/MaximilianMeister/followers","following_url":"https://api.github.com/users/MaximilianMeister/following{/other_user}","gists_url":"https://api.github.com/users/MaximilianMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximilianMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximilianMeister/subscriptions","organizations_url":"https://api.github.com/users/MaximilianMeister/orgs","repos_url":"https://api.github.com/users/MaximilianMeister/repos","events_url":"https://api.github.com/users/MaximilianMeister/events{/privacy}","received_events_url":"https://api.github.com/users/MaximilianMeister/received_events","type":"User","site_admin":false},"body":"and use rake for cleaning up","created_at":"2015-11-24T08:31:07Z","updated_at":"2015-11-24T10:15:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20580292e0638a979938a3932ebf27fdf3f2b558","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/crowbar/pulls/2189/commits","review_comments_url":"https://api.github.com/repos/crowbar/crowbar/pulls/2189/comments","review_comment_url":"https://api.github.com/repos/crowbar/crowbar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crowbar/crowbar/issues/2189/comments","statuses_url":"https://api.github.com/repos/crowbar/crowbar/statuses/1f0969ac6b49d1e49ad26e7742a2db8a6219d18f","head":{"label":"MaximilianMeister:sqlite","ref":"sqlite","sha":"1f0969ac6b49d1e49ad26e7742a2db8a6219d18f","user":{"login":"MaximilianMeister","id":5364817,"avatar_url":"https://avatars.githubusercontent.com/u/5364817?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximilianMeister","html_url":"https://github.com/MaximilianMeister","followers_url":"https://api.github.com/users/MaximilianMeister/followers","following_url":"https://api.github.com/users/MaximilianMeister/following{/other_user}","gists_url":"https://api.github.com/users/MaximilianMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximilianMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximilianMeister/subscriptions","organizations_url":"https://api.github.com/users/MaximilianMeister/orgs","repos_url":"https://api.github.com/users/MaximilianMeister/repos","events_url":"https://api.github.com/users/MaximilianMeister/events{/privacy}","received_events_url":"https://api.github.com/users/MaximilianMeister/received_events","type":"User","site_admin":false},"repo":{"id":23619934,"name":"crowbar","full_name":"MaximilianMeister/crowbar","owner":{"login":"MaximilianMeister","id":5364817,"avatar_url":"https://avatars.githubusercontent.com/u/5364817?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximilianMeister","html_url":"https://github.com/MaximilianMeister","followers_url":"https://api.github.com/users/MaximilianMeister/followers","following_url":"https://api.github.com/users/MaximilianMeister/following{/other_user}","gists_url":"https://api.github.com/users/MaximilianMeister/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximilianMeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximilianMeister/subscriptions","organizations_url":"https://api.github.com/users/MaximilianMeister/orgs","repos_url":"https://api.github.com/users/MaximilianMeister/repos","events_url":"https://api.github.com/users/MaximilianMeister/events{/privacy}","received_events_url":"https://api.github.com/users/MaximilianMeister/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MaximilianMeister/crowbar","description":"Cloud Operations Platform","fork":true,"url":"https://api.github.com/repos/MaximilianMeister/crowbar","forks_url":"https://api.github.com/repos/MaximilianMeister/crowbar/forks","keys_url":"https://api.github.com/repos/MaximilianMeister/crowbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaximilianMeister/crowbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaximilianMeister/crowbar/teams","hooks_url":"https://api.github.com/repos/MaximilianMeister/crowbar/hooks","issue_events_url":"https://api.github.com/repos/MaximilianMeister/crowbar/issues/events{/number}","events_url":"https://api.github.com/repos/MaximilianMeister/crowbar/events","assignees_url":"https://api.github.com/repos/MaximilianMeister/crowbar/assignees{/user}","branches_url":"https://api.github.com/repos/MaximilianMeister/crowbar/branches{/branch}","tags_url":"https://api.github.com/repos/MaximilianMeister/crowbar/tags","blobs_url":"https://api.github.com/repos/MaximilianMeister/crowbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaximilianMeister/crowbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaximilianMeister/crowbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaximilianMeister/crowbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaximilianMeister/crowbar/statuses/{sha}","languages_url":"https://api.github.com/repos/MaximilianMeister/crowbar/languages","stargazers_url":"https://api.github.com/repos/MaximilianMeister/crowbar/stargazers","contributors_url":"https://api.github.com/repos/MaximilianMeister/crowbar/contributors","subscribers_url":"https://api.github.com/repos/MaximilianMeister/crowbar/subscribers","subscription_url":"https://api.github.com/repos/MaximilianMeister/crowbar/subscription","commits_url":"https://api.github.com/repos/MaximilianMeister/crowbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaximilianMeister/crowbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaximilianMeister/crowbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaximilianMeister/crowbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaximilianMeister/crowbar/contents/{+path}","compare_url":"https://api.github.com/repos/MaximilianMeister/crowbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaximilianMeister/crowbar/merges","archive_url":"https://api.github.com/repos/MaximilianMeister/crowbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaximilianMeister/crowbar/downloads","issues_url":"https://api.github.com/repos/MaximilianMeister/crowbar/issues{/number}","pulls_url":"https://api.github.com/repos/MaximilianMeister/crowbar/pulls{/number}","milestones_url":"https://api.github.com/repos/MaximilianMeister/crowbar/milestones{/number}","notifications_url":"https://api.github.com/repos/MaximilianMeister/crowbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaximilianMeister/crowbar/labels{/name}","releases_url":"https://api.github.com/repos/MaximilianMeister/crowbar/releases{/id}","created_at":"2014-09-03T12:49:39Z","updated_at":"2014-09-03T12:52:00Z","pushed_at":"2015-11-24T08:36:10Z","git_url":"git://github.com/MaximilianMeister/crowbar.git","ssh_url":"git@github.com:MaximilianMeister/crowbar.git","clone_url":"https://github.com/MaximilianMeister/crowbar.git","svn_url":"https://github.com/MaximilianMeister/crowbar","homepage":"https://github.com/crowbar/crowbar","size":32759,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"crowbar:master","ref":"master","sha":"b4b7d3b8cf09f78a5d29af4d2c928a918d51b384","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"repo":{"id":2040151,"name":"crowbar","full_name":"crowbar/crowbar","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crowbar/crowbar","description":"Cloud Operations Platform","fork":false,"url":"https://api.github.com/repos/crowbar/crowbar","forks_url":"https://api.github.com/repos/crowbar/crowbar/forks","keys_url":"https://api.github.com/repos/crowbar/crowbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/crowbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/crowbar/teams","hooks_url":"https://api.github.com/repos/crowbar/crowbar/hooks","issue_events_url":"https://api.github.com/repos/crowbar/crowbar/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/crowbar/events","assignees_url":"https://api.github.com/repos/crowbar/crowbar/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/crowbar/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/crowbar/tags","blobs_url":"https://api.github.com/repos/crowbar/crowbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/crowbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/crowbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/crowbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/crowbar/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/crowbar/languages","stargazers_url":"https://api.github.com/repos/crowbar/crowbar/stargazers","contributors_url":"https://api.github.com/repos/crowbar/crowbar/contributors","subscribers_url":"https://api.github.com/repos/crowbar/crowbar/subscribers","subscription_url":"https://api.github.com/repos/crowbar/crowbar/subscription","commits_url":"https://api.github.com/repos/crowbar/crowbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/crowbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/crowbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/crowbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/crowbar/crowbar/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/crowbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/crowbar/merges","archive_url":"https://api.github.com/repos/crowbar/crowbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/crowbar/downloads","issues_url":"https://api.github.com/repos/crowbar/crowbar/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/crowbar/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/crowbar/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/crowbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/crowbar/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/crowbar/releases{/id}","created_at":"2011-07-13T05:02:51Z","updated_at":"2015-11-10T11:33:06Z","pushed_at":"2015-11-24T09:21:18Z","git_url":"git://github.com/crowbar/crowbar.git","ssh_url":"git@github.com:crowbar/crowbar.git","clone_url":"https://github.com/crowbar/crowbar.git","svn_url":"https://github.com/crowbar/crowbar","homepage":"https://github.com/crowbar/crowbar","size":33123,"stargazers_count":694,"watchers_count":694,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":276,"mirror_url":null,"open_issues_count":48,"forks":276,"open_issues":48,"watchers":694,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar/pulls/2189"},"html":{"href":"https://github.com/crowbar/crowbar/pull/2189"},"issue":{"href":"https://api.github.com/repos/crowbar/crowbar/issues/2189"},"comments":{"href":"https://api.github.com/repos/crowbar/crowbar/issues/2189/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/crowbar/pulls/2189/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/crowbar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crowbar/crowbar/pulls/2189/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/crowbar/statuses/1f0969ac6b49d1e49ad26e7742a2db8a6219d18f"}}}}