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
Continuous Updates
Search
Juanito Fatas
May 20, 2016
0
120
Continuous Updates
Continuous Updates @ Rails Pacific 2016 <3
Juanito Fatas
May 20, 2016
Tweet
Share
More Decks by Juanito Fatas
See All by Juanito Fatas
Data Migration with Confidence
juanitofatas
3
840
My Open Source Journey
juanitofatas
1
2.9k
NSDanger
juanitofatas
1
160
How to build deppbot
juanitofatas
3
540
Introducing Danger
juanitofatas
0
270
Twemoji 3.0 in the making and announcement beyond SG50
juanitofatas
0
600
Ruby Asia and dat bacon cannon
juanitofatas
1
220
Update Early, Update Often
juanitofatas
1
990
RSpec for Practical Rubyist
juanitofatas
11
750
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
32
1.8k
Code Review Best Practice
trishagee
64
17k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
41
2.1k
For a Future-Friendly Web
brad_frost
175
9.4k
A Philosophy of Restraint
colly
203
16k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
[RailsConf 2023] Rails as a piece of cake
palkan
51
4.9k
Building Adaptive Systems
keathley
38
2.2k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
GraphQLとの向き合い方2022年版
quramy
43
13k
Transcript
CONTINUOUS UPDATES Update Early x Update Often #RailsPacific 2016
5
None
None
Juanito Fatas from Taiwan Jolly Good Code EFQQCPU
None
None
None
None
GEMFILE GEMFILE.LOCK BUNDLE INSTALL Manage Dependencies HFNTSC HFNTMPDLFE JOUSPEVDFEJOQSF
$ bundle update
How often do you update? !!
LATER EQUALS NEVER
Winston Teo Practice of updating all dependencies to newer versions
several times a month. Organiser, RedDotRubyConf
Benefits of Continuous Updates
INCREMENTAL IMPROVEMENTS
FIX SECURITY VULNERABILITIES
REDUCE TECHNICAL DEBT
MAKE FUTURE UPGRADE EASIER
DEVELOPER DISLIKE LEGACY GEMS
MAINTAINER LOVE BUGS FROM NEW RELEASES
CONTINUOUS LEARNINGS FROM GEM UPDATES
SHIP LATEST SOFTWARES
Sounds good but how to do?
bundle update add, commit, push open a new PR on
GitHub.com Issue the Pull Request Manually
~ 10 mins
☕
From idea to script
today = Time.current.strftime("%F") new_branch = "bundle-update-#{today}" `git checkout master` `git
pull` `git checkout -b #{new_branch}` `bundle update` `git add Gemfile.lock` `git commit -m ‘Bundle Updates’ `git push origin #{new_branch}` `git pull-request -m "Updates #{today}"
Notification Services
None
None
They only tell you, you still need to do the
work.
Still not automated
Fully Automated Service
None
Bundle Updates
None
None
None
None
None
None
None
Security Updates
None
None
None
None
None
deppbot is your Active Support
https://www.deppbot.com 5061 Pull Requests Sent 407 hours Engineering Time Saved
Update Early
Update Often
"Continuous Updates"
#MakeRubyGreatAgain http://blog.testdouble.com/posts/2016-05-09-make-ruby-great-again.html Hopefully