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
Coopdevs
May 09, 2018
Programming
47
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
59
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
79
Other Decks in Programming
See All in Programming
Google Nest CamとApple Vision frameworkと猫🐈🐈⬛ / onishi50
yutailang0119
0
110
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
130
Coding as Prompting Since 2025
ragingwind
0
830
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
380
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
330
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
770
第3木曜LT会 #28
tinykitten
PRO
0
110
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
260
의존성 주입과 모듈화
fornewid
0
140
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
330
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
240
How Swift's Type System Guides AI Agents
koher
0
260
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
400
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
160
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
The browser strikes back
jonoalderson
0
970
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
210
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.6k
How to train your dragon (web standard)
notwaldorf
97
6.6k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
730
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