2 ms·
I just look into the gitolite but it doesn't have API. To clarify, what I mean is REST style API via http.
by Existenceblinks 4y ago
I just look into the gitolite but it doesn't have API. To clarify, what I mean is REST style API via http.
- notwokeno 4y agoDoes git actually let you push over http? I'd imagine that's the same as using ssh/sftp just with WebDAV. If it's the same just create a bare repo in a directory your web server has access to.
- Existenceblinks 4y agoI haven't looked into it but I don't think it's enough to build app on top. Otherwise there wouldn't be a bunch of libgit2 binding. Github is basically building around libgit2 (Rugged) and some of its custom stuff + collaboration UI. It's quite surprising no one has ever built libgit2 as a api service .. yet.
- pmontra 4y agoSo maybe Gitea is what you are looking for. It can be self hosted and they have an API. Links to the documentation from here https://docs.gitea.io/en-us/api-usage/ https://docs.gitea.io/en-us/api-usage/ It's not headless but maybe there is a way to shut down the HTML interface. But probably the same could be said of GitLab.