CI / test (push) Canceled after 0s
Set up the codeberg-to-gitea-migrator project: Python package with src/ layout (hatchling, ruff, pytest), GPL-3.0-or-later license, CITATION.cff, README, ADRs for stack/license/forge, and DOX-structured AGENTS.md. Add Gitea Actions CI. The package is a stub; migration modules land in follow-up commits.
879 B
879 B
codeberg-to-gitea-migrator
Migrate repositories (code, issues & PRs, releases & assets, labels & milestones) from Codeberg (Forgejo) to a self-hosted Gitea instance.
What it migrates
- Code —
git clone --mirror+ push (branches, tags). - Issues & PRs — via the Forgejo → Gitea migration APIs (comments, labels, assignees).
- Releases & assets — releases plus attached binaries.
- Labels & milestones — recreated in the target repo first.
Requirements
- Python ≥ 3.11
gitonPATH
Getting started
python -m pip install -e ".[dev]" # install (editable, with dev extras)
pytest # test
ruff check . # lint
ruff format --check . # format check
License
GPL-3.0-or-later — see LICENSE.