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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
81
Other Decks in Programming
See All in Programming
AI時代になぜ書くのか
mutsumix
0
220
Kingdom of the Machine
yui_knk
2
1.4k
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
140
継続的な負荷検証を目指して
pyama86
1
710
when storing skills in S3 file
watany
3
1.4k
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
330
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
My daily life on Ruby
a_matsuda
3
190
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
120
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
390
Making the RBS Parser Faster
soutaro
0
670
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.6k
Featured
See All Featured
We Are The Robots
honzajavorek
0
220
Designing Experiences People Love
moore
143
24k
Automating Front-end Workflow
addyosmani
1370
200k
Unsuck your backbone
ammeep
672
58k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
120
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
33
WENDY [Excerpt]
tessaabrams
10
37k
Accessibility Awareness
sabderemane
1
110
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
The Limits of Empathy - UXLibs8
cassininazir
1
320
Are puppies a ranking factor?
jonoalderson
1
3.4k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
300
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