-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Description
Hello,
thanks for the great package! I had some problems with install_gitlab on a self-hosted gitlab Community edition.
Initially, I tried:
pat <- "glpat-very.secret" # Project Access Token
remotes::install_gitlab("prj/myrepo", host="https://gitlab.myhost.com", auth_token=pat)
which fails with error message:
Fehler: Failed to install 'unknown package' from GitLab:
kann URL 'https://gitlab.prognos.com/api/v4/projects/prj%2Fmyrepo/repository/files/DESCRIPTION/raw?ref=HEAD' nicht öffnen
It also fails when I provide the Token via environment variable GITLAB_PAT.
I finally got it working with
git_url <- "https://git:", pat, "@gitlab.myhost.com/prj/myrepo.git" # note the git prefix, does not work without it
remotes::install_git(git_url)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels