Closed jupiter007 closed 4 weeks ago
DMPOpidor has upgraded their fork of the DMPRoadmap codebase to 7.1. There is an outstanding PR in the shared repo we can use as reference: https://github.com/DMPRoadmap/roadmap/pull/3426/files
This ticket is just investigation of what's needed for now, will make additional tickets for the work once that's done
Did some reading of the official Rails upgrade guide for 6.1 to 7.0 and noted the following:
button_to
sprockets-rails
to the Gemfile. See if its necessary by running rails assets:precompile
without it firstrails schema:dump
and reviewThe 7.0 to 7.1 docs:
@rails/ujs
is imported for both the standard Rails JS and the React pilot project pagesI think a reasonable plan of attack for the upgrade will be to:
bundle install
bundle update
and yarn upgrade
to update all dependenciesrails assets:precompile
to make sure the assets can build
There was some info shared on the #dmptool Slack channel that the Merritt team discovered Rails 6.1 has reached End of Maintenance.
Ruby on Rails, https://rubyonrails.org/2024/10/15/new-maintenance-policy-and-eol-annouments, announced that Rails is providing one last security release for 6.1, and that it's crucial to upgrade to a supported version, 7.2, as soon as possible.