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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
54
PostgreSQL in real life
coopdevs
1
130
PostgreSQL Workshop
coopdevs
1
100
Katuma i Open Food Network, Gestió de Sistemes d'Informació
coopdevs
0
50
OFN Sobtec 2019
coopdevs
0
59
Open Food Network FOSDEM 2019
coopdevs
0
98
Assemblea de Katuma
coopdevs
1
20
FESC 2018 sostenibilitat projectes tech
coopdevs
1
88
Viability and Open Source
coopdevs
0
76
Other Decks in Programming
See All in Programming
Feature Toggle は捨てやすく使おう
gennei
0
390
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
Claude Code Skill入門
mayahoney
0
450
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
160
20260315 AWSなんもわからん🥲
chiilog
2
180
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
160
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
260
Java 21/25 Virtual Threads 소개
debop
0
310
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.1k
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
220
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
280
飯MCP
yusukebe
0
440
Featured
See All Featured
Design in an AI World
tapps
0
190
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
320
Automating Front-end Workflow
addyosmani
1370
200k
AI: The stuff that nobody shows you
jnunemaker
PRO
4
500
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Mind Mapping
helmedeiros
PRO
1
140
Marketing to machines
jonoalderson
1
5.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
510
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
94
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