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.
31 lines
879 B
Markdown
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).
|