Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
cherry-pick 運用は大変...
Search
mst-nsh
November 03, 2023
420
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
cherry-pick 運用は大変...
過去に経験したcherry-pickの運用方法について思ったことを共有した。
mst-nsh
November 03, 2023
Transcript
8 slides
cherry-pick 運用は大変...
cherry-pickとは $ git cherry-pick xxxxabc123
運用例 develop上のPRマージコミットをpickする
メリットって何だろう? リリースしたい部分だけリリースしながら、 即リリースしないが今後必要になりそうな部分の開発を進めて テスト反映・動作確認することができる。
でも運用は大変 ・どのPRをdevelopにマージ済みか・リリースしたかを管理するのが大変。 全PRとマージ・リリースしたPRのわかる管理表が必要になる。 ・staging反映作業時に、PRコミットのpick忘れも起きやすい。 ・develop環境とstaging,prod環境で異なるコード箇所が増える。 ・コンフリクトが起きやすいため、 cherry-pick後にコンフリクト修正作業が発生する。
どうしても運用するには ・develop,staging,masterの内容を定期的に統一する。
例のcherry-pick運用をどう思いますか? ・大変でリスクもあるので、おすすめできない。 ・テスト確認後にマージ済みの一部機能をリリースしない場合は、 その機能のリバートしてからリリースしたほうが良さそう。 ・長期で運用を導入する場合は、 運用しやすい環境整備・準備や覚悟をもって、やる必要がある。
参考文献 ・cherry-pick 運用の地獄から這い上がった話をしよう (https://zenn.dev/noraworld/articles/cherry-pick-operation)
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Faster Mobile Websites
deanohume
310
32k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Designing Powerful Visuals for Engaging Learning
tmiket
1
660
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
630
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k