vscode-open-in-github
vscode-open-in-github copied to clipboard
Doesn't work with internal Bitbucket URLs
For repositories that are not on bitbucket.org (intranet hosted), the generated url uses the same structure as github. Can we make this configurable?
any news?
I have the same issue with an internal BitBucket implementation. The current URL format appears to be something like this:
https://stash.myCompany.net/RussPitcher/scm/Proj03/TestRepo/blob/bugfix/Jira-1553/GUI/Style/StyleConverter.ps1#L16
which I read as:
${BaseUrl}/${Username}/scm/${Project}/${Repo}/blob/${BranchPath}/${PathToFile}#L16
what it needs to be is:
https://stash.myCompany.net/projects/Proj03/repos/TestRepo/browse/GUI/Style/StyleConverter.ps1?at=refs%2F/heads%2Fbugfix%2FJira-1553 https://${BaseUrl}/projects/${project}/repos/${repoName}/browse/${pathToFile}?at=refs%2Fheads%2F${BranchPath}
@jaichandra @RussPitcher Do you guys know of any alternative extension for use with internal Bitbucket?