Live data from Hacker News

Trunk-Based Development

trunkbaseddevelopment.com

61–70 of 210 posts

Re: Trunk-Based Development

#61
post #17

Puppet Labs’ recently published State of DevOps (2016) report specifically calls out trunk-based development as a leading indicator of high performing organizations [1]. [1] https://puppet.com/resources/white-paper/2016-state-of-devop...

Amount of info required to download free report makes it not free. Can you quote?

All you have to do is enter an email address. It doesn't even have to be a real email.

Re: Trunk-Based Development

#64
post #5

This is what I do when I can get away with it. Suitable for smallish teams. All developers sit in the same branch; changes and conflicts are visible (and resolved) immediately. All work takes place there including bug fixes. When we branch out for release; the focus is on disabling unwanted features. Actual development work + "hardening" is done in the main trunk before the branch.

Small teams like Google's 25000 devs and QA automators? :)

Re: Trunk-Based Development

#65
post #25

Earlier quoted context omitted.

How many commits do you do in a day? The hardest part is figuring out how to do this without a map.

On a big team, potentially 100's. But if your delivering all commits regardless of branches, why even have branches?

Because they're still useful? A branch is a useful tool for the developers who know their development process includes pushing to and pulling from branch "xyz" while they develop whatever feature they're tasked to develop. That they don't solve every problem doesn't bother me.

Re: Trunk-Based Development

#66

Correct me if I'm wrong but isn't this just a form of centralised version control? If this is a better approach for many teams, perhaps this an indication that DVCS weren't the silver bullet they were hyped up to be. Aside from that, in my opinion the whole centralised version control vs. decentralised version control, and all the variants thereof, miss the bigger issue. Keeping track of the history of a file, and th…

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.

Re: Trunk-Based Development

#67
post #22

> Trunk Based Development is a key enabler of Continuous Integration, and by extension Continuous Delivery. Quite false. How do you expect developers to take you seriously when you essentially say "you can't properly do CI/CD with your current approach"? I sure am enjoying CI/CD right now. Trunk-based development seems to rely heavily on feature flags, which are a huge source of complexity and inconsistency. Even whe…

Publications promoting Trunk Based Development include the best-selling book called Continuous Delivery - https://trunkbaseddevelopment.com/publications/

Re: Trunk-Based Development

#68
This workflow, like all others, is just a formalization of some reality. The reality is that many organizations and teams run on nothing but trunk - and it more-or-less works on them. Some teams work by building blocks separately and then joining them together; other prefer to hammer away on a problem all together. Both approaches work. What worries me are emotional claims that the other approach is fundamentally flawed, or that some git workflow is The One True Way.

I've seen feature branches get stuck in review for weeks. I've seen trunk-only developers not knowing how to merge a branch back to trunk. I've seen trunks brought into a state of disarray and never fixed again. I've seen svn-only devs get completely bogged down and confused by a git wofkflow.

Trunk-only is a reality. Not a reality some of us would want to live it - but one that nevertheless exists.

Re: Trunk-Based Development

#69
post #68

This workflow, like all others, is just a formalization of some reality. The reality is that many organizations and teams run on nothing but trunk - and it more-or-less works on them. Some teams work by building blocks separately and then joining them together; other prefer to hammer away on a problem all together. Both approaches work. What worries me are emotional claims that the other approach is fundamentally fla…

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

Re: Trunk-Based Development

#70
Yup, as the other comment stated, this is par for the course in modern quality software development. Its actually rather shocking to me to see my comment get downvoted. The quality of the HN audience is declining dramatically. Feels like all we have is a bunch of web agency lifers at this point.
Post reply on HN