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
What Is Domain-Driven Design?
The majority of software projects are delivered late or over budget, or they fail to meet …
audiobook
Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
Data is at the center of many challenges in system design today. Difficult issues need to …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Tidy First?
Messy code is a nuisance. "Tidying" code, to make it more readable, requires breaking it up …