question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Allow Custom GitLab Host URLs

See original GitHub issue

Is 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:open
  • Created a year ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dylburgercommented, Oct 13, 2022

@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.

1reaction
dylburgercommented, Aug 4, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitLab Pages domain names, URLs, and base URLs
On this document, learn how to name your project for GitLab Pages according to your intended website's URL. GitLab Pages default domain names....
Read more >
Configuration options for the GitLab Linux package
To configure GitLab, set the relevant options in the /etc/gitlab/gitlab.rb file. gitlab.rb.template contains a complete list of available options.
Read more >
Hosting on GitLab.com with GitLab Pages
In this article we provide you with detailed information about using GitLab Pages to host your website for free on GitLab.com.
Read more >
GitLab Pages administration
GitLab Pages allows for hosting of static sites. It must be configured by an administrator. Separate user documentation is available.
Read more >
Control access and visibility - GitLab Docs
Configure allowed import sources · Sign in to GitLab as a user with Administrator access level. · On the top bar, select Main...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found