connectapi icon indicating copy to clipboard operation
connectapi copied to clipboard

Update version of Connect used to test common workflows (e.g., git-backed deployment)

Open fh-mthomson opened this issue 1 year ago • 0 comments

When initializing git-backed deployment, users see the following warnings. I recognize this is intentional and expected, but, in contrast, other deployment workflows in rsconnect do not have parallel warnings.

Accordingly, users tend to be more concerned they've used an incorrect workflow when calling connectapi::deploy_repo() (vs. other deployment methods). Related discussion: https://github.com/rstudio/rsconnect/issues/888

connectapi::deploy_repo(
  client = connectapi::connect(),
  repository = this_repo,
  branch = this_branch
)

Warnings:

Warning messages:
1: You are using a newer version of Posit Connect (2023.09.0) than was tested (2022.09.0). Most APIs should function as expected.
This warning is displayed once per session. 
2: The `deploy_repo` function is experimental and subject to change without warning in a future release
This warning is displayed once per session. 
3: The `repo_set` function is experimental and subject to change without warning in a future release
This warning is displayed once per session. 

Possible options to consider:

  1. Update the version used to test more regularly (e.g., via GitHub Actions)
  2. Turn off the messaging for more-commonly used or mature workflows where it's unlikely the API would change

fh-mthomson avatar Nov 14 '23 04:11 fh-mthomson