3 ms·
Google is probably the most (in?)famous example of monorepo. All of their code is in a single monorepo. You can read a bit about the approach’s benefits and dr
by SOLAR_FIELDS 5y ago
Google is probably the most (in?)famous example of monorepo. All of their code is in a single monorepo.
You can read a bit about the approach’s benefits and drawbacks from someone at Google here: https://medium.com/@Jakeherringbone/you-too-can-love-the-monorepo-d95d1d6fcebe https://medium.com/@Jakeherringbone/you-too-can-love-the-mon...
- x86_64Ubuntu 5y agoDoes 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