News for hackers. Stuff that matters.
Re:When hiring developers, have the candidate read existing ... by Manuel_D on Friday April 15, 2022 @10:50PM (#31048883)
https://trunkbaseddevelopment.com/trunk1c.png

So trunk driven development means no PRs, until you decide you want to use PRs?

Re:When hiring developers, have the candidate read existing ... by Izkata on Saturday April 16, 2022 @05:16AM (#31050911)
Trunk-based development, as I've seen it explained in the past, isn't what that site describes. The way I understood it is, no branches at all, everything committed straight to trunk, and extensive use of feature flags to keep incomplete features hidden.

Short-lived branches like that site's describing just sounds like a team that's adopted git pretty well, but not formalized usage into gitflow or similar...

Re:When hiring developers, have the candidate read existing ... by iampims on Saturday April 16, 2022 @09:51AM (#31052320)
It’s trunk driven because there aren’t some long lived branches like ‘dev’ and ‘staging’ or ‘release-xx’

Feature flags can be used to gate features until they are ready, but all code is committed to trunk and is deployed to prod mostly continuously.

Re:When hiring developers, have the candidate read existing ... by dgb23 on Saturday April 16, 2022 @07:06AM (#31051400)
What’s the benefit of having release branches without commits if you can just use tags? I guess the difference is mostly cosmetic?
Re:When hiring developers, have the candidate read existing ... by the_gipsy on Saturday April 16, 2022 @05:23AM (#31050945)
It's optional, I guess because so many companies or teams would immediately discard TBD if this wasn't addressed.