vscode-pull-request-github: The GitHub Pull Request treeview never appears for an organization account

  • Extension version: 0.1.2
  • VSCode Version: 1.27.1
  • OS: macOS High Sierra 10.13.6

Seems like the extension isn’t working for organization accounts. I tried building the extension from source and I noticed that the isGithub method inside the GitHubManager is returning false for the host.authority which is something like github.example.com

This is the line where the check returns false

Seems very similar to this one https://github.com/Microsoft/vscode-pull-request-github/issues/395

Please let me know if you need additional details with this one.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 11
  • Comments: 18 (6 by maintainers)

Most upvoted comments

This is the only issue open for something similar to my problem. So I write here.

Not tree view in side panel, no login prompt.

GitHub Enterprise 2.14.6 Mac OS VSCode: 1.29.0 Github PR extension: 0.2.3

>>> git remote -v
>>> origin  https://github.myorg.com/myorg/myproj.git (fetch)
>>> origin  https://github.myorg.com/myorg/myproj.git (push)

OUTPUT for GitHub Pull Request:

/Users/xxx/.ssh/config: ENOENT: no such file or directory, open '/Users/xxx/.ssh/config'
Looking for git repository
Git repository found, initializing review manager and pr tree view.
No GitHub remotes found
No GitHub remotes found
Review> no matching pull request metadata found for current branch master
No GitHub remotes found
Review> no matching pull request metadata found for current branch master

Same here, Please fix this

  • Extension version: 0.5.1
  • VSCode Version: 1.32.3
  • Operating System: Windows 7 Enterprise