GitLab-to-Gitea migration tools

I recently switched from a self-hosted GitLab CE instance to self-hosted Gitea. The faster startup time (GitLab needed somewhere around 3 minutes to start up after updates) and reduced memory footprint are definitely nice.

It took a bit to figure out the best way to migrate 400+ repos from GitLab to Gitea. Doing each one manually wasn’t going to cut it. I eventually figured out enough of each service’s APIs to knock this together. I cleaned it up for public consumption and put it up here:

https://git.alfter.us/salfter/gitlab-to-gitea-tools

Maybe someone else will find it useful.

1 Like