Re:Monorepoize – Bash scripts for creating a monorepo out of...
by Kipters on Monday April 27, 2020 @06:50AM
(#22994666)
> I wonder which company successfully runs a monorepo in git.
Microsoft
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by bdcravens on Monday April 27, 2020 @12:50PM
(#22997541)
Worth noting that due to the size of the Windows repo, they ended up having to extend git significantly
https://devblogs.microsoft.com/bharry/scaling-git-and-some-b...
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by koonsolo on Monday April 27, 2020 @07:33AM
(#22994836)
For which product is this? It can't be all of them right?
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by jedieaston on Monday April 27, 2020 @08:46AM
(#22995278)
Windows is in one repo at Microsoft, I believe.
https://devblogs.microsoft.com/bharry/the-largest-git-repo-o...
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by vorpalhex on Monday April 27, 2020 @10:28AM
(#22996122)
Yeah but they basically wrote their own wrapper around it, which is to say Microsoft has fallen into one of their usual patterns:
1. Picking a trendy tool
2. Mis-using trendy tool
3. Rewriting trendy tool so it's no longer trendy tool but something custom and not quite standards-compliant with it's own weird behaviors and bugs
4. Complain the standard is wrong
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by Kipters on Monday April 27, 2020 @01:44PM
(#22998066)
They wrote a wrapper around it because git took so much time for every basic operations, even a `git status` would take minutes. But still it's not a fork, you can either use it or not without impacting anyone else using the repo. And they also made it available to everyone, as how good open source citizens should do.
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by pjmlp on Monday April 27, 2020 @07:41AM
(#22994879)
Microsoft does definitely use git, monorepo I am not so sure.
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by wikibob on Monday April 27, 2020 @07:49AM
(#22994915)
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by pjmlp on Monday April 27, 2020 @08:42AM
(#22995251)
That doesn't say that everything related to Windows is developed on the same repo, just the kernel and several core components.
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by foobarian on Monday April 27, 2020 @11:11AM
(#22996572)
How did I miss this! Can you imagine someone claiming Windows is going to be in git as few as 10 years ago? This world never ceases to amaze me. What happened to SourceSafe?
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by oblio on Tuesday April 28, 2020 @09:36AM
(#23006793)
SourceSafe was never used for anything internal major. They had their own custom source control system, based on Perforce, I believe, and then on TFS and then they switched to git.
SourceSafe was something inflicted on SMBs :-D
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by foobarian on Tuesday April 28, 2020 @10:55AM
(#23007584)
Interesting, didn't realize that. I haven't worked there but knew some people who did, and they were very proud of dogfooding - I guess at least the OS and IDEs, though maybe not the VCS.
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by Kipters on Monday April 27, 2020 @10:24AM
(#22996090)
There have been many posts in their tech blogs about why they chose a monorepo
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by dangoor on Monday April 27, 2020 @09:07AM
(#22995436)
Khan Academy has a monorepo in git. With 10 years of history in it, it's not always pleasant but does come with some advantages.
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by bdcravens on Monday April 27, 2020 @12:47PM
(#22997510)
I've been looking at that approach. We have a large "app" that has a lot of boundaries (parts even being in different languages), but everything is run (love being able to docker-compose up my entire stack) and deployed in unison. However, it does make for a messy single repo.
Re:Monorepoize – Bash scripts for creating a monorepo out of...
by michaelmcmillan on Monday April 27, 2020 @08:11AM
(#22995042)
> I wonder which company successfully runs a monorepo in git.
Google. They're not using git, but their own scm: https://research.google/pubs/pub45424/
For me, I prefer git submodules, which seem to have the benefit of both monorepo and separate repo's.