-
Notifications
You must be signed in to change notification settings - Fork 147
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
Upgrade Rails to 6.x #956
Comments
In context of our project for further developing foodsoft ( https://prototypefund.de/project/weiterentwicklung-von-foodsoft/ ) we are currently working on an pull request solving this issue. Best wishes, T. |
100% agree. i did the update from 4 to 5, but there were a lot of incompatibilities, which need (a) code changes and (b) extensive manual testing (since the test coverage is not super high). I'm looking forward to merging the tests from the yksflip fork into IMHO we should "directly" upgrade to the most recent rails version (similar to my 4.2 to 5.2 upgrade commits) Do you have people who are willing to do the manual testing? |
Hi paroga, We are currently working on an upgrade to Rails 7.x In the next days @yksflip will start a pull request with the test code we have written to raise the coverage making the upgrade a little more save. We are working together with a foodcoop willing to do manual testing in the field. Best wishes, |
Hey folks, gem 'twitter-bootstrap-rails' This gem supports rails 7, but comes with bootstrap 3, which makes code changes necessary anyways (for instance navbar and modal changed behavior). What do you think about using a different gem and go to bootstrap 5 straight away? regards |
I'd choose whatever gem is the most compatible and requires the least code changes. IMO you could choose whatever you think fits the most and you feel comfortable with, if you can ensure that it does not break anything of the existing code and you adopt the code of the whole repository to the new gem. PS: If you have already a working 6.1 version, it would be great to create separate pull request for the update to 6.0 and 6.1, so we can review them already. There are probably some code changes like 3ffdb42 or the switch to |
We froze the version of the bootstrap gem since there are the least code changes necessary. We decided to go straight for 7 and got separate rails 7 + ruby 2.7 and rswag branches, that should not conflict with the intermediate steps already merged to the master branch. Our future development and the PRs will be based on these changes. Currently we are trying to get a foodcoop to test our changes. We are wondering how we could work together with you until we can get the upgrade upstream. The funding will go until the end of February. Until then we can manage PRs. For further development we will use the upgraded foodsoft as base for features. best |
this would be my proposed steps to get the upgrade done:
Until these changes are merged we maintain a develop branch with the mentioned changes and use it as a base for further feature developments. We test all this merged together in this demo branch. Happy to chat about any ideas how we could get some more traction on this whole thing :) One more big todo is a bootstrap upgrade (v2 -> v5) |
Foodsoft urgently needs an Rails upgrade since 5.2 is not supported anymore.
(see https://endoflife.date/rails )
Rails 6 will end soon so it will be only an intermediate step.
See also issue on ruby-version: #939
The text was updated successfully, but these errors were encountered: