Re:Fossil versus Git
by Culonavirus on Saturday September 23, 2023 @08:30AM
(#37622691)
Not in gamedev where you can have hundreds of gigs of art assets (models, textures, audio...), but you still want to version them or even have people working on them at the same time (maps...). But that is a different can of worms entirely.
[ Parent
| on HN ]
Re:Fossil versus Git
by nightfader on Saturday September 23, 2023 @08:36AM
(#37622724)
That's what object storage with versioning turned on is for e.g. GCS or S3
Re:Fossil versus Git
by sausagefeet on Saturday September 23, 2023 @08:43AM
(#37622748)
Why use git at all then? Just use an object store with versioning turned on.
Re:Fossil versus Git
by nightfader on Saturday September 23, 2023 @08:47AM
(#37622778)
Because git excels in relatively small size text files and patching and difficult. You can't binary blobs like jpegs, audio, video easily.
Re:Fossil versus Git
by sausagefeet on Saturday September 23, 2023 @05:06PM
(#37627558)
But that's my point: why can't a version control system be good for this as well? It's the same thing underneath. Why do we have to split these different use cases across different tools and hope a foreign key constraint holds?
We've got lots of disk-backup tools that handle this just fine, deduplicating blocks and compressing where they're able.
Re:Fossil versus Git
by gchamonlive on Saturday September 23, 2023 @08:47AM
(#37622780)
Although blob storage work well for versioning, you have to make heavy use of the underlying proprietary API to get these versions, and I am not quite sure you can do more complex operations, like diff and bisect between those versions the way you could with git.
git is for when you want to track changes to part of a file.
In your scenario, you just want to track different versions of a file.
You can equally say that git is for when you want to track changes. And then it's a failing of git.
Besides, what's the difference? It's a file. The contents changed. Git doesn't say anything at all along the lines of "30% or more different means it's not a good fit for git".
You can certainly use git, but then the model used to apply patches from different branches doesn't work for binary blobs.
So all the things that git specializes in are actually things you don't want.
[delayed]
Re:Fossil versus Git
by firesteelrain on Saturday September 23, 2023 @08:49AM
(#37622798)
Then use a binary repository like Artifactory which has LFS support. You can still version them in git- just don’t store them in there
> Then use a binary repository [...] You can still version them in git- just don’t store them in there
So git works, as long as you include things that aren't git to handle what it can't.
Stockholm syndrome really blinds people
Re:Fossil versus Git
by firesteelrain on Saturday September 23, 2023 @05:51PM
(#37627877)
Not sure if you were agreeing with me or not BUT I run into this often where people do not use the right tools and try to make one tool fit every CM scenario. SharePoint sucks but it has its place. Along with Artifactory/Nexus
Indeed I have 3D assets in this case. Would this be done differently in an enterprise that has all kinds of tools to manage specialty workflows? Sure. Do I want to spend my days configuring and maintaining some binary blob / LFS storage system? No.
I’ve migrated a lot of projects from fossil to git eventually, but I dare say they never would have made it that far, had I started out with more friction, including fighting vcs tools.