Force a rebuild of all my packages on r-universe? #140
-
Hi, how can I force a rebuild of all my packages on r-universe? Other that I don't want to spend the time to do it manually for 15-20 packages, I also don't want to push to the tracked branch, because they are meant to be frozen until the next CRAN release. BackgroundI updated my https://github.com/HenrikBengtsson/universe/blob/develop/packages.json, to use: "branch": "master", for all packages, because my default branch is I pushed this, which triggered 'ropensci-bot' to start rebuilding all the packages. However, it looks like packages several packages failed to build, e.g. https://henrikbengtsson.r-universe.dev/ui#builds. Note that all these packages and version pass the CRAN checks and my GitHub Action checks. So, I suspect there's something not working on r-universe. Looking at the GHA check logs, it looks like the packages that fail are checked with package versions previously on r-universe (my 'develop' version), not what's available on CRAN (same as my 'master' version). It might also have to do with in what order 'r-universe' was rebuilding the packages. This means that some packages fail because they depend on features that have been pulled from the 'develop' versions. There might be other things going on too, but it's quite nested to track down. So, I'm hoping a rebuild of all my packages on r-universe might be able to resolve this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Thanks for the suggestion. I have added a new API for this. You can trigger it using the circle-arrow icon on https://henrikbengtsson.r-universe.dev/ This is very experimental, please let me know if it works for you! |
Beta Was this translation helpful? Give feedback.
-
Yes I know, for now there is no authentication so anyone can click the button indeed. To prevent abuse I have capped them at 1 attempt per hour per package and you can only trigger rebuilds for runs there were previously unsuccessful. |
Beta Was this translation helpful? Give feedback.
-
Thanks, that is a quite helpful clarification as I'm currently trying to debug some issues with packages building on my local machine and not on the r-universe build machines. So my strategy should be fix and test locally, push to github and then check back in an hour to see if the rebuild succeeded. |
Beta Was this translation helpful? Give feedback.
Thanks for the suggestion. I have added a new API for this. You can trigger it using the circle-arrow icon on https://henrikbengtsson.r-universe.dev/
This is very experimental, please let me know if it works for you!