coophub
coophub copied to clipboard
Support Gitea API for self-hosted git hosting
Hi folks! Autonomic.zone want to join but we've got our git hosting setup on https://git.autonomic.zone which is a self hosted gitea instance. As far as I know, this app doesn't support reading the Gitea API yet? There seems to be decent docs for it though https://docs.gitea.io/en-us/api-usage. Would be cool to get this sorted! Thanks!
Thank you @decentral1se , I didn't know about Gitea
, we have to read the docs and discuss it for a future integration.
I'll keep you posted here.
https://git.autonomic.zone/api/v1/orgs/autonomic-cooperative/ https://git.autonomic.zone/api/v1/orgs/autonomic-cooperative/repos https://git.autonomic.zone/api/v1/repos/autonomic-cooperative/keycloak https://git.autonomic.zone/api/v1/repos/autonomic-cooperative/keycloak/topics
missing languages
I see there's an empty language
key and also a languages_url
with a URL that returns languages:
In our Gitea version:
https://gitea.sutty.coop.ar/api/v1/orgs/Sutty/repos https://gitea.sutty.coop.ar/api/v1/repos/Sutty/haini.sh/languages
hey comrades, anything we @ autonomic can do to help move this along? :pray:
Hi there! thank you folks! We need to add a new backend similar to the git.coop one: https://github.com/fiqus/coophub/blob/2af43544bedc1982bb6287343a06beaf7124cf60/lib/coophub/backends/git_coop.ex
As it's done, we need one backend per server, so autonomic and sutty as separated backends, in the future it could be one gitea backend support for multiple gitea servers...
You are welcome and happy to code review future PRs :)