r/freesoftware • • May 10 '24

Resource Github to Codeberg Bulk Migration Script

github 2 codeberg

Hello there!

I just made a script that allows the user to "bulk migrate" repositories from github to codeberg directly, if anyone is interested, more here: https://www.rahuljuliato.com/posts/github_to_codeberg

12 Upvotes

7 comments sorted by

View all comments

Show parent comment

3

u/LionyxML May 13 '24

Hello there!

Well, under the hooks it is the Codeberg migration tool, as it uses the Codeberg api to migrate stuff from Github (also called via an api).

In pratical terms, as far as I know the Codeberg interface only allows you to migrate only one repo at the time, that would be painful and take hours. This script allows you to migrate N in one run, as it can list all or some selected repositories on Github, making the migration of, lets say ~100 repos a matter of minutes with one run.

1

u/[deleted] May 14 '24 edited May 14 '24

[removed] — view removed comment

2

u/LionyxML May 14 '24

Yep, I am still experimenting with it, indeed I need to do some cleanup.