The current OFN 2-0-stable depends on 2.0.4, soon we will have this branch working and ready for testing.
The next release to production of this branch will be OFN v2.0.0.
This thread serves to make two decisions:
- what spree version will OFN v2.0.0 depend on? we can go live with current spree 2.0.4 or continue to 2.1.0 before going live.
- what strategy will we follow to reach spree v2.1.0? Even if we make OFN 2.0.0 run on spree 2-0-4 (see decision above), we will need to afterwards continue the spree upgrade to v2.1.0.
Facts and previous discussion
Spree v2.0.4 and v2.1.0 were released almost at the same time. Spree v2.0.8 for example, was released 4 months after both.
The spree upgrade to rails 4.0.0 happens in spree 2.1.
Luis: “Will we go to 2.1.0 or 2.0.8 afterwards? how do we decide?”
Maikel: “Is it easier to upgrade to 2.1 from 2.0.4 or from 2.0.8? You probably can’t answer that. If the patches contained in 2.0.8 are in later Spree releases as well, then we should go to 2.0.8 first. But if it goes into a different direction, we don’t need to take that detour.”
Pau: “They started working on 2.1 while 2.0 was still new?” (correct)
“We need to carefully investigate what you say. I bet that from 2.0.4 onwards it’s about backports from 2.1”
Luis: “in jan 2014 they released 1.3.5, 2.0.8 an 2.1.4”
“example way of working at the time: https://github.com/spree/spree/issues/3906#issuecomment-27236417”
Pau: “nice, you can see how on on Sep 16, 2013 they released 2.0.5 AND 2.1.0. From there they kept v1, v2 and v2.1 in sync. All released they same dates”
“yes, exactly, that comment is a great example.”
Luis: "so, 2.0.5 and 2.1.0 were released on the same day (one month and a half after 2-0-4)
- 2.1.0 is 715 commits ahead of 2.0.4
- 2.0.5 is 148 commits ahead of 2.0.4
I compared by commit message and from these 148 commits, only 29 commits are not in 2.1.0, I have checked 2 of them: one was present in 2.1.0 in a diff commit (the change is includes in 2.1.0 but in a commit with more changes, unlike the commit with the same change in 2.0.5), the other one was introduced in 2.2.0.
I guess we need to do this analysis for all the 29 commits.
if all of them are like these 2 I looked at, we can go straight to 2.1.0" (because what’s on 2.0.5 are only backports from 2.1.0)"
Tasks and Decisions
So, assuming most code in 2.0.5-2.0.8 are backports from 2.1.0 as it looks like from my quick analysis, we will most probably go directly from 2.0.4 to 2.1.0. 715 commits.
The original question: what version are we going live with?
I believe we will go directly live with the current version, so OFN v2.0.0 running on Spree v2.0.4.
And afterwards we can start the upgrade to 2.1.0.
Should we make this decision like this or should we investigate 2.0.5-2.0.8 a bit more?