HNHacker News
TopNewBestAskShowJobs

paul_h

99 karma · joined January 10, 2014

submissionscomments
paul_h··on Trunk-Based Development
Quite correct.

Snap-CI is configurable to test every active branch, on first commit/push - https://trunkbaseddevelopment.com/game-changers/#snap-ci-s-p...

Of course doing that will expose problems that lead the dev team to reconsider Trunk Based Development.

paul_h··on Trunk-Based Development
> Those have release branches.

Some Trunk Based Development teams do "branch for release" https://trunkbaseddevelopment.com/branch-for-release/ and some do "release from trunk" https://trunkbaseddevelopment.com/release-from-trunk/

Google gave numbers themselves - 95% of their devs are in one big trunk (formerly perforce, but re-written in-house in 2012). It's true that the open source facing teams are outside that, and have processes that are less lock-step than what they do in-house.

Android - Samsung, on each release (maybe not anymore), used to check all the composite parts of Android into one big trunk for themselves. Back into their Perforce.

> If you're making Google Chrome, you don't.

There's nothing stopping the Chrome team from doing Trunk Based Development on Github, and accepting unsolicited pull requests like any other team.

paul_h··on Trunk-Based Development
Many of Google's 25000 Trunk-Based-Developers use Git on their local deevloper workstations. They choose their own workflow on their own machine, and then cooperate with the Mondrian submission rules when attempting to get their commit(s) through code review and automated tests/lint/findbugs etc.
paul_h··on Trunk-Based Development
So I'm saying given Google do Trunk Based Development (https://trunkbaseddevelopment.com/game-changers/#google-shar...) with that many committers, any size team can do it.
paul_h··on Trunk-Based Development
Which two poster children?

Trunk Based Development is also "all work in feature branches that live for less than a day or two". One small difference to Github-flow though: https://trunkbaseddevelopment.com/alternative-branching-mode...

paul_h··on Trunk-Based Development
https://trunkbaseddevelopment.com/youre-doing-it-wrong/#mere...

Subversion having that TBT thing made it easy for people to respond 'yes we're doing trunk based development' when they're not

paul_h··on Trunk-Based Development
Publications promoting Trunk Based Development include the best-selling book called Continuous Delivery - https://trunkbaseddevelopment.com/publications/
paul_h··on Trunk-Based Development
SemanticMerge mentioned on the site: https://trunkbaseddevelopment.com/game-changers/#plasticscm-.... It got it's name after I blogged about it too - http://paulhammant.com/2013/02/14/features-i-would-love-sour... - and am still owed a beer.
paul_h··on Trunk-Based Development
Small teams like Google's 25000 devs and QA automators? :)
paul_h··on Trunk-Based Development
One of the authors here. Ask questions :)
paul_h··on Google's vs. Facebook's Trunk Based Development
Feature toggles (and Branch by Abstraction) can figure, yes. Facebook do dark launches, which is related - http://www.facebook.com/note.php?note_id=96390263919

Developers, if they are local branching, are not marshaling long running 'in progress' changes there. By habit they're working on something that's going to hit the trunk after a matter of hours or a day or three. They might flip to a new branch for a defect fix (and push that), before coming back to the thing they were working on.

paul_h··on Google's vs. Facebook's Trunk Based Development
I myself am never going to argue for Mainline - http://paulhammant.com/2013/12/04/what_is_your_branching_mod...
paul_h··on Google's vs. Facebook's Trunk Based Development
Yes, you can still rebase to one commit in a Trunk model. Git-Svn and Perforce's Git-Fusion allow you to knock yourself out with DVCS (squash, local-branches) before you dcommit / push back to the canonical repo.
paul_h··on Google's vs. Facebook's Trunk Based Development
Click the "Trunk Based Development" category. This article is in a series that has spanned a decade.
paul_h··on Google's vs. Facebook's Trunk Based Development
Subversion could do it with sparse-checkouts, but there is a huge gap in capability between it and P4 :- http://paulhammant.com/2014/01/06/googlers-subset-their-trun...
← PreviousPage 4 of 4