2026-01-16 17:29:33 +08:00
2026-01-15 13:00:47 +08:00
2026-01-15 13:00:47 +08:00

ghbackup-to-gitea

Import GitHub backup issues into Gitea.

Expects backup data from python-github-backup.

Requires patched Gitea for original author support (see patches/).

Usage

ghbackup-to-gitea <backup_dir> <gitea_url> <owner> <repo> <token> [--user-map FILE]

The --user-map option accepts a JSON file mapping GitHub usernames to Gitea usernames:

{
  "github_user1": "gitea_user1",
  "github_user2": "gitea_user2"
}

Mapped users are assigned as issue/comment authors. Unmapped users appear as ghost accounts.

Description
Import GitHub backup issues into Gitea.
Readme 47 KiB
Languages
Python 100%