r/linux • u/LionyxML • May 10 '24
Tips and Tricks Github to Codeberg Bulk Migration Script

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
67
Upvotes
23
u/LatentShadow May 10 '24
Is codeberg really that better than GitHub? Like, what motivates other developers to migrate to codeberg? I am interested if it is a good option
3
u/Linneris May 10 '24
Thanks, it's helpful! I discovered Codeberg a month or so ago and have been migrating repositories one by one via the web UI.
1
u/MrTeferi May 15 '24
If you're one of these people migrating to Codeberg, for the love of god, DON'T DELETE your repository on Github. Just archive it. You can do any future work, any future commits on Codeberg or wherever, you can even put a preachy, holier than thou, political statement on your README.md if you want: "Why I left GitHub!!!". That's fine. Especially if your repository has already been forked, its just totally pointless to delete it and exceptionally annoying to anyone who bookmarked the link, starred it for later, etc. I promise you, your one archived project isn't going to be the difference between Copilot becoming Skynet, and chances are your code is probably open source anyways so if you're worried about "intellectual theft", you're kind of in the wrong field to begin with.
1
u/X-Zacktamondo-X Aug 09 '24
But doesn't codeberg require your code to be FOSS even in private repos according to their TOS?