Monorepo support [SG-14535]

Marc Strapetz 4 years ago updated 3 years ago 3

Support for possibly huge "mono repositories", by:

  • offering a "shallow" clone of the repository
  • selectively fetching projects from the repository, using Git's "sparse checkout" feature and "partial clone" feature
  • limiting Log graph (and dependent views) to such a fetched project

Support should be implemented in a subtle way to not complicate the GUI for the majority of "plain" repository users.

Related topics:

Please comment on this topic about your monorepo size:

  • Number of projects
  • Number of commits overall (git rev-list --all --count)
  • Number of files in HEAD overall (git ls-tree -r HEAD | grep -c "")

ca 65 projects, ca 220k commits, ca 22k files in HEAD overall

340 projects, 30k files, 6k commits

Basic partial clone support is present now. For details, have a look at my today's comment at: