sshaw/git-link

Feature request: Add custom macro or function to define a custom git forge.

jgarte opened this issue · 4 comments

Hi,

In the name of extensibility, I'd like to request a macro or way of creating my own handler easily for a custom git forge.

For example I tried to use git-link on this forge and it failed:

https://git.cyberia.club/cyberia/capsul-flask

sshaw commented

Have you tried this?

So, you're saying to just add a entry to that alist for cyberia with a custom function:

git-link-cyberia, for example?

sshaw commented

So, you're saying to just add a entry to that alist for cyberia with a custom function:

Yes. And given the arguments passed to that function you should be able to generate the link.

sshaw commented

Closing as the documentation should be sufficient. Feel free to reopen if you are still experiencing issues.