Bulk editor for Github repos?

陌路散爱 提交于 2020-01-19 04:07:22

问题


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!


回答1:


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



来源:https://stackoverflow.com/questions/54517172/bulk-editor-for-github-repos

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!