Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
OFN's Spree upgrade catch up
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Coopdevs
May 09, 2018
Programming
48
0
Share
OFN's Spree upgrade catch up
These are the slides used to drive the meeting of OFN's dev team about the Spree upgrade
Coopdevs
May 09, 2018
More Decks by Coopdevs
See All by Coopdevs
Models de negoci a projectes amb codi obert
coopdevs
2
57
PostgreSQL in real life
coopdevs
1
130
PostgreSQL Workshop
coopdevs
1
110
Katuma i Open Food Network, Gestió de Sistemes d'Informació
coopdevs
0
52
OFN Sobtec 2019
coopdevs
0
60
Open Food Network FOSDEM 2019
coopdevs
0
99
Assemblea de Katuma
coopdevs
1
20
FESC 2018 sostenibilitat projectes tech
coopdevs
1
89
Viability and Open Source
coopdevs
0
81
Other Decks in Programming
See All in Programming
AIエージェントと協働するCLI開発 — BunとOpenClawで学んだこと
yoshikouki
1
230
New "Type" system on PicoRuby
pocke
1
400
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
1k
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
400
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
560
GitHub Copilot CLIのいいところ
htkym
2
1.2k
Lessons from Spec-Driven Development
simas
PRO
0
110
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
400
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
250
色即是空、空即是色、データサイエンス
kamoneggi
1
250
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.4k
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
1
390
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
WCS-LA-2024
lcolladotor
0
610
Side Projects
sachag
455
43k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
520
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
720
Are puppies a ranking factor?
jonoalderson
1
3.4k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
240
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
190
Transcript
Spree upgrade catch up
So far
Spree fork
Fixes from newer Sprees and OFN folks
Approach
gem 'spree', github: 'openfoodfoundation/spree', branch: 'step-6a', ref: '86bf...'
Moving ahead of master in batches of 100 commits
⾠ Upgrading to unknown states
At the very best, the tests were passing...
Proposal
2-0-stable branch
None
! the fork
Let's go for gem 'spree', ~> 2.0 !
that is 1656 commits and > 40 migrations ahead of
us
Smallest upgrade as possible
truth: the app fails fails until 2.0.8...
! we can backport the patch
Maintain the fork
own it and consider it part of the product
Just to give Spree the extensibility it didn't have in
2.0
Use best practices: CI, PRs, Code review
Stay away from it otherwise* *we might need to bring
in critical fixes, though
Enrico: Why not putting the hooks/abstraction in a separate gem?
Spree needs to be aware of them
Simpler to learn Spree than hacking it
APIs and tests vs Metaprogramming
Trade complexity for indirection
Check coopdevs/spree #6 and off/ofn #2256
Discuss