Questions:
What is an idiomatic way to upload/install a paclet in own Wolfram Cloud account?
What is an idiomatic way to update/overwrite existing paclet?
It is not tough but:
PacletManager works in 'read-only' mode so
PacletInstall
can't be usedWhile
CreateDirectory
andCopyDirectory
work well to set a new one I failed to update a package this way. Even withDeleteDirectory[.., DeleteContents->True]
there were traces of nested directory structure which prompted errors whenCopyDirectory
was called again. Otoh I could not delete them directly with DeleteDirecotry and I could not access them via browser interface because the top one was already missing from the file menu...
Again a basic use case is a pain to perform.
Probably assembling a simple code that does it will not take long, but only if you know the 'proper' way.
related: Clean package update for API/FormFunctions on Wolfram Cloud
CopyFile
and update thePacletSite.m
file programmatically. Most of my work has gone into simplifying and generalizing the paclet construction. $\endgroup$