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
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.2k
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
CSC307 Lecture 06
javiergs
PRO
0
690
並行開発のためのコードレビュー
miyukiw
0
170
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
200
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
Package Management Learnings from Homebrew
mikemcquaid
0
220
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
280
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
130
SourceGeneratorのススメ
htkym
0
200
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
94
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
140
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
Faster Mobile Websites
deanohume
310
31k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
82
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
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