Replay git (mirror + LFS), labels, milestones, issues & PRs (with comments), and releases (with assets) entity-by-entity over the shared Forgejo/Gitea REST API. Two-pass issue/PR creation rewrites #NNN and URL cross-references to the target number space; deleted-branch PR heads are recreated as refs/heads/_pr/<n>. CLI: codeberg-to-gitea migrate owner/name (CODEBERG_TOKEN/GITEA_TOKEN) Verified end-to-end on AlexKucera/helm: 283 issues, 1 PR, 19 labels, 219 comments, git history, with cross-refs correctly rewritten.
1.1 KiB
1.1 KiB
Changelog
All notable changes to this project will be documented in this file. The format is based on Common Changelog and this project adheres to Semantic Versioning.
[Unreleased]
feat
- migrator: working Codeberg → Gitea migration via
codeberg-to-gitea migrate. Mirrors git (code, history, tags, LFS) and replays labels, milestones, issues & PRs (with comments), and releases (with assets) entity-by-entity over the shared Forgejo/Gitea REST API. Two-pass issue/PR creation with#NNN/URL cross-reference rewriting to the target's number space; deleted-branch PR heads recreated asrefs/heads/_pr/<n>. Tokens viaCODEBERG_TOKEN/GITEA_TOKEN;--repo owner/name(or bare name).--delete-existingfor clean re-runs.
chore
- project: bootstrap scaffold — Python package (
src/layout, hatchling, ruff, pytest), GPL-3.0-or-later license, Gitea Actions CI, CITATION.cff, README, ADRs, and DOX-structured AGENTS.md. - deps: add
httpx,typer; addcodeberg-to-giteaconsole script.