@sinbad@mastodon.gamedev.place
Post #2296798
2026-04-22 19:02 UTC
One weird thing I found after the Gitea upgrade: I was re-testing the backup scripts and discovered that “gitea dump” now for some reason produces a completely uncompressed zip file. I was puzzled to see my dump file go from 4GB to almost 50GB (and this doesn’t include LFS)
Replies (1)
-
@sinbad@mastodon.gamedev.place 2026-04-22 19:05
I dug into their code because I’m pretty familiar with Go, it looks like they replaced their archive code with an external module, and it doesn’t bother to compress zip by default, with no args seemingly exposed to change that. I just changed my scripts to tar.bz2 to work around it - I don’t think was an option before so that’s probably why they switched implementations - but still, a weird one considering zip is the default. Maybe no-one has noticed or everyone just uses gz/bz2 now