Files
codeberg-to-gitea-migrator/CHANGELOG.md
T
AlexKucera ab43b0311e feat: implement Codeberg → Gitea repo migrator
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.
2026-08-11 11:12:06 +02:00

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 as refs/heads/_pr/<n>. Tokens via CODEBERG_TOKEN/GITEA_TOKEN; --repo owner/name (or bare name). --delete-existing for 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; add codeberg-to-gitea console script.