rstudio / rscloud

Managing RStudio Cloud spaces with R
https://rstudio.github.io/rscloud
Other
22 stars 11 forks source link

Continuous deployment of projects #35

Open wlandau opened 4 years ago

wlandau commented 4 years ago

The workshop at https://github.com/wlandau/learndrake has an RStudio Cloud project. Whenever I push a change to https://github.com/wlandau/learndrake/tree/master/inst/notebooks, I need to update the files at https://rstudio.cloud/project/627076. It would be really slick to continuously deploy with the API.

kippandrew commented 4 years ago

Our backend does not have an API that allows uploading/importing of projects, so this isn't something that is likely to be possible at the moment. However we have been considering adding an import (and export) API that would allow callers to upload a zip file to a project (and also download a project to zip file). Would this type of thing work for your use case?

wlandau commented 4 years ago

If I can programmatically unpack the zip file and after it reaches the project and then arrange the contents, then I think so.

malcolmbarrett commented 2 years ago

I just wanted to bump this in case this project is still active; creating spaces and managing content within those spaces by using git or unpacking a zip file is an important use case that I'd love to be able to automate. Right now, the process is a bit tedious for both managing existing projects and creating new ones