{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11299","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11299/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11299/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11299/events","html_url":"https://github.com/ManageIQ/manageiq/pull/11299","id":177257475,"number":11299,"title":"bin/setup and bin/update: Use as much from the rails template","user":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/core","name":"core","color":"5319e7"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/darga/no","name":"darga/no","color":"000000"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/technical%20debt","name":"technical debt","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-15T18:48:36Z","updated_at":"2016-09-15T18:49:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/11299","html_url":"https://github.com/ManageIQ/manageiq/pull/11299","diff_url":"https://github.com/ManageIQ/manageiq/pull/11299.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/11299.patch"},"body":"### Synopsis:\r\n\r\nOur bin/setup and bin/rails were added before rails 5.  Subsequently, the rails bin/setup and bin/update templates have changed so we should try to move back to how rails does it.\r\n\r\n* use `system!` from the rails version and remove our very similar `execute` method\r\n* rails command now wraps rake tasks, so convert `bin/rake` to `bin/rails`\r\n* Clear the logs and cache after running all the things.\r\n\r\nThe 5.0.0.1 template for [bin/update is here](https://github.com/rails/rails/blob/v5.0.0.1/railties/lib/rails/generators/rails/app/templates/bin/update) and [bin/setup is here](https://github.com/rails/rails/blob/v5.0.0.1/railties/lib/rails/generators/rails/app/templates/bin/setup)\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/247416752","html_url":"https://github.com/ManageIQ/manageiq/pull/11299#issuecomment-247416752","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11299","id":247416752,"user":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T18:49:27Z","updated_at":"2016-09-15T18:49:27Z","body":"cc @himdel @kbrock \r\n\r\ncc @jvlcek (note the removal of the `english` library as we move back to the way rails does it... is that ok?)"}}
{"actor":{"display_login":"jrafanie"}}