support 'Gitea' 's (and its fokr : Forgejo ?) server ?
fenix011 opened this issue · 4 comments
Hi
I run my own git ( 'Gitea' server ) ... which is becoming a more and more popular 'self-hosted' option !
that would be great to enjoy git-link there too
thX thX thX
Yes sounds good. What is the format of the URLs that must be generated?
It's very similar to github, but instead of blob it needs either src/branch
or src/commit
.
This could be a default entry in the alist, since gitea is meant to be selfhosted and thus has all sorts of urls.
git-link-commit
and git-link-homepage
work as-is with the respective github backends
gitea works with codebergs git-link
backend
As discussed in #126 Gitea is supported in the same way we support cgit: user has to explicitly configure their self-hosted URL. No need to try to provide a default that acts as the default matching rule for the entire library due to its necessary loose syntax.
See the cgit and Gitea section in the README.