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

Abierto
#1,079 3 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
git, github, github-actions

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
14.9k
Forks
1.2k
Merge medio
1 h 58 min
PR fusionados (30 d)
40

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ItsNotRexed/Leonida

Todos los issues de ItsNotRexed/Leonida

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.