Files
codeberg-to-gitea-migrator/README.md
T
AlexKucera 601cf4c41e
CI / test (push) Canceled after 0s
chore: bootstrap project scaffold
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.
2026-08-11 09:46:13 +02:00

31 lines
879 B
Markdown

# 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).