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

Moved UI gem dependencies from the main repo #48

Merged
merged 1 commit into from
Jan 10, 2017

Conversation

skateman
Copy link
Member

@skateman skateman commented Jan 3, 2017

The jquery-rjs is included from our fork on GitHub and there is no
support for unreleased gems in a gemspec. I also tried to move it
to the UI Gemfile, without any success. So until we don't push it
to Rubygems.org, it needs to stay in the main repo's Gemfile.

Parent issue:
#1

Merge before:
ManageIQ/manageiq#13332

@miq-bot
Copy link
Member

miq-bot commented Jan 4, 2017

<pr_mergeability_checker />This pull request is not mergeable. Please rebase and repush.

@skateman
Copy link
Member Author

skateman commented Jan 5, 2017

@mzazrivec I am pretty sure that this is not pending on the backend, but backend is pending on this as ManageIQ/manageiq#13332 will fail until this is merged.

@skateman
Copy link
Member Author

skateman commented Jan 5, 2017

@Fryguy this should be merged first, could you please take a look?

s.add_dependency "angular-ui-bootstrap-rails", "~>0.13.0"
s.add_dependency "jquery-hotkeys-rails"
s.add_dependency "sass-rails"
s.add_dependency "coffee-rails"
Copy link
Member

Choose a reason for hiding this comment

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

Minor but can you sort these alphabetically? It makes future diffs and additions simpler.

require 'patternfly-sass'
require 'lodash-rails'
require 'angular-ui-bootstrap-rails'
require 'jquery-hotkeys-rails'
Copy link
Member

Choose a reason for hiding this comment

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

Same about the sorting here unless there is a required ordering for some reason.

Copy link
Member

Choose a reason for hiding this comment

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

Also do these have to be required from the start? I know they were not marked :require => false in ManageIQ, but do you know why?

Copy link
Member Author

Choose a reason for hiding this comment

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

we need them constantly in development and also for asset precompilation in production

The jquery-rjs is included from our fork on GitHub and there is no
support for unreleased gems in a gemspec. I also tried to move it
to the UI Gemfile, without any success. So until we don't push it
to Rubygems.org, it needs to stay in the main repo's Gemfile.
@miq-bot
Copy link
Member

miq-bot commented Jan 7, 2017

Checked commit skateman@820137e with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
1 file checked, 0 offenses detected
Everything looks good. 🏆

@Fryguy Fryguy merged commit 72e796b into ManageIQ:master Jan 10, 2017
@Fryguy Fryguy added this to the Sprint 52 Ending Jan 16, 2017 milestone Jan 10, 2017
@skateman skateman deleted the move-ui-deps branch January 10, 2017 19:23
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.

5 participants