junichi11 / netbeans-github-issues-plugin

Support for GitHub Issues
http://plugins.netbeans.org/plugin/57646/github-issues
Other
37 stars 10 forks source link

GitHub Enterprise #50

Closed cbm64chris closed 6 years ago

cbm64chris commented 6 years ago

Does this plugin work with Enterprise GitHub Repos?

I have followed the instructions and generated a personal OAuth Token but I am unable to connect to the repo. What form should the Name and Repository fields take?

Thanks

junichi11 commented 6 years ago

Does this plugin work with Enterprise GitHub Repos?

Unfortunately, No. Probably, a hostname setting must be added. I'll try to look at it later.

Thanks.

junichi11 commented 6 years ago

I've added a Hostname text field. Just give it a try :) (0.3.0.1-dev) https://github.com/junichi11/netbeans-github-issues-plugin/releases/tag/v0.3.0

If you find a problem, please let me know. Thanks.

cbm64chris commented 6 years ago

Wow, quick 🥇

I have the API URL for our enterprise GitHub and I have confirmed it by creating a token on the command line with the repo scope.

curl https://github.mycompany.com/api/v3/authorizations --user "myuser" --data '{"scopes":["repo"],"note":"Test"}'

Do you have an example of a config you have so I can make sure I have all the fields filled out correctly?

screen shot 2018-02-22 at 11 49 46 am

Redacted values obviously!

junichi11 commented 6 years ago

Hostname is github.mycompany.com :)

junichi11 commented 6 years ago

Steps:

  1. Input your hostname
  2. Input OAuth Token
  3. Click Add Repository button
cbm64chris commented 6 years ago

Yup, I got it...should not have used the api as the host. I have connected to the repo and I am testing it now 👍

junichi11 commented 6 years ago

Great to hear!

cbm64chris commented 3 years ago

Hey dude, did this make it into the main release?

junichi11 commented 3 years ago

Yes.