dtao / SublimeBucket

Bitbucket plugin for Sublime Text 3
https://packagecontrol.io/packages/Bitbucket
MIT License
8 stars 5 forks source link

Problem using this with local bitbucket server #2

Open hadrielk opened 7 years ago

hadrielk commented 7 years ago

Hi, my company uses Jira cloud, but a local BitBucket server (not bitbucket.org) - does this plugin support that model? I can't seem to get it to work. I've changed the bitbucket_hosts in the sublime settings to have our local BB server's URL instead of bitbucket.org, and the plugin does successfully open a web page to our BB server, but I keep getting a 404 "Oops, you've found a dead link" dead page result.

One cause of this was the regex you're using to determine the host+repo from the result of git remote -v (we use git) doesn't account for a non-default git SSH port messing up the regex match, but even fixing that doesn't get me to a real result web page. I assume the URL scheme used for finding stuff in local BB server instances is different than the URL scheme used for the bitbucket.org cloud one, but is it even technically possible for me to fix this plugin to make it work with local BB server?

Thanks in advance!

dtao commented 7 years ago

This plugin is not currently written to support Bitbucket Server, so I'll admit to not being surprised that it doesn't work!

That said, I am certainly open to adding support. I do work at Atlassian, so I could probably even solicit support from the actual Bitbucket Server team ;)

I've labeled this issue as an "enhancement" and will look into adding support for BB Server in the future.

dave128 commented 6 years ago

Would also love BB Server support here. Seems like a thoughtful well-written plugin. I have been doing the old sublime "copy file path" then pasting it into bitbucket browse address for a long time now and was pretty excited when I saw a plugin like this existed.

Cheers.

phene commented 4 years ago

Is this extension just abandoned? Almost 3 years and no support for On-Prem installations of BitBucket?