-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
[Spree 2.1] Prepare and estimate upgrade to Spree 2.1 #3565
Comments
Current status: It's only one commit updating to spree 2-1-0-stable, rails 4 and a few others. Currently, trying to run I am stuck with errors like this. I dont know how to fix these:
|
these need to be solved by carefully investigating each case and appending the gems to the |
After a few tries, I decided to give a plain |
I have just learned that: |
Nice, thanks for the gist! A possible todo list from it:
But for the most part of it, I must be missing something, for example, in the last one, spring. Why is spring (= 1.7.2) a problem for spring-commands-rspec that requires spring (>= 0.9.1)? 1.7.2 is greater than 0.9.1. I dont really understand this error either:
|
I managed to get to a working Gemfile by commenting out a bunch of gems in #3627. We can start from there by investigating each of the conflicting ones. |
thank you! I made some progress today on top of your work :-D Branch stateI merged my initial effort (was 2-1-stable) and your PR #3627 plus more things I did today. It's now all in one single commit in the ofn/2-1-stable branch: Run Local ServerI am currently able to create the DB and start the server locally. if I try to load the website I get a segmentationfault on pg adapter.... |
re testing, I locked factory_bot to 4.8.2 and the tests are now running 🎉 shall we start the broken specs count down again? 🤣 It's all broken in the same error, I'll have a look now. |
to improve the build, I put some fixes to adapt to rails 4. they are all in ofn/2-1-stable Now the build is breaking with foreign keys errors that I do not see when running the specs locally. any idea? |
We now have a branch with the app and the tests running. |
ok, 3-0-stable is rebased, we are ready to go. With all pending PRs we have 278 broken specs in this branch. Closing this issue. |
What we should change and why (this is tech debt)
We will upgrade to spree 2.1 at some point probably soon. v2.1 brings rails 4.
See discourse thread for context:
https://community.openfoodnetwork.org/t/spree-upgrade-go-live-on-v2-0-4-or-move-further-to-2-1-0/1534/4
We need to make the spree 2-1-0-stable branch work (bundle install is broken) and then branch ofn 2-1-stable (from ofn 2-0-stable) and make it use this spree 2-1-0-stable.
The objective of this issue is to have bundle install working on both spree and ofn 2-1 and we see a build in semaphore for it.
The state of the build will help us estimate the effort involved in getting 2-1 live.
Impact and timeline
Rails 4 ❤️
The text was updated successfully, but these errors were encountered: