ben-gibson/GitLink

Gitlink uses GitLab uses legacy routes

jmccure opened this issue · 0 comments

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}