3 ms·
Wait so like, at google, Inbox and Android are in the same repo as ChromeOS and oh I dunno, Google Search? That doesn't make any sense at all...
by komali2 9y ago
Wait so like, at google, Inbox and Android are in the same repo as ChromeOS and oh I dunno, Google Search? That doesn't make any sense at all...
- andreasklinger 9y agoUnsure if all their clients are in the same repo as well but even if… Why doesn't this make sense. I personally think of a repo as of an index not a filesystem. You checkout what you need but there is one global constant state - which can eg be used for continuous integration tests
- TylerE 9y agoIt makes total sense when the expectation is that any engineer in the company can build any part of the stack at any time with a minimum of drama.
- bitJericho 9y agoThis just blew my mind. I'm gonna go home and see about combining all my projects. That seems very useful!
- bronson 9y agoYou don't have the same requirements as Google.
- bitJericho 9y agoWhat are my requirements such that this wouldn't work for me?
- mkj 9y agoIt makes things tricky if you want to opensource just one of your projects.
- rleigh 9y agoWell, there's always "git filter-branch". Not that I'd want to run it on such a mega-repository; it takes long enough running it on an average one with a decade of history.
- therealdrag0 9y agoIt makes sense to have separate repos for things that don't interact. But when your modules or services do. Having them together cuts out some overhead.
- dvdcxn 9y agoWhat's dramatic about copy and pasting a clone uri into a command?
- TylerE 9y agoA url? Not much. 100 urls? That's getting a bit annoying.
- jvolkman 9y agoAndroid and Chrome are different, but most of Google's code lives in a single repository. 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...
- sbuttgereit 9y agoSome of the rationale.... 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...
- c8g 9y agoAndroid is in a separate repo.
- uiri 9y agoYes, Inbox, Maps, Search, etc. are all in one repo in a specialized version control system. Android, Chromium, and Linux (among others, I'm sure) are different in that they use git for version control so they are in their own separate repos.