Backup Git Repo?

Is there an official backup/mirror of the git repo? It seems GitHub is beginning to tighten their rules around “adult content” and it seems it would be good to have a backup plan.

https://archive.is/eNOI1

There isn’t an official mirror at this time.

@feederbox826 has an unofficial mirror https://git.feederbox.cc/stashapp.

1 Like

I have a project that pulls all new projects with any of the stash keywords, I try to mirror everything I can except projects fully LLM since they tend to constantly refactor and use disproportionate amounts of commits and storage

1 Like

Oh and critically, there is also Directory - 719bf60/ - HEAD - origin: https://github.com/stashapp/stash – Software Heritage archive

hosted by Software Heritage

Is anyone backing up issues, discussions and PRs? In my experience those are the things you actually lose when GitHub decides to nuke a repository. A copy of the git repo can usually be recovered with the help of an active developer.

gitea doesnt support it, it’s extremely difficult to do otherwise

Maybe it would be possible to store the raw responses of some of these API calls in the hopes that we never actually have to stitch them together.

But Gitea actually can import that. At least, issues and PRs. This is a screenshot from an old version of Gitea (1.19.3).

one-time migration Sync issues, PRs, labels, milestones, comments from GitHub mirrors by harryzcy · Pull Request #20311 · go-gitea/gitea · GitHub