r-lib / remotes

Install R packages from GitHub, GitLab, Bitbucket, git, svn repositories, URLs
https://remotes.r-lib.org/
Other
336 stars 153 forks source link

Allow install of latest gitlab release (equivalent to github) #570

Open danhalligan opened 3 years ago

danhalligan commented 3 years ago

gitlab has a releases API: https://docs.gitlab.com/ee/api/releases/ and so it should be possible to specify that we would like to install a specific release, or the latest release (using the @*release) shortcut.

I think this is a relatively trivial addition to install_gitlab.R. I'm happy to give it a go and provide a pull request.

schaffstein commented 2 years ago

I would also love to see this feature implemented as it would greatly help me in building CI-Pipelines of depending packages.

gaborcsardi commented 2 years ago

I will be happy to review a pull request.

schaffstein commented 2 years ago

I'm happy to help if I can. Will take a look into the code on Monday...

schaffstein commented 2 years ago

Had a first look into the code and unfortunately it's no quick fix. I'm not giving up yet, but will need to invest some more time to understand the surrounding code and how it's done for github.

gaborcsardi commented 2 years ago

No worries. Let me know if you have questions about the code in remotes.