News for hackers. Stuff that matters.
Re:Monorepo or Multirepo? Role-Based Repositories by jayd16 on Saturday October 12, 2019 @02:27PM (#21235153)
Whats the current state of git submodules? It seems like you could get some of the benefits of mono-repos in that you can reference dependency projects directly like a mono-repo. You can, in theory, treat many projects like a single code base.

I don't see it used very often though. Why not?

Re:Monorepo or Multirepo? Role-Based Repositories by avisser on Saturday October 12, 2019 @02:50PM (#21235327)
Even with submodules it's still a PR per repo. Global, atomic changes are super powerful.
Re:Monorepo or Multirepo? Role-Based Repositories by likeliv on Saturday October 12, 2019 @04:25PM (#21235968)
There is another tool called git-subtree that should solve these problems, I think. But I've never seen it in use
Re:Monorepo or Multirepo? Role-Based Repositories by Skunkleton on Sunday October 13, 2019 @01:45AM (#21238588)
git subtree is just a wrapper around subtree merges, I don't think they solve the same problem as submodules.
Re:Monorepo or Multirepo? Role-Based Repositories by jayd16 on Saturday October 12, 2019 @03:19PM (#21235540)
Good point! Hmm. Maybe git(hu|la)b could solve this with some kind of pull request batching.
Re:Monorepo or Multirepo? Role-Based Repositories by vogre on Saturday October 12, 2019 @04:40PM (#21236079)
Because if some change requires you to make commits to 3 repos, submodule approach will require to make 4 commits instead. Very annoying.