Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use update:ui rake task, instead of update:bower #15578

Merged
merged 1 commit into from
Jul 17, 2017
Merged

Use update:ui rake task, instead of update:bower #15578

merged 1 commit into from
Jul 17, 2017

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Jul 17, 2017

The idea being that the UI should know what to update, not the backend..

Right now, as of ManageIQ/manageiq-ui-classic#1699, update:ui just runs update:bower and update:yarn.

It will soon also run webpack:compile, and eventually drop update:bower, none of which should visible on the backend.

This just updates all the mentions of update:bower with update:ui in manageiq/.

Similar PRs to appliance-build and manageiq-pods will follow.

The idea being that the UI should know what to update, not the backend..

Right now, as of ManageIQ/manageiq-ui-classic#1699, `update:ui` just runs `update:bower` and `update:yarn`.

It will soon also run `webpack:compile`, and eventually drop `update:bower`, none of which should visible on the backend.
@miq-bot
Copy link
Member

miq-bot commented Jul 17, 2017

Checked commit https://github.com/himdel/manageiq/commit/170a23dbbdbc8b667c74bac1db0d08427e35b540 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@Fryguy Fryguy merged commit 360efd4 into ManageIQ:master Jul 17, 2017
@Fryguy Fryguy added this to the Sprint 65 Ending Jul 24, 2017 milestone Jul 17, 2017
@Fryguy Fryguy self-assigned this Jul 17, 2017
@Fryguy Fryguy added the ui label Jul 17, 2017
@@ -37,7 +37,7 @@ def self.ensure_config_files
def self.while_updating_bower
# Run bower in a thread and continue to do the non-js stuff
puts "Updating bower assets in parallel..."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@himdel I already merged but maybe the comment should move into the update_ui method or perhaps in the update:ui rake task itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, you're right, thanks! :)

I'll do a second PR..

@himdel himdel deleted the bin-update-ui branch July 18, 2017 11:29
carbonin added a commit to carbonin/manageiq-pods that referenced this pull request Jul 31, 2017
simaishi added a commit to simaishi/manageiq-appliance-build that referenced this pull request Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants