[wix-devs] Repo Reorganization II: Segmented Mono-Repo

Rob Mensching rob at firegiant.com
Thu Apr 8 12:41:14 PDT 2021


I am finally preparing the "segmented mono-repo" (a single repository with top-level directories for each component of the WiX Toolset), as per https://www.firegiant.com/blog/2021/3/4/wix-online-meeting-207-highlights/

> We agreed in principle that we could recombine the WiX v4 micro-repos into one mono-repo, with each former micro-repo as a top-level directory. What remains as an exercise for the reader is how we can still accomplish the goals of enforced code layering with the ability to "build the world" and get a single change throughout multiple projects atomically.

To maintain the history in each micro-repo, I will first commit a top-level directory that matches the name of the micro-repo and move all the micro-repo's content under that top-level directory. This (redundant) top-level directory in the micro-repo will be its "segment" in the mono-repo. Introducing the segment in the micro-repo allows me to merge into the mono-repo with all the history from the micro-repo.

I have a bit of final experimentation to complete before I start committing top-level directories. If you have changes to a micro-repo, best to let me know what repositories you are working in so we can coordinate getting your changes committed before the migration of those micro-repos.



More information about the wix-devs mailing list