-
Notifications
You must be signed in to change notification settings - Fork 357
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
[WIP] Remove bower via bower-away #2571
Conversation
thanks @Fryguy looks like a positive change, do you happen to know if spec/manageiq/lib/manageiq/environment.rb is currently used? (it has references to updating bower via bin/update). |
@ohadlevy Yes, that code is called during |
@Fryguy re the TODO: Keep:
.. still using that directory, kept updated by that postinstall
.. those are just hints on where those globals come from .. until we actually stop using bower packages, I'd keep them.
.. the package name stays the same Remove:
..no need to run bower now .. (and I'm not aware of anybody using update:bower directly (nobody should IMO), so no need to keep a compatibility task, I assume).
.. we can just drop the bower-caching on travis I hope, since yarn will cache it for us. Just need to make sure |
Overall, yeah, I agree it makes sense to drop bower as a tool now if we can do that without breaking anything :). (Moving away from bower as a package source and mode of use is still a TODO for H-release (uh.. Hammer time?), though the latter should be relatively easy using webpack ProviderPlugin.) |
Oh, one more note... We're not really married to |
Looks like if the bower package also has a package.json, it needs to be valid :(. |
This pull request is not mergeable. Please rebase and repush. |
This pull request is not mergeable. Please rebase and repush. |
I think it's in @himdel's court because I don't know how to move forward |
I'm basically stuck at this step of bower-away:
Apparently kubernetes-topology-graph is not a valid package because it doesn't have a version. But when I look at the latest, I think it does have it, so maybe we just have to upgrade? https://github.com/kubernetes-ui/topology-graph |
Checked commits Fryguy/manageiq-ui-classic@9ed2cd4~...2eb0e34 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
This pull request is not mergeable. Please rebase and repush. |
Looking into this, so far..
Maybe it will make more sense to minimize the bower dependencies to a bare minimum manually and only then use bower-away. (Another reason to do that is that
|
Resurrecting ManageIQ/manageiq#12581 in smaller parts, hoping to reduce this to only packages which don't have an equivalent npm version. |
@himdel I'm following your adventures in the other PRs...let me know when you want me to rebase this (unless you just want to take it over in a separate PR) |
This pull request has been automatically closed because it has not been updated for at least 6 months. Feel free to reopen this pull request if these changes are still valid. Thank you for all your contributions! |
This pull request is not mergeable. Please rebase and repush. |
Closed via #4735 |
This migrates the project from bower to yarn via the
bower-away
tool as recommended by bower themselves. https://bower.io/blog/2017/how-to-migrate-away-from-bower/@himdel @martinpovolny Please review
TODO: Figure out what to do with the rest of these references to bower