-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quarto: engines metadata is vector, not singular #1017
Comments
Discovered while investigating #1014 |
The RStudio IDE sends a vector of engines: The quarto R package also provides a vector: Additionally, rsconnect can compute a vector of engines: rsconnect/R/appMetadata-quarto.R Lines 18 to 22 in 525289d
The vector of engines is used when determining if R or Python are needed: Lines 142 to 143 in 525289d
Line 132 in 525289d
That data is also sent in the manifest.json to guide environment reconstruction. Lines 229 to 230 in 525289d
We should convert |
A consequence of this problem: The RStudio IDE could show two target deployments when one existed, and publishing attempts fail with errors like:
|
* serialize multi-value metadata entries as comma-separated values fixes #1017 * lint
Quarto content can report multiple engines, which arrives as the
metadata
argument todeployApp()
and others.That metadata is eventually serialized into a deployment record. The presence of multiple engines causes rsconnect to write two records into a single DCF file.
We serialize
envVars
to a comma-separated list, but take no similar action for other multi-value fields.rsconnect/R/deployments.R
Lines 73 to 76 in 525289d
rsconnect/R/deployments.R
Line 141 in 525289d
The text was updated successfully, but these errors were encountered: