Attempt to Update Arclight
So basically this seems to be the upgrade workflow as I understand it so far (I'm not all the way through this yet):
-
run: rails generate arclight:update
for the current 0.5 version, since it doesn't look like we ran it when we upgraded from 0.4. This basically runs the installer for 0.5 and overwrites those files that are different. -
go through all the files that were updated/changed to make sure they didn't write over anything we customized, and manually merge all of these. -
Run yarn install if js dependencies changed. -
May need to Re-index ETDs if schema changed. -
Test to be sure everything still working. -
Update Ruby from 2.7.6 to 3.0.6, since the Arclight 1.0.1 requires 3.0.0+(This was already done in master) -
Update Rails from 6.1.7.3 to 7.0.8 since the Arclight 1.0.1 requires 7.0+ -
Update Blacklight to 8.0.x -
Then update the Arclight gem to 1.0.1, which also updates lots of other dependencies -
Then run rails generate arclight:update again -
Again go through all the files that were updated/changed to make sure they didn't write over anything we customized, and manually merge all of these. -
Run yarn install -
Re-index ETDs
resources:
Edited by Sean Purcell