Skip to content

Conversation

@wrenoud
Copy link

@wrenoud wrenoud commented Feb 16, 2018

This is for issue #5

I work with git hosted on Bitbucket Server so the default url pattern doesn't work for me, but a simple configurable substitution pattern gets me most of the way, see the readme edits.

The line # still doesn't work, some additional configuration would be needed for that

…to select the appropriate pattern.

This adds support for Bitbucket Cloud and Server.

Server type is guessed based on baseUrl, if not overriden. It will need to be overriden for custom domains or Bitbucket Server.
@wrenoud wrenoud changed the title configurable url pattern Support for Bitbucket Cloud and Server Aug 21, 2019
@wrenoud
Copy link
Author

wrenoud commented Aug 21, 2019

I updated the pull request to have a server type config option instead of exposing a url pattern. This allowed for customizing the line anchor format as well, and makes it easy to extend for any other hosted git.

@wrenoud wrenoud requested a review from Konamiman September 20, 2022 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants