This thread will serve as a progress report for the Spree upgrade.
Continued from Spree Upgrade: Purpose and Strategy
This step consists of biting off the first 133 commits out of 2308 needed to reach
Time thus far: 24 hours (includes project research and planning)
Failing specs remaining: 4
Failing specs: 0
Find the number of the previous commit:
gl 2-0-stable~2175 # 432d129
Get SHA of next commit to base off:
gl 2-0-stable~2075 # 46e60c9
- controllers (customer)
- controllers (admin)
- features (customer)
- features (admin)
All specs green 4-11-2016
Merged: Due to the testing effort required, we’ll merge every 5 steps.
- Tracking down permission errors, a pry in
cancan/lib/cancan/controller_additions.rb authorize!was helpful.
- Modified Spree’s
ResourceController#load_resourceto authorize with symbols, not strings:
authorize! params[:action].to_sym, @object
- Upgraded jquery (via jquery-rails) to 1.9, to fix compatibility with ng-tags-input.
Step 3 and beyond
Step 1 - 21
100 commits each
Last 75 commits
Upgrade directly to 2.1
Upgrade directly to 2.2