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
140
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
890
My Open Source Journey
juanitofatas
1
3.1k
NSDanger
juanitofatas
1
170
How to build deppbot
juanitofatas
3
580
Introducing Danger
juanitofatas
0
320
Twemoji 3.0 in the making and announcement beyond SG50
juanitofatas
0
710
Ruby Asia and dat bacon cannon
juanitofatas
1
250
Update Early, Update Often
juanitofatas
1
1.1k
RSpec for Practical Rubyist
juanitofatas
11
810
Featured
See All Featured
Music & Morning Musume
bryan
46
6.6k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
The Cost Of JavaScript in 2023
addyosmani
51
8.4k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
920
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Gamification - CAS2011
davidbonilla
81
5.3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
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