vscode-open-in-github icon indicating copy to clipboard operation
vscode-open-in-github copied to clipboard

Doesn't work with internal Bitbucket URLs

Open jaichandra opened this issue 6 years ago • 3 comments

For repositories that are not on bitbucket.org (intranet hosted), the generated url uses the same structure as github. Can we make this configurable?

jaichandra avatar Jan 12 '18 17:01 jaichandra

any news?

marciojg avatar Feb 06 '18 20:02 marciojg

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}

RussPitcher avatar Apr 09 '18 11:04 RussPitcher

@jaichandra @RussPitcher Do you guys know of any alternative extension for use with internal Bitbucket?

vaibhav1618 avatar Jan 18 '23 02:01 vaibhav1618