-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rails Upgrade #23
Comments
blocked by #21 - Shana to have a convo with Steven. Which tool is better and why? Prod dev is using bootboot. |
Implementation suggestions: per https://www.youtube.com/watch?v=eiQutUYn_9A upgrade to the next minor version at a time (5.1 => 5.2 => etc), then
Test Failure strategies - break it up:
|
example of gemfile + notes w Steven if ENV['DEPENDENCIES_NEXT'] && !ENV['DEPENDENCIES_NEXT'].empty?
# gem 'rails', '~>5.2'
# hit every version
# fix deprecation warnings => sql string to where or joins method should be wrapped in a call to arel.sql (per rails 6)
# update all gems other than rails to the latest as possible to deploy smaller PRs of those changes
# so that it's not like you upgraded rails and 30 gems and don't know which one was the issue
# group the dependencies. big ones like hyrax, do them on their own. smaller ones can be grouped.
# this process makes it easier to test.
# at the end update rails.
# look up blog articles and release notes for each version for any gotchas and breaking changes => rails guides.
# some depdendecy upgrades will be blocked by a rails version, so this process will be repeated multiple times.
# active storage or new features? otherwise not much has changed in core rails
#
# continual? ok to leave it indefinitely and use for upgrading any gems.
# deploy - ci can build different images, can deploy it to staging. deploy image during an offtime and roll back if needed.
# have devs work under next but test on current.
#
else
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.1.5'
end |
this required us to upgrade the gemspec of hyrax-batch_ingest ref: samvera-labs/hyrax-batch_ingest#152 and sony_ci_api was switched to main instead of v1.0 |
This commit will upgrade the application from Rails 6.0 to 6.1. It will also update Bulkrax to a custom branch that has a fix for Rails 6.1. Ref: - scientist-softserv#23
Summary
Do initial rail upgrade from 5.1.6 to 6.1
Acceptance Criteria
Screenshots or Video
Testing Instructions
Notes
watch out for protected attributes
Gem list
Handle separately
bundle update 'blacklight_advanced_search', '~> 6.4.0'
bundle update 'hydra-role-management', '~> 1.0'
bundle update 'hyrax', '~> 2.9.0'
bundle update 'rails', '~> 5.1.5'
bundle update 'sidekiq'
Update first
bundle update 'activerecord-nulldb-adapter'
bundle update 'aws-sdk-codedeploy'
bundle update 'aws-sdk-s3'
bundle update 'bixby' # bixby == the hydra community's rubocop rules
bundle update 'capybara-screenshot'
bundle update 'capybara', '~> 3.0'
bundle update 'carrierwave', '~> 1.3'
bundle update 'coffee-rails', '~> 4.2'
bundle update 'curb'
bundle update 'database_cleaner'
bundle update 'devise-guests', '~> 0.6'
bundle update 'devise'
bundle update 'dotenv-rails'
bundle update 'factory_bot_rails', '~> 4.0'
bundle update 'faker'
bundle update 'fcrepo_wrapper'
bundle update 'httparty', '~> 0.21'
bundle update 'jbuilder', '~> 2.5'
bundle update 'jquery-rails'
bundle update 'letter_opener'
bundle update 'listen', '>= 3.0.5', '< 3.2'
do we need to update past 3.2?bundle update 'mysql2', '~> 0.5.3'
bundle update 'nokogiri'
bundle update 'puma', '~> 4.3'
updated to 6.3.0bundle update 'pry-byebug', platforms: [:mri, :mingw, :x64_mingw]
bundle update 'rails-controller-testing'
bundle update 'react-rails'
bundle update 'redis', '~> 4.0'
bundle update 'redlock', '~> 1.0'
updated to 2.0.2bundle update 'rsolr', '>= 1.0'
bundle update 'rspec_junit_formatter'
bundle update 'rspec-activemodel-mocks'
bundle update 'rspec-its'
bundle update 'rspec-rails', "~> 3.7"
bundle update 'rspec', "~> 3.7"
bundle update 'sass-rails', '~> 5.0'
bundle update 'selenium-webdriver'
bundle update 'shoulda-matchers'
bundle update 'simple_form', '5.0.0'
bundle update 'solr_wrapper', '~> 2.1'
bundle update 'turbolinks', '~> 5'
bundle update 'uglifier', '>= 1.3.0'
bundle update 'web-console', '>= 3.3.0'
bundle update 'webdrivers', '~> 4.0'
bundle update 'webmock', '~> 3.7'
bundle update 'webpacker'
bundle update 'xray-rails'
bundle update 'bootstrap-multiselect-rails'
currently at (0.9.9)Don't update
bundle update 'bulkrax', git: 'https://github.com/samvera-labs/bulkrax.git', ref: '23efea3fd9d8d98746b73e570e0dc214ff764271'
bundle update 'hyrax-batch_ingest', git: 'https://github.com/samvera-labs/hyrax-batch_ingest'
bundle update 'pbcore', '~> 0.3.0'
bundle update 'sony_ci_api', github: 'WGBH-MLA/sony_ci_api_rewrite', branch: 'v0.1'
bundle update 'willow_sword', git: 'https://github.com/notch8/willow_sword.git'
The text was updated successfully, but these errors were encountered: