Book description
Software development often goes wrong. Very wrong. Trunk-based development (TBD) not only eases the problem, but it helps you make things go very well. In this report, independent technical coach Clare Sudbery explains how TBD has become a technique that many professionals advocate enthusiastically—and one that, for many developers, is essential for continuous integration.
Still, TBD isn't a technique you can adopt lightly. It's very effective for developers who collaborate closely but not very appropriate for open source projects. In order to reap the benefits of TBD, there are several associated practices you need to learn and adopt first. This report helps you get started.
You will:
- Learn about several problems that TBD can handle successfully
- Explore several code integration issues that TBD can help your team manage
- Learn how to write code in tiny chunks, create tests in tandem with code and run them when you commit, and write code designed to be merged several times a day
- Explore the human factor and learn techniques to help avoid the debilitating effects of guilt and shame
- Learn how TBD gets you fast feedback about your code
Table of contents
- 1. Introduction: What Is Trunk-Based Development?
- 2. Why Does Trunk-Based Development Make Things Better?
- 3. How Do You Practice Trunk-Based Development?
- 4. The Human Factor
-
5. But What About...
- How Can I Get My Code Reviewed Without Branches and Pull Requests?
- What If I Need Branches and Pull Requests for Regulatory Compliance?
- What If I Want to Create Short-Lived Branches?
- Won’t Frequent Integrations and Merges Just Slow Me Down?
- What If We Need Branches Because…
- What If My Colleagues Don’t Want to Practice TBD?
- Conclusion
- About the Author
Product information
- Title: What Is Trunk-Based Development?
- Author(s):
- Release date: June 2023
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098146641
You might also like
book
How to Make Things Faster
Slow systems are frustrating. They waste time and money. But making consistently great decisions about performance …
audiobook
Difficult Conversations
You have to talk with a colleague about a fraught situation, but you're worried that they'll …
book
The Art of Agile Development, 2nd Edition
Most companies developing software employ something they call "Agile." But there's widespread misunderstanding of what Agile …
book
Street Coder
Computer science theory quickly collides with the harsh reality of professional software development. This wickedly smart …