Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bulk editor for Github repos?

Tags:

github-api

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!

like image 995
Florian Echtler Avatar asked Feb 04 '19 13:02

Florian Echtler


1 Answers

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.)

like image 168
Florian Echtler Avatar answered Nov 27 '22 08:11

Florian Echtler