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

Look at the current rails configuration and trim dev gems #870

Closed
straleyb opened this issue Nov 21, 2019 · 5 comments · Fixed by #879
Closed

Look at the current rails configuration and trim dev gems #870

straleyb opened this issue Nov 21, 2019 · 5 comments · Fixed by #879
Assignees
Labels
Configuration Issues for configuring Hyrax Dependencies Pull requests that update a dependency file Features Issues related to building and enhancing features
Projects

Comments

@straleyb
Copy link
Contributor

Descriptive summary

We could look at rails production/development/staging configurations and see if these are the configurations we want to move forward with them.

We can also look at the dev/staging/production gems and see if we can prune those down too.

@straleyb straleyb added this to Ready in Workcycle 8 Nov 21, 2019
@straleyb straleyb added Configuration Issues for configuring Hyrax Dependencies Pull requests that update a dependency file Features Issues related to building and enhancing features labels Nov 21, 2019
@jechols
Copy link
Contributor

jechols commented Nov 25, 2019

We should also look at our use of the FITS library. Are we downloading it from the right place (harvard rather than the github page)? Is the version we're grabbing sensible (it seems old)? Do we even need this anymore (is it a core part of Hyrax? Solr does some of this stuff natively....)

@CGillen
Copy link
Contributor

CGillen commented Dec 2, 2019

@jechols
Looks like 1.0.5 is no longer necessary: harvard-lts/fits#140
Since 1.2.0 FITS should include a fix that was holding Hyrax back. We could try pulling 1.5.0 from github but from my quick tests it seems to be slightly slower because of the increased size.

Side note: 1.0.5 hosted by github is much faster for me, but this is probably because of some caching/CDN details, I wouldn't rely on it.

@CGillen
Copy link
Contributor

CGillen commented Dec 3, 2019

From the developers meeting it sounded like we wanted several devs to take a pass at cutting out gems and see if we can all agree on which can go, so I've assigned the smallest group I think should take a look at this. Others are welcome to chime in.

@CGillen CGillen moved this from Ready to In Progress in Workcycle 8 Dec 3, 2019
@CGillen CGillen mentioned this issue Dec 3, 2019
@CGillen
Copy link
Contributor

CGillen commented Dec 3, 2019

Here's my attempt at removing gems: #879

  • devise-guest, we're not using guest user anywhere yet
  • jbuilder, we're not doing any JSON API building yet
  • net-http-persistent, we haven't opened any persistent http connections
  • debase* & ruby-debug-ide, needed for rubymine IDE integration, don't know if other developers are using rubymine
  • rails-controller-testing, we're not using assigns or assert_template expectations One controller spec uses assigns

Side notes:

  • shoulda-matchers was pinned to a branch and ~200 commits out of date. The branch has been merged several releases ago
  • coffee-rails is a requirement for Hyrax or one of its dependencies but hasn't been added to either gemspecs
  • listen is a requirement of puma but isn't part of its gemspec

@jechols jechols changed the title Look at the current rails configuration and trip dev gems Look at the current rails configuration and trim dev gems Dec 3, 2019
@CGillen CGillen reopened this Dec 6, 2019
@CGillen CGillen moved this from In Progress to Ready in Workcycle 8 Dec 11, 2019
@jechols jechols moved this from Ready to In Progress in Workcycle 8 Dec 17, 2019
@jechols
Copy link
Contributor

jechols commented Dec 19, 2019

The only thing I can do here is remove a gem we still end up with. haml is required by some dependency, but we don't actually use it. I figure we may as well ditch it so we aren't implying it's in use by us directly, and we get to remove it from the stack if our dependency changes.

My only other change was that I commented @CGillen's findings directly in the Gemfile so they aren't lost.

@jechols jechols moved this from In Progress to Done in Workcycle 8 Dec 19, 2019
@jechols jechols closed this as completed Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Configuration Issues for configuring Hyrax Dependencies Pull requests that update a dependency file Features Issues related to building and enhancing features
Projects
No open projects
Workcycle 8
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants