Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn about git-toprepo, a solution that combines git-submodules on the server side with a monorepo experience on the client side through this 26-minute conference talk. Discover how this approach leverages Gerrit's submodule tracking to maintain separate projects on the server while providing developers with the convenience of working in a single repository locally. Explore how users can make single commits across multiple projects and perform cross-project operations like git-rebase, git-merge, and git-bisect, while reviewers can handle cross-project changes using topics in Gerrit. Understand the advantages of this hybrid approach, including individual access control for submodule projects and the ability to ignore history from removed submodules, as well as its limitations such as client-side-only commit IDs that aren't reflected server-side. Gain insights into how git-toprepo functions as an ergonomic, client-side alternative to git-subtree and integrates effectively with Gerrit and Zuul CI workflows, making it an ideal solution for organizations that need monorepo benefits without full organizational commitment to the monorepo structure.
Syllabus
git toprepo: Monorepo when your company won't let you
Taught by
OpenInfra Foundation