Are there any restful interfaces to git?

匿名 (未验证) 提交于 2019-12-03 00:50:01

问题:

I have been looking for a restful api to git and dont seem to find any. The closest thing i got is Github's api to access some repositories info.
Are there any other impelementations out there?

回答1:

Projects I've spotted:

  1. Gerrit - has a REST server, Java
  2. Gandalf - core is there, coupled to MongoDB, Python + Flask
  3. git-rest-api NodeJS, very incomplete


回答2:

Orion Git API Orion is an Eclipse project

RESTFul Git from Hulu on github



回答3:

git doesn't sport an http server so you need some middleware solution that can serve git repos via http. Githubs api does it and there are possibly other solutions out there.



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