3 ms·
> If you can make a fixture that is substantially smaller on the outside, you can just check it into version control instead of having to fiddle with generating
by kadoban 3y ago
> If you can make a fixture that is substantially smaller on the outside, you can just check it into version control instead of having to fiddle with generating them or storing them in some external store, where they tend to rot.
You _can_ check fairly large files into version control without any real issues, especially if you're aware of the limitations.
For example, in git, if you have a 20GB file that never (or rarely) changes, it'll work great. The only real reason to avoid that would be if most people who clone the repo won't need that file, or if your repo host (eg github) gets mad.
There's certainly times you'd want to avoid it and find other solutions, but it should be a tool in the box when needed IMO, and a lot of people just don't even consider it.
- cebert 3y agoGit LFS isn’t a bad route to go either.