I have a large number of private repositories in a Github org which I want to transfer to another org for archiving, and remove all teams in the process.
I already came across https://github.com/ahmadnassri/github-bulk-transfer, and I could of course also roll my own implementation with the libraries from https://developer.github.com/v3/libraries/, but I'm honestly surprised that there is no sort of bulk editor for Github repos where you can execute API commands for a selected subset of repos.
Any hints welcome!
So I did end up rolling my own, was pretty straightforward thanks to PyGTK, requests + json.
Result is up on Github: https://github.com/floe/github-bulk-editor, feedback welcome!
(Even though it only allows bulk transfer of repos, because that's what I needed right now, I've tried to keep the internals as generic as possible, so most other Github API commands should be very easy to add.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With