-
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
ruby 2.7.2 and rails 7 upgrade #979
Conversation
@yksflip First of all: Thanks for all your work on this!! 😊 Then one question related to the reviewing process: Would it be possible to do the rubocop autofixes (changed due to the rubocop upgrade) in a separate PR? (That new PR could be easily merged without much review as rubocop's autofixes are fairly stable afaik. It would also make this PR - the actual ruby & rails upgrade - easier to review.) |
How can we move forward with this and all related MR? I think it is more difficult to merge this if the development continues and the MRs and the master branch diverge more and more. Maybe we can ask some Foodcoops which are using the global hosting to use a testing instance with these MR to get more Feedback? And maybe we can fund some work to solve all related conflicts if it's a lack of time? |
hey! |
With Ruby 2.7.8 the 2.7 series reached EOL. Maybe this is a good topic for the next community call. |
not sure if i understand correctly .. so there are still a lot rubocop violations that need to be autofixed .. I think it would make sense to do it in this PR, but in a seperate commit. I think for reviewing you can select what commits to display, so one could disable the rubocop commit ... The changes that are already in here are needed for syntax reasons I think. |
why is software aging so fast? 😅 |
chore: fix api test conventions chore: rubocop -A spec/ chore: more rubocop -A fix failing test rubocop fixes removes helper methods that are in my opinion dead code more rubocop fixes rubocop -a --auto-gen-config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a quick scan, looks ok to me in general. Most important thing is that it works in practice, including the different parts of the application. Since most coops don't use each and every feature, it's important to be fully aware of all nooks, ideally testing happens by multiple groups with different approaches. That said, I have confidence that this upgrade is fine, and would work, so a new release noting "you may want to wait upgrading until the next minor version" would probably work as well.
One question about CORS.
In any case, you've done a great work, thank you so much!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super, thanks for your quick update! :)
This PR has the required changes for the ruby and rails upgrade, see #956
it'd make sense to first merge these:
happy for any comments or ideas how we can proceed with this! :)