↓ Skip to main content

Git

Self-Test: How Trunk-Based Is My Workflow?

·7 mins
My idea of trunk-based development was naive: every commit straight to main, branches frowned upon. Research showed that short-lived branches with review are the norm and release branches are explicitly provided for. This self-test asks twenty questions about what actually happens in a team’s daily work and rates, following trunkbaseddevelopment.com, how far the practices of trunk-based development are in place: branch lifetime, integration, reviews, unfinished features, CI, local build, red trunk, code freeze, code ownership, story size and release readiness. The result is a degree of adoption with hints at possible bottlenecks, not a grade; questions and weighting reflect my current state of research.

Checking in the Gradle Wrapper or Not?

·4 mins
The gradle wrapper can download and verify a specified version of gradle for a project without the need of a local gradle executable. The gradle documentation suggests to check it into the VCS (version control system, e.g. git). This article discusses the advantages and disadvantages of keeping the gradle wrapper in a VCS and presents an alternative.