[FEATURE] Allow Custom GitLab Host URLs
See original GitHub issueIs your feature request related to a problem? Please describe.
I’m frustrated that I can’t link my GitLab instance because it is not hosted at https://gitlab.com/<project>
. This was the main reason I wanted to use pipedream, but it doesn’t seem to let me specify a host
.
Describe the solution you’d like
A way to specify a custom host for the GitLab connection (defaulting to https://gitlab.com
) when connecting the account, and then have the ability to select this account for actions/sources.
Do you have a workaround? None that I know of.
Comparable features in other tools?
Plenty of other tools require a host
or hostUrl
parameter when connecting Gitlab instances.
Additional context
I’ve dug through the code, and assuming a hostUrl
variable could be sourced from somewhere (no idea how), then I think that if these lines were changed from:
return new Gitlab({
oauthToken,
camelize: true,
...opts,
});
to
return new Gitlab({
oauthToken,
camelize: true,
host: hostUrl
...opts,
});
as per the documentation, it would work.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top GitHub Comments
@Liam-Scott-Russell Thanks for reaching out. This is still on our backlog. I still don’t have an ETA, so if you need to implement urgently, you may need another solution.
Once we support, we’d still love to have you give it a try, so we’ll update this issue as soon as we have something and we can talk more then.
We should be able to support and modify components accordingly. I’m prioritizing with the team. I don’t have an ETA but we’ll keep you updated.