Closed ErikBjare closed 7 years ago
I've done some more reading on git subrepo
(here's a good introduction) and getting increasingly optimistic about it.
Would have to try it out to see if it's as good as it seems.
Edit: I don't think we'll use it. submodule
works good enough and has good support. I also discovered that Qt5 uses submodules.
I just realized that git submodule summary
exists.
With it you can even do git submodule summary <commit>
to get a list of all commits in submodules since some commit/tag. Very useful to be able to do things like git submodule summary v0.7.0b1
.
Closing since the tasks are done. I'm still thinking about the pros and cons, but lets settle this for now.
Holy shit, just found out about this gem from an article: git config --global status.submoduleSummary true
With it you get nice submodule info whenever you git status
. No idea how I could have missed it.
So, I've been thinking a bunch about our multirepo strategy and its gone pretty back and forth.
My thoughts so far:
Tooling to develop:
This is just some thoughts I wanted to get out there, I think the multirepo/monorepo discussion is an interesting configuration management issue and I definitely want to learn more.