# codeberg-to-gitea-migrator Migrate repositories (code, issues & PRs, releases & assets, labels & milestones) from [Codeberg](https://codeberg.org) (Forgejo) to a self-hosted [Gitea](https://about.gitea.com) 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 - `git` on `PATH` ## Getting started ```sh 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](LICENSE).