You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I were frustrated once again with github plastered everywhere and tried to add a gitlab field... Then I remembered there are more services and projects like gitea make those even more desirable.
Good news: There's even a common schema https://<service>/<owner>/<repo>[/subdirs...]
Bad news: "owner" can also be a nested subgroup path inside a project group. That's gonna clash with #444.
Anyway, simply recognizing gitlab: field can do some good with minimal maintenance.
Perhaps a unified type based upon Hpack.Config.GitHub may serve the purpose. It can be extended with the "well-known" field that'll provide the URL template.
And a way to extend support toward self-hosted repos may be devised next.
Add a
gitlab: ...
analog togithub: ...
.Example packages that could benefit from this:
(more: https://www.google.com/search?q=site%3Ahackage.haskell.org+intext%3Agitlab+-gitlab-haskell+-gitlab-api+-vcs-web-hook-parse+-gli+-yesod-auth-oauth2&oq=site%3Ahackage.haskell.org+intext%3Agitlab+-gitlab-haskell+-gitlab-api+-vcs-web-hook-parse+-gli+-yesod-auth-oauth2)
Request before by @dpwiz (#79).
The text was updated successfully, but these errors were encountered: