GitLiveApp / GitLive

GitLive Docs
82 stars 24 forks source link

intellij - support gitlab enterprise instances #110

Closed DetachHead closed 2 years ago

DetachHead commented 2 years ago

the gitlab option here opens gitlab.com, there doesn't seem to be an option to specify a different gitlab instance

image

Ygnys commented 2 years ago

Thanks for this suggestion, we will make sure to add it in the future! For now please use the sign-in option from the GitLive team window to sign in to GitLab self-hosted.

DetachHead commented 2 years ago

i don't seem to have that option, see https://github.com/GitLiveApp/GitLive/issues/111#issuecomment-1068579622

ainesophaur commented 2 years ago

I seem to have the same issue with my instance of PhpStorm. I have a self hosted gitlab server and the link to "Configure new GitLab Server" never appears. Ive tried a combination of switching between SSH and HTTPS remote urls for git (just in case it mattered.) I also attempted with a fresh clone of the repo from PhpStorm's "checkout from VCS option"

Mac OS X 12.3 PhpStorm 2021.3.2 GitLive 15.0.5

Screen Shot 2022-03-18 at 11 40 52 AM

The project name is kebab cased and the gitlab server ends in a .io TLD (just in case it matters)

Ygnys commented 2 years ago

Hi @ainesophaur @DetachHead could you check if your remote URL is accessible from the internet via HTTP or HTTPS (via the browser)? If the remote URL is accessible only internally, you can only use GitLive in offline mode (the sign-in popup won't appear) or open up port 80 or 443 to allow us to connect.

ainesophaur commented 2 years ago

That would explain it as the self hosted gitlab isnt publicly accessible. Does gitlive only need to hit the API endpoints of gitlab?

Ygnys commented 2 years ago

@ainesophaur We check the root/home page for accessibility, if you allow traffic on either port 80 or 443 to your server we should be able to connect

DetachHead commented 2 years ago

is it possible for that check to be done locally by the extension itself?

nbransby commented 2 years ago

is it possible for that check to be done locally by the extension itself?

We are working on support for this but its not currently possible

DetachHead commented 2 years ago

awesome, is there an issue tracking this that i can follow?

Ygnys commented 2 years ago

@DetachHead I created a new issue for this: https://github.com/GitLiveApp/GitLive/issues/113

Ygnys commented 2 years ago

Closing the issue, please refer to #113 instead