Closed aronatkins closed 8 months ago
I don't know how what reads the quarto_engines fields from DCF files.
This is the real challenge. The IDE passes some fields as metadata
to use when reconstructing the UI on subsequent deployments. Things like additional and ignored files.
The Quarto metadata is not used for that purpose; it modifies how rsconnect treats the deployment. Quarto details are not used by the IDE on subsequent deployments.
All other information provided in metadata
is passed-through.
The Quarto details probably should have been provided as explicit arguments to the rsconnect functions, but that would have introduced other difficulties, since that API change would have needed to propagate to CRAN, etc, etc. Reasons.
We could strip the Quarto fields before writing the deployment record, but it also feels like their presence is useful.
One additional note that came up during a discussion: We always use the incoming metadata
object when considering the Quarto information. We never use the metadata from the deployment record.
fixes #1017
This change does not adjust deployment records reads.