r-multiverse / help

Discussions, issues, and feedback for R-multiverse
https://r-multiverse.org
MIT License
2 stars 2 forks source link

Check GitLab URLs for releases #31

Closed wlandau closed 3 months ago

wlandau commented 3 months ago

The GitLab API is actually easy. To check releases, I just go to e.g. https://gitlab.com/api/v4/projects/wlandau%2Ftest/releases and maybe filter out any releases with upcoming_release: true in the JSON response. I would be willing to add a step to check GitLab releases in https://github.com/r-releases/r.releases.internals/blob/2c5d0518d79ba17a13031bc17bc302531a8297f6/R/assert_package.R#L112.

The trouble is security. I'm not sure the best way to authenticate into GitLab as a bot. Hoping to do whatever R-universe does at the moment.

wlandau commented 3 months ago

Added support in https://github.com/r-releases/r.releases.internals/pull/12 to automatically merge GitLab contributions if they have releases.