Re:The largest Git repo
by komali2 on Wednesday May 24, 2017 @01:24PM
(#14411735)
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...
[ Parent
| on HN ]
Android 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-stor...
It 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.
What's dramatic about copy and pasting a clone uri into a command?
A url? Not much.
100 urls? That's getting a bit annoying.
Re:The largest Git repo
by bitJericho on Wednesday May 24, 2017 @02:12PM
(#14412156)
This just blew my mind. I'm gonna go home and see about combining all my projects. That seems very useful!
Re:The largest Git repo
by therealdrag0 on Friday May 26, 2017 @04:31PM
(#14426927)
It 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.
You don't have the same requirements as Google.
Re:The largest Git repo
by bitJericho on Wednesday May 24, 2017 @06:52PM
(#14414063)
What are my requirements such that this wouldn't work for me?
It makes things tricky if you want to opensource just one of your projects.
Well, 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.
Re:The largest Git repo
by sbuttgereit on Wednesday May 24, 2017 @01:38PM
(#14411839)
Some of the rationale....
https://cacm.acm.org/magazines/2016/7/204032-why-google-stor...
Yes, 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.
Re:The largest Git repo
by andreasklinger on Wednesday May 24, 2017 @01:27PM
(#14411764)
Unsure 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