ben-gibson/GitLink

Azure commit link is broken

gavvvr opened this issue · 0 comments

gavvvr commented

GitLink plugin generates links of the following type on Azure commits:

https://dev.azure.com/commit/239d8931

It obviously won't work, because it has project/repo names missing and short commit hash also won't work out.

https://github.com/ben-gibson/GitLink/blob/3a5f97a271ba80bb1661dc7ae64c6ccc746fd283/src/test/kotlin/uk/co/ben_gibson/git/link/url/AzureTest.kt#L57-L60C15

In this test I would expect the following link produced:

https://dev.azure.com/ben-gibson/_git/test/commit/b032a0707beac9a2f24b1b7d97ee4f7156de182c


To reproduce:

  1. Clone any Azure repo
  2. Go to "Git Log" tab in Intellij
  3. Right-click any commit and try "Open in Azure" or any other related command