rmuslimov / browse-at-remote

Browse target page on github/bitbucket from emacs buffers
233 stars 54 forks source link

Add support for Codeberg remotes #98

Open akreisher opened 10 months ago

akreisher commented 10 months ago

This PR adds support for browsing codeberg.org remotes.

Since the codeberg region URL depends on whether the location is a symbolic branch name or a commit hash, I updated the return of browse-at-remote--remote-ref to return whether the ref is a branch name or commit hash unambiguously. I updated the call to the fomat-region-url-as-* functions to include this location-type. Right now it is only used by the codeberg formatter.