Moving from GitHub to Codeberg, for lazy people
4 hours ago
- #Codeberg
- #Migration
- #GitHub
- Migrating repositories from GitHub to Codeberg is easier than perceived, especially for issues, pull requests, and releases which can be imported directly with preserved metadata.
- Codeberg offers GitHub Pages alternatives like codeberg.page, grebedoc.dev, and statichost.eu, though with no uptime SLO.
- CI migration is challenging due to GitHub's free macOS runners and unlimited capacity for public repos; solutions include cross-compilation and self-hosting Forgejo Actions runners.
- Forgejo Actions is recommended over Woodpecker CI for those familiar with GitHub Actions due to similar UI and YAML syntax.
- For macOS runners, one can mirror commits to GitHub and sync CI status back to Codeberg, though this is complex.
- Archiving the GitHub repo and updating the README is a simple approach to handling the old repository, with options to disable features or auto-close PRs.