{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7577","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7577/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7577/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7577/events","html_url":"https://github.com/ManageIQ/manageiq/pull/7577","id":144322124,"number":7577,"title":"bower instead of rails-assets","user":{"login":"himdel","id":289743,"avatar_url":"https://avatars.githubusercontent.com/u/289743?v=3","gravatar_id":"","url":"https://api.github.com/users/himdel","html_url":"https://github.com/himdel","followers_url":"https://api.github.com/users/himdel/followers","following_url":"https://api.github.com/users/himdel/following{/other_user}","gists_url":"https://api.github.com/users/himdel/gists{/gist_id}","starred_url":"https://api.github.com/users/himdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himdel/subscriptions","organizations_url":"https://api.github.com/users/himdel/orgs","repos_url":"https://api.github.com/users/himdel/repos","events_url":"https://api.github.com/users/himdel/events{/privacy}","received_events_url":"https://api.github.com/users/himdel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/gem%20changes","name":"gem changes","color":"6A92BC"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/ui","name":"ui","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-03-29T16:47:32Z","updated_at":"2016-04-08T11:40:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/7577","html_url":"https://github.com/ManageIQ/manageiq/pull/7577","diff_url":"https://github.com/ManageIQ/manageiq/pull/7577.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/7577.patch"},"body":"This replaces rails-assets with pure bower:\r\n\r\n   * front-end (js & css) dependencies are defined in `bower.json`, to add a new one, do `bower install --save $whatever`\r\n      * to add a pure devel-mode dependency, use `--save-dev` (however, as of now, we never call `bower install -p` so both always get installed)\r\n   * these get downloaded under `vendor/assets/bower_components`, which is gitignored, and added to `config.assets.paths`\r\n   * updated `bin/setup`, `bin/update`, `tools/ci/before_install.sh` to also handle bower\r\n      * does `which bower || npm install -g bower` which may or may not be needed (and may not work, if it's not run as root)\r\n   * I added no rake tasks to wrap bower since I don't see the need, please correct me if I'm wrong\r\n      * expecting people to run either `bin/update` or `bundle install` + `bower install` manually\r\n\r\n   * +minor tweaks in application.js/css for where the bower path is slightly different\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/207395508","html_url":"https://github.com/ManageIQ/manageiq/pull/7577#issuecomment-207395508","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/7577","id":207395508,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T11:40:45Z","updated_at":"2016-04-08T11:40:45Z","body":"<github_pr_commenter_batch />Some comments on commits https://github.com/himdel/manageiq/compare/4dd20ddccc878ad76d154da9952b9be75d9b956d~...ce1889bb033cb958c6bcc4f892cb774319f51677\n* Gemfile changes detected. /cc @JPrause @simaishi\n"}}