reposplit icon indicating copy to clipboard operation
reposplit copied to clipboard

Feature Request: Enable GitLab Enterprise with private domains

Open leocaseiro opened this issue 8 years ago • 3 comments

Thanks for this awesome extension.

I was wondering if there's a way to enable in different domains for GitLab Enterprise, Thanks

leocaseiro avatar May 11 '17 11:05 leocaseiro

Hi @leocaseiro, thanks for the feedback! Gitlab Enterprise is indeed a planned addition, I'd just need to familiarize myself a bit more with the Gitlab API+Authentication.

Reading the documentation I realize there's three ways to authenticate:

 There are three types of tokens available: private tokens, OAuth 2 tokens, and personal access tokens.

What would be your preference? Are personal access tokens widely used in the Gitlab community?

Reposplit would ask you for one of those key tokens and ideally it'd be stored somehow in your browser so you don't have to introduce it again. My question is: how do GEnterprise URLs look like? server1.gitlab.com/.../, gitlab.myserver.com/.../? I'm wondering whether localStorage would be enough to retain that token across different visits to the same GE server/domain.

git-toni avatar May 11 '17 13:05 git-toni

Hi @git-toni,

Thank you for the quickly reply.

The octotree used to work with token, like so: https://github.com/buunguyen/octotree/blob/c7c5bc9fcd196c0902b201313e8c0ec51262eecf/README.md#enterprise-urls

They also used to save in the chrome storage (I believe). But localstorage should do the job as well

leocaseiro avatar May 11 '17 14:05 leocaseiro

I found this extension that works for self hosted https://chrome.google.com/webstore/detail/gitlab-code-view/gglalfcdiahpedikbmegmmkmpmajnpjj

leocaseiro avatar Feb 05 '18 13:02 leocaseiro