Resilience: keep a synced backup/mirror of the repo outside GitHub

Aperta
#1,079 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
git, github, github-actions

Direzione di ricerca

This is a process proposal, not a code change, and the maintainers have to decide whether to act on it. The only concrete file it names is CONTRIBUTING.md, where a note on mirror location could go, and it refers to the coordination thread #1006 and the README's no-game-files rule. Nothing here is ready for a newcomer to pick up; done would mean a maintainer decision plus any agreed documentation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

Leonida is a recompilation project for a commercial game, and the repo and its forks sit on a single host. If the repo were ever disabled (for example after a DMCA notice or a host policy decision), the history, issues and PR discussions, and many contributors' work could become unavailable at once. The README is clear that the repo contains no game files, keys or executables, but a takedown doesn't have to be well-founded to disrupt the project, and sorting one out can take a while.

This is a suggestion only. I'm not a lawyer, and I'm not able to do any mirroring or setup work myself, so I'm leaving it to the maintainers to decide whether and how to act on it. I'm raising it because I don't want contributors' hours lost.

Why this matters

  • Platforms generally disable a repo first and sort out disputes afterward. That can take weeks.
  • On GitHub, a notice against a repo can also take down its forks, which is where most contributors' in-progress branches live.
  • Git history can be restored from any clone, but issues, PR discussions, review comments and the coordination thread (#1006) cannot. Those would be lost with the repo.
  • Contributors have put in many hours (shader translation, semantic tests, tooling), so losing it would be costly.

Suggestions (any of these helps, in rough order of effort)

  1. Everyone keeps a full local clone (git clone --mirror or a normal clone with all branches and tags) and pushes work-in-progress somewhere they control. This costs nothing.
  2. A synced mirror on a second host (for example Codeberg, GitLab, or a self-hosted Gitea/Forgejo), updated on a schedule or via a GitHub Action or push hook. A private mirror works if a public one isn't wanted.
  3. Periodic export of the non-git data: issues, PR threads and the #1006 coordination thread, using the GitHub API or a tool such as github-backup, stored with the mirror.
  4. A short note in CONTRIBUTING.md or a pinned issue saying where the mirror lives and how to find the project if the main repo is unavailable.
  5. Longer term, the maintainers could consider whether the project's primary home should be somewhere else. That's their call, and I'm not asking for it here.

What I'm not asking for

  • No change to how the project handles game data. The existing rule (never commit or share game files, assets or generated shaders) already limits exposure, and a mirror should follow the same rule.
  • No rush. The first suggestion is free and doesn't change anyone's workflow.

Questions for the maintainers

  • Is there already a backup or mirror I've missed?
  • Is this something you'd consider, and if so, would you prefer a public or a private mirror?

Thanks for the project.

Lingua principale
Python
Stelle
14.9k
Fork
1.2k
Merge medio
1h 58m
PR unite (30g)
40

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ItsNotRexed/Leonida

Tutte le issue di ItsNotRexed/Leonida

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.