Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom github/gitlab domain #69

Open
pi0 opened this issue Jan 11, 2023 · 1 comment
Open

Support custom github/gitlab domain #69

pi0 opened this issue Jan 11, 2023 · 1 comment

Comments

@pi0
Copy link
Member

pi0 commented Jan 11, 2023

From what I have tested so far for private gitlab repo is

  1. I need to set export NODE_EXTRA_CA_CERTS=/path/to/cert.pem in .zshrc
  2. For example, my private repo is a self hosted gitlab then I need to modify the domain on line 87 & 88 in /giget/shared/gitget.xxxx.mjs
    url: https://gitlab.domain.com/${parsed.repo}/tree/${parsed.ref}${parsed.subdir},
    tar: https://gitlab.domain.com/${parsed.repo}/-/archive/${parsed.ref}.tar.gz

is there anything I can do for gitlab custom domain, for example to set GIGET_GITLAB_URL in .env so that it will pick up custom domain?

  1. set GIGET_REGISTRY, GIGET_AUTH in .env

The only downside is I need to modify the gitlab domain myself.

_Originally posted by @hanzoz in nuxt/nuxt#13367

@pi0
Copy link
Member Author

pi0 commented Feb 16, 2023

Partially supported by #71.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant