News for hackers. Stuff that matters.
Re:Announcing GVFS: Git Virtual File System by oneplane on Friday February 03, 2017 @09:10AM (#13559855)
This is exactly what I was thinking when I read the article. There is no reason for any Git repo to be that big. It's not a bug in Git, but more like a reasonable limit... if your project exceeds it, you're doing it wrong.

I'm also curious as to how they used to do it without git, maybe using TFS? I wonder what the timings on that were.

Anyway, I don't think GVFS is the way to go, and I hope that it either doesn't get accepted or doesn't play a role outside of Windows. It's good to see more Git usage, but hacking away instead of fixing the problematic project seems somewhat idiotic. I can imagine other tools having problems with a single project that size, are they going to hack those as well?

Re:Announcing GVFS: Git Virtual File System by BugsJustFindMe on Friday February 03, 2017 @09:21AM (#13559929)
Ah, yes. The mating call of the wild elite computer expert.

Microsoft: "We, only one of most technologically advanced companies with only the 2nd or 3rd highest market cap of any public company on the planet depending on the day, had a problem with infrastructure trying to manage possibly the largest software project that anyone has ever made. And then we solved it."

You: "Stop doing what you're doing and pay attention to meeeeeeeeeeee."

Re:Announcing GVFS: Git Virtual File System by testUser69 on Friday February 03, 2017 @10:05AM (#13560212)
I think it's more naive to believe that large companies always make the right decisions. We see Microsoft make mistake after mistake (look at windows 8, windows vista). The only time they fix their mistakes is when they're made public.

So there is no reason to fix their mistake of a code base.

Re:Announcing GVFS: Git Virtual File System by ska on Friday February 03, 2017 @12:09PM (#13561295)
It would be naive to assume large companies always make the right decisions, which is why few people do that.

However, when you see that a large company is doing something in a way that you thing is silly or strange, the logical thing to ask first is "what do they understand that I don't understand?". It won't always be the case, of course, but most of the time it will turn out you were missing something.

Assuming off the bat that they are idiots and you know a better way is staggeringly naive.

Re:Announcing GVFS: Git Virtual File System by oz on Friday February 03, 2017 @02:50PM (#13562677)
>the logical thing to ask first is "what do they understand that I don't understand?".

There's even a name for this: "Going from D to C - from disparagement to curiosity". I think I first heard it from @patio11.

Re:Announcing GVFS: Git Virtual File System by patio11 on Saturday February 04, 2017 @01:22AM (#13565918)
Doesn't sound like the way I would phrase the thought, so I checked: http://www.kalzumeus.com/2012/09/17/ramit-sethi-and-patrick-... <-- Ramit said it here, although I suspect it might be older.
Re:Announcing GVFS: Git Virtual File System by ska on Friday February 03, 2017 @03:28PM (#13563013)
It isn't the snappiest label, but it does capture the idea well.
Re:Announcing GVFS: Git Virtual File System by CJefferson on Friday February 03, 2017 @10:29AM (#13560411)
But, it seems all large companies (Facebook, Google, Microsoft) are using a mono-repo, and no-one is publicly admitting to using many small repos.

If no company is using many small repos for truly massive projects, then it's hard to argue it would be a good idea. Could everyone who has looked at this problem make the wrong choice?

Re:Announcing GVFS: Git Virtual File System by Sacho on Friday February 03, 2017 @11:54AM (#13561158)
This is also mirrored by many not-so-big javascript projects, i.e. see the adoption of https://github.com/lerna/lerna
Re:Announcing GVFS: Git Virtual File System by keithlfrost on Friday February 03, 2017 @11:04AM (#13560722)
Note that Amazon is not on your list. They did not adopt the mono-repo approach. Their tools have their own advantages and disadvantages, to be sure, but mono-repo is not the only way.
Re:Announcing GVFS: Git Virtual File System by CJefferson on Friday February 03, 2017 @12:54PM (#13561675)
I hadn't heard about Amazon. That's good to know.
Re:Announcing GVFS: Git Virtual File System by krallja on Friday February 03, 2017 @10:54PM (#13565560)
Read Steve Yegge's Google vs Amazon rant: it's amazing.

https://plus.google.com/+RipRowan/posts/eVeouesvaVX

Re:Announcing GVFS: Git Virtual File System by aanm1988 on Friday February 03, 2017 @12:20PM (#13561396)
> no-one is publicly admitting to using many small repos.

Amazon. They built an entire system around managing versions so that they can make it work.

Re:Announcing GVFS: Git Virtual File System by klodolph on Friday February 03, 2017 @09:27AM (#13559970)
The problem with this argument is that it doesn't really explain why large repos are wrong. It turns out the choice between monorepo and multi repo does not have a one-size-fits-all answer. Microsoft can make their own tooling, and internal tools don't have to run outside of Microsoft so they're easier to develop.

Google reportedly used to use Perforce for their monolithic codebase, and Facebook is supposed to use Mercurial with a bunch of modifications. They all have huge code bases mostly in one repo (I've heard Facebook had a >50GB Git repository, and Google's codebase is supposed to be in the TB range).

Re:Announcing GVFS: Git Virtual File System by ctdonath on Friday February 03, 2017 @09:15AM (#13559891)
"640k is enough for anyone."
Re:Announcing GVFS: Git Virtual File System by CJefferson on Friday February 03, 2017 @09:28AM (#13559972)
I don't see why there should be limits.

I recently ran some experiments, one file per experiment, one result file per experiment. At around 100,000 files, git started getting very upset. Why shouldn't I be allowed to have 100,000 files, or a million files, in a directory? Why should it be my job, as a user, to manually rearrange my data into a format my computer is happier with?

Re:Announcing GVFS: Git Virtual File System by garysieling on Friday February 03, 2017 @09:31AM (#13559994)
Being able to use git for things it's not designed for would be a strength, e.g. it works great as a database for certain kinds of projects.

I put all the records for https://www.findlectures.com in it, because then I can use diff tools for testing changes. Obviously this is nowhere near the size of the Windows codebase, but I could see a world where GVFS would be helpful for collaboration on this project.