Migrating all repos from github #2830

Closed
opened 2025-11-02 04:50:08 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @zachdoty on GitHub (Jan 28, 2019).

Just installed Gitea using docker-compose. Most painless experience ever :)

Looking forward to migrating from github... but I was wondering if there is any way to bulk-migrate all of my repos (public and private).

I see the migrate option. But that seems to only support a single repo at a time. Seems like supporting 1-click migration of all repositories would be a worthwhile feature to have to encourage more adoption.

Originally created by @zachdoty on GitHub (Jan 28, 2019). Just installed Gitea using docker-compose. Most painless experience ever :) Looking forward to migrating from github... but I was wondering if there is any way to bulk-migrate all of my repos (public and private). I see the migrate option. But that seems to only support a single repo at a time. Seems like supporting 1-click migration of all repositories would be a worthwhile feature to have to encourage more adoption.
GiteaMirror added the type/question label 2025-11-02 04:50:08 -06:00
Author
Owner

@zachdoty commented on GitHub (Jan 28, 2019):

Just found this: https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator

It seems like it would be worth adding this directly into Gitea.

It also seems like I can't use their script since I'm using Sqlite.

@zachdoty commented on GitHub (Jan 28, 2019): Just found this: https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator It seems like it would be worth adding this directly into Gitea. It also seems like I can't use their script since I'm using Sqlite.
Author
Owner

@techknowlogick commented on GitHub (Jan 28, 2019):

That's great to hear. There is a tool that currently does this: https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator

It migrates issues as well.

Edit: Seems we posted almost exactly at same time. It probably works for sqlite now (it hadn't in past due to DB locking issues).

This functionality won't be merged into Gitea as we have learned from Gitlab in that they are constantly needing to update the import logic due to other forges updating their API.

@techknowlogick commented on GitHub (Jan 28, 2019): That's great to hear. There is a tool that currently does this: https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator It migrates issues as well. Edit: Seems we posted almost exactly at same time. It probably works for sqlite now (it hadn't in past due to DB locking issues). This functionality won't be merged into Gitea as we have learned from Gitlab in that they are constantly needing to update the import logic due to other forges updating their API.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2830