ben-gibson / GitLink

A Jetbrains plugin that opens a local file under Git version control in its remote host using the default browser.
https://plugins.jetbrains.com/plugin/8183-gitlink
MIT License
727 stars 59 forks source link

Gitlink uses GitLab uses legacy routes #284

Closed jmccure closed 1 year ago

jmccure commented 1 year ago

GitLink uses legacy project routes for GitLab:

${projectURL}/tree/${branch} ${projectURL}/commit/${sha} ${projectURL}/blob/${ref}/${fileName} This routes are all deprecated and scheduled for removal. See these references:

https://docs.gitlab.com/ee/development/routing.html#project-routes https://gitlab.com/gitlab-org/gitlab/-/issues/118849 https://gitlab.com/gitlab-org/gitlab/-/issues/28848 They should be replaced with the following:

${projectURL}/-/tree/${branch} ${projectURL}/-/commit/${sha} ${projectURL}/-/blob/${ref}/${fileName}