Closed colearendt closed 5 years ago
@slopp You mentioned some of this functionality belongs in rsconnect
. Until we have it there, does it make sense to merge this PR / revise it in some way (maybe keep the functions from being exported?) / drop it?
@colearendt I'd prefer if we referenced the non-exported rsconnect functions, https://github.com/rstudio/rsconnect/blob/master/R/bundle.R
That way we're not duplicating (with lots of missing pieces) parts of this code, and we can easily switch to exported functions once they are available.
Removed the dir_manifest
function. We should merge so we can iterate on this improved / granular deploy workflow
Add utilities to make programmatic deployment easier
Questionable because it acquires a hard dependency on
fs
and a soft dependency onrsconnect
for the snazzy newwriteManifest
function.Also
poll_task
could use some love :smile: And the docs/tests could use love...<rant>RStudio not putting terminating new lines at the end of files is driving me nuts </rant>
One downside of
dir_bundle
as currently written - it can include the oldbundle.tar.gz
in the newbundle.tar.gz
... should ideally remove any.tar.gz
files before usingutils::tar
, bututils::tar
is a little finnicky about files and such...