I understand the theory behind Monorepo but it always just rubs me the wrong way.
Cthulhu: Organizing Go Code in a Scalable Repo
11–17 of 17 posts
Re: Cthulhu: Organizing Go Code in a Scalable Repo
#12Re: Cthulhu: Organizing Go Code in a Scalable Repo
#13I understand the theory behind Monorepo but it always just rubs me the wrong way.
Having to reverse engineer CI/CD (or find someone who used to work on a project) to find where something came from is nuts. It should be as easy as search.
Re: Cthulhu: Organizing Go Code in a Scalable Repo
#14Earlier quoted context omitted.
I find them appealing because orchestrating lots of git repos is such a mess.
IMO the solution is git submodules. The problem with submodules mostly is the horrible workflow and the missing tool integration. Varying dependencies could result in separate parent repos that contain different subsets of submodules. A simple script can fix tooling: first commit the submodule changes then create the parent repo commit.
Another problem is that one forgets to update submodules when switching branches. Afaik git does not do this because of possible data loss in submodules?
I like submodules in general. They are great for dependencies where you want to follow more closely than release version. Still, it would be even easier in a monorepo. The main reason is probably that every anti-dependency is visible.
Re: Cthulhu: Organizing Go Code in a Scalable Repo
#15IA IA IF ERR != NIL FTAGHN
Re: Cthulhu: Organizing Go Code in a Scalable Repo
#16Nothing good can come of naming a project `cthulhu`.