For anyone concerned about git repos on sr.ht being wiped by a bad actor's git push, just thought I'd set your minds at ease. git.sr.ht DOES use the same gc process as Gitlab, which means objects are removed as soon as you delete them, BUT I also take a full (encrypted) backup of all git repos every 5 minutes. I can restore anything from any point in time in cases like this. Same applies to hg.sr.ht.
@jacek I actually used to have an approach based on gpg that worked pretty well, and had some novel stuff for distributing encrypted backups across users to improve redundancy, but that was ill suited to sr.ht v2 (i.e. today's sourcehut). I use borg-backup for filesytem-level backups and I use streaming replication for postgresql backups
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!