3 ms·
Does monorepo mean that if I checkout Google Wave, I also checkout the GMail source too?
by x86_64Ubuntu 5y ago
Does monorepo mean that if I checkout Google Wave, I also checkout the GMail source too?
- esprehn 5y agoSort of, the google3 monorepo is so large that all checkouts are sparse checkouts. So you have a virtual checkout of everything but specify the subset you actually need. Once you have the tooling to do this you can use the monorepo to store all kinds of interesting things, like built artifacts or the contents of the CDN, since it's basically just a giant hierarchical KV store with a global version.
- spullara 5y agoYes. And if you improve something used by both of them and have to refactor across the source tree you can do that in a single commit. https://cacm.acm.org/magazines/2016/7/204032-why-google-stores-billions-of-lines-of-code-in-a-single-repository/fulltext https://cacm.acm.org/magazines/2016/7/204032-why-google-stor...
- suhas_rd 5y agoyes