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
0
46
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
Tweet
Share
More Decks by Coopdevs
See All by Coopdevs
Models de negoci a projectes amb codi obert
coopdevs
2
52
PostgreSQL in real life
coopdevs
1
130
PostgreSQL Workshop
coopdevs
1
100
Katuma i Open Food Network, Gestió de Sistemes d'Informació
coopdevs
0
47
OFN Sobtec 2019
coopdevs
0
59
Open Food Network FOSDEM 2019
coopdevs
0
95
Assemblea de Katuma
coopdevs
1
20
FESC 2018 sostenibilitat projectes tech
coopdevs
1
87
Viability and Open Source
coopdevs
0
74
Other Decks in Programming
See All in Programming
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
MUSUBIXとは
nahisaho
0
130
並行開発のためのコードレビュー
miyukiw
0
160
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
240
CSC307 Lecture 08
javiergs
PRO
0
670
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
180
CSC307 Lecture 03
javiergs
PRO
1
490
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
280
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
75
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Why Our Code Smells
bkeepers
PRO
340
58k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
Scaling GitHub
holman
464
140k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
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