This seems like an odd problem, but I'm not as familiar with Git as I should be. Is there not a reasonable way to download only the most recent version of these large binary files on the initial request, and then download the historical versions only in the (likely very rare) case that the user actually wants to use them? This would seem more useful in this case than hoping that binary diffs the repository small enou…
If you're talking about binary files merged into Git itself (not Git LFS, which is a separate mechanism), you can use "git clone --depth " to get only the latest revisions of the tree, and then use "git pull --unshallow" if you need to fetch the rest of the history.
GitHub’s Large File Storage is no panacea for Open Source
61–66 of 66 posts
Re: GitHub’s Large File Storage is no panacea for Open Source
#62Earlier quoted context omitted.
If you're talking about binary files merged into Git itself (not Git LFS, which is a separate mechanism), you can use "git clone --depth " to get only the latest revisions of the tree, and then use "git pull --unshallow" if you need to fetch the rest of the history.
Can I do that automatically so that only binaries are fetched shallow, and text is fetched deep? Otherwise it's not very useful.
Re: GitHub’s Large File Storage is no panacea for Open Source
#63Re: GitHub’s Large File Storage is no panacea for Open Source
#64Earlier quoted context omitted.
OK, those are maybe a little vicious, and probably not entirely fair. Still, the implication of not being able to fork a whole project from github if you use LFS is a pretty big deal.
I'd hate to see the blog post you call vicious. Does it need f-bombs? Death threats? I think what you mean is that it is not unjustifiably vicious.
But I didn't write the article. I was just kinda jumping on the "hey Github could potentially do shitty things if we aren't careful" bandwagon. I'm definitely not anti-Github. I think they've built a great product. I'm a paying customer with private repos.
Re: GitHub’s Large File Storage is no panacea for Open Source
#65Earlier quoted context omitted.
Except that's not a "pull request".
Except it is. Just cause github does pull requests differently doesn't mean you can't do pull requests in pure git. Remember, git came before github.
That's exactly my point. Using a "request-pull" instead of a "pull-request" will probably mean you can do this git-lfs thing with it. My understanding was that it was not working with "forked" repositories, which you need to have to make a "pull request". To make a "request pull" (or to just send a patch file), you don't need to "fork". ;)
Re: GitHub’s Large File Storage is no panacea for Open Source
#66Earlier quoted context omitted.
Its not that I believe good forever, but rather that I think it (it being your first comment) was a weird way to take the conversation. Like, why did that even occur to you in this context?
I left some of the early parts of my thought process out of the conversation. My thought process went something like this: "This is a feature that is currently, probably accidentally, causing vendor lock-in for github users, as there is no easy way to take a project in its entirety back out of github, if it has enabled this feature. That kind of lock-in has been used in the past, by vendors across a wide spectrum, fo…
I thought the OP noted that MS also offers git+LFS (and for free)!