Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support 'Gitea' 's (and its fokr : Forgejo ?) server ? #117

Closed
fenix011 opened this issue Feb 16, 2024 · 4 comments
Closed

support 'Gitea' 's (and its fokr : Forgejo ?) server ? #117

fenix011 opened this issue Feb 16, 2024 · 4 comments

Comments

@fenix011
Copy link

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

@sshaw
Copy link
Owner

sshaw commented Feb 17, 2024

Yes sounds good. What is the format of the URLs that must be generated?

@port19x
Copy link

port19x commented Jul 12, 2024

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

@port19x
Copy link

port19x commented Jul 12, 2024

gitea works with codebergs git-link backend

@sshaw
Copy link
Owner

sshaw commented Jul 23, 2024

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.

@sshaw sshaw closed this as completed Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants