rstudio / packrat

Packrat is a dependency management system for R
http://rstudio.github.io/packrat/
402 stars 90 forks source link

Authentication for private GitLab repos need to use PAT #673

Closed toph-allen closed 2 years ago

toph-allen commented 2 years ago

I'm pretty sure that GitLab's API does not allow authenticating with usernames and password (see here). This prevents Packrat's GitLab downloader from working.

There may be some circumstance or version I'm unaware of (an old self-hosted instance maybe?) where password auth is allowed. But we should probably switch to preferring a GITLAB_PAT variable if it exists in the environment.

toph-allen commented 2 years ago

We verified this against private GitLab repos: