Github to Gitea (fork to store configuration outside of repo)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
poikilos eac7116eed Add more notes about migrating. 1 week ago
.gitignore Initial commit 2 years ago
license.txt Stop shouting, FLOSS world. Also, generally windows users will and can never open a file without an extension. 1 week ago
main.py Add more notes about migrating. 1 week ago
readme.md Add more notes about migrating. 1 week ago
readme.zh.md Note migration issues. 1 week ago

readme.md

github2gitea

Language: en | 中国人

Github repository migrated to Gitea script

Migrating github private/public repositories to gitea is an easy task, but due to network reasons, some larger projects may fail. This script will automatically filter the repositories that have been migrated, so repeat the script until the number of repositories in gitea and the number of repositories in github are the same, which means that the migration is complete. Repositories that fail to migrate by gitea will be automatically deleted by the system, so the number of repositories may fluctuate. In order to ensure the safety of code assets, you should execute it again at ten minutes after the migration is completed, until the number of repositories in gitea and the number of repositories in github are still the same.

It should be noted that before using this script, a Github Token needs to be created, and Two-factor authentication needs to be temporarily disabled.

Migrating issues

Since this only uses the Gitea API's migrate feature, it will only get issues with the "mirror" option turned off! For a discussion of the issue, see:

Note that the "Issues" option is grayed out in the migrate window if the mirror option is checked!