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

Unknown Git provider

Open rusty-key opened this issue 6 years ago • 15 comments

Hi!

Today I started getting error alerts when trying to use this extension: Unknown Git provider. Error: unknown Provider. Yesterday extension worked fine. I didn't make any changes in my environment recently, though maybe vscode updated in the background.

Here are my details: vscode: Version 1.25.1 (1.25.1) macOS: 10.13.5 xcode: 9.4.1

rusty-key avatar Jul 20 '18 10:07 rusty-key

@rusty-key Thanks for filing an issue! What is the extension version, there might be an issue with the latest one 🤔

bugthesystem avatar Jul 20 '18 11:07 bugthesystem

@ziyasal, 1.7.0

rusty-key avatar Jul 20 '18 12:07 rusty-key

Hi @rusty-key, Current version of ziyasal/vscode-open-in-github is 1.3.5. I think you are using https://marketplace.visualstudio.com/items?itemName=sysoev.vscode-open-in-github this extension, it looks like a fork this, so I suggest file an issue in their repo ➡️ https://github.com/d4rkr00t/vscode-open-in-github. Thanks.

bugthesystem avatar Jul 20 '18 12:07 bugthesystem

@ziyasal, oh, I am sorry, I looked in suggested extensions. I am using ziyasal/vscode-open-in-github and it is indeed 1.3.5: https://d.pr/i/8r7L53

rusty-key avatar Jul 20 '18 12:07 rusty-key

@rusty-key No worries, I will have a look asap 👍

bugthesystem avatar Jul 20 '18 12:07 bugthesystem

@ziyasal Here's a screenshot of the error within VS Code for me:

image

On:

  • ziyasal.vscode-open-in-github v1.3.5
  • VS Code v1.25.1
  • macOS 10.13.3

It also looks like the latest Travis build failed.

I love this extension and use it everyday. Looking forward to a fix!

kycuong-stripe avatar Jul 23 '18 23:07 kycuong-stripe

I'm hitting this too. I tried setting openInGitHub.gitHubDomain to our Github Enterprise domain, but looks like a v1.3.5 problem. VS Code 1.25.1 as well on Windows.

ctaggart avatar Jul 25 '18 17:07 ctaggart

@rusty-key @kycuong-stripe @ctaggart Hi, thank you for reporting that, I could not reproduce on windows and unfortunately I have no mac at the moment. Btw, I will try to have a look asap anywise. Meanwhile, it'd be awesome if someone can have a look. Sorry for the delay.

bugthesystem avatar Jul 28 '18 07:07 bugthesystem

I'm experiencing exactly the same issue. I've tried setting providerType to "gitlab" and gitHubDomain to our custom Gitlab host, something I hadn't had to set before, but this doesn't do anything.

I'm using: • ziyasal/vscode-open-in-github v1.3.5 • vscode v1.25.1 • macOS 10.13.6

Niels-NTG avatar Jul 30 '18 11:07 Niels-NTG

This seems like a really nice extension. Unfortunately it does not work for me either. I use gitlab and have set the same as @Niels-NTG but I get an error toast with "Unknown Git provider. Error: unknown Provider". I'm also using 1.3.5 installed through vscode and macos 10.13.6.

jonaskello avatar Aug 16 '18 08:08 jonaskello

I also have Windows 10, so I tried the same thing there but same result. Error "Unknown Git provider. Error: unknown Provider".

jonaskello avatar Aug 16 '18 09:08 jonaskello

Really would like to use this extension, but unusable in this state with GitHub Enterprise. ☹️

lnunno avatar Aug 30 '18 18:08 lnunno

I hit the same problem. It worked after setting openInGitHub.gitHubDomain and then restarting VSCode.

Lyncredible avatar Sep 04 '18 22:09 Lyncredible

I love this extention too.

if you use custom domain repository like github.example.com, set openInGitHub.providerType: "github" in your user settings.

before this https://github.com/ziyasal/vscode-open-in-github/commit/5fae04014cee8a7456a37a618a903e8a043f0acc commit, the default providerType was gitlab but it would works with using github provider because gitlab and github are the same url style...

nooby-noob avatar Sep 12 '18 03:09 nooby-noob

For completeness sake, I had to add:

"openInGitHub.providerType": "github",
"openInGitHub.gitHubDomain": "github.mycompany.foo"

In my settings and now it works!

lnunno avatar Sep 13 '18 17:09 lnunno