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.
This commit is contained in:
1 parent
ddca225fde
commit
601cf4c41e
19 files changed
+1125
No files matched your search
@@ -1 +1,30 @@
|
||||
# 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).
|
||||
Reference in new issue
Block a user