News for hackers. Stuff that matters.
Re:Abandon your DVCS and return to sanity by deeviant on Tuesday March 03, 2015 @01:43PM (#9139660)
> Not in portable computers. I can get a TB, but that's it. I have build artifacts that clock in at about 300 - 500 MB and I'd version control them if possible. I can't, because that would fill my disk within a couple of month, so I have to push them to a server and somehow link them.

Why in the world would you check in build artifacts into source control, especially those that clock in at 300-500 MB?

Re:Abandon your DVCS and return to sanity by Crito on Tuesday March 03, 2015 @02:23PM (#9139960)
Because you are accustomed to centralized version control systems that do not punish you for doing something that dumb, and refuse to learn new tools when you are forced to use them.

Anyone checking in 500MB artifacts into git is almost certainly refusing to use git correctly.

It is like somebody who grows up using hand tools, gets handed a power drill, then tries to use it like a pry-bar. You should not use a screwdriver as a pry-bar, that is an abuse of the tool. Nevertheless, many people abuse screwdrivers as pry-bars because conventional hand screwdrivers tolerate this practice.

Re:Abandon your DVCS and return to sanity by Xylakant on Tuesday March 03, 2015 @02:36PM (#9140064)
Thanks for assuming I'm an idiot without knowing the constraint I'm trying to fulfill ;)
Re:Abandon your DVCS and return to sanity by erikb on Tuesday March 03, 2015 @03:51PM (#9140652)
After a few days please review that comment of yours. Could anybody in an internet conversation really know all details of your constraints?

Maybe, maybe(!) there is an argument were you would need to version huge binaries which you could generate out of the same already versioned sources, but even if there is, there are methods to backup huge blobs, and git is simply not one of them.

Re:Abandon your DVCS and return to sanity by Xylakant on Tuesday March 03, 2015 @04:02PM (#9140724)
> Could anybody in an internet conversation really know all details of your constraints?

No - nor do they need to. But everybody on the internet could just assume that _I_ know them and refrain from saying that "I'm doing something dumb" and "refuse to learn new tools". So I'd also ask you to review the comment of yours - you're doing the same thing - you imply that "Maybe, maybe(!)" there might be a use-case, so as a matter of fact you doubt I did review and choose my tools.

I reviewed my comment, and I'm at peace with it.

Re:Abandon your DVCS and return to sanity by s73v3r on Tuesday March 03, 2015 @06:49PM (#9141627)
In that case, why did the parent poster assume anyone trying to check in a large binary file is "an idiot"?
Re:Abandon your DVCS and return to sanity by erikb on Wednesday March 04, 2015 @04:58AM (#9143458)
The "idiot" part of course is wrong. But if you understand a technology and then use it for something it is explicitly bad at, than it's objectively a bad idea. The chance is very low that you would not be able to solve a binary sharing/backup problem with another tool that's made for these tasks.
Re:Abandon your DVCS and return to sanity by Crito on Tuesday March 03, 2015 @02:47PM (#9140150)
> "almost certainly"

You might have a legitimate reason for putting 500MB artifacts into a git repo, but I reeeaaally doubt it.

It is a poor craftsman who blames tools that he is intent on misusing.

Re:Abandon your DVCS and return to sanity by Xylakant on Tuesday March 03, 2015 @03:05PM (#9140321)
You're putting words in my mouth that I did never say. I'm not blaming git for anything nor do I consider git a bad tool. I'm using git for practically all my versioned data. I just don't consider it the tool that needs to solve all cases where I - legitimately or not - want to version data. A good craftsman should have more tools at his disposal than just a blunt hammer.

So you can doubt my use case but I consider it severely impolite to pretend that you know better. Actually you're quite nicely illustrating one of the points in the article.

Re:Abandon your DVCS and return to sanity by wtallis on Tuesday March 03, 2015 @03:19PM (#9140407)
And you're still not even trying to offer a real explanation, just engaging in a flamewar.
Re:Abandon your DVCS and return to sanity by Xylakant on Tuesday March 03, 2015 @03:46PM (#9140614)
It's all discussed further down in the tread, and I gave as much info as I could. I'm not at liberty to discuss details in public - nor do I need to.

Further down on the page somebody else also mentions a legitimate use case to version-control large binaries (needed for comparison). Another use-case I've seen is version control rendered video output and keep the comments and metadata attached to the versions. Works just fine with SVN, fails hard in git. Yet another use case for a system that handles binaries better is what the rubygems folks do - they vendor all gems that a particular version of rubygems.org depends on so they can bootstrap without rubygems.org being available. They built a custom solution using multiple git repos which works for their use-case (it's been discussed on rubygems). Arguably, having a system where versioning large amounts of binary data works better than in git would have prevented that issue.

So there are use-cases that are ill-suited for what git can and cannot do - and just because I say I have one I get to be called a bad craftsman by someone who doesn't know the least bit about what I'm trying to do?

And now you're saying that I engage in a flamewar when I point out that I consider that an insult? Please note that I have not insulted Crito.

Re:Abandon your DVCS and return to sanity by s73v3r on Tuesday March 03, 2015 @06:52PM (#9141653)
The real explanation is that someone would want to version binary data. Like say, images. The parent poster claimed that anyone who would want to version binary data is an idiot.
Re:Abandon your DVCS and return to sanity by sgustard on Tuesday March 03, 2015 @05:40PM (#9141295)
The original article addresses this.

"These are large, opaque files that, while not code, are nevertheless an integral part of your program, and need to be versioned alongside the code if you want to have a meaningful representation of what it takes to build your program at any given point."

Re:Abandon your DVCS and return to sanity by pyre on Tuesday March 03, 2015 @06:30PM (#9141542)
In this case, git isn't the right tool for the job. Large gaming companies, IIRC, use Perforce for this reason.