rsconnect-python icon indicating copy to clipboard operation
rsconnect-python copied to clipboard

send content category to Posit Cloud API

Open mslynch opened this issue 2 years ago • 2 comments

Intent

Resolves https://github.com/rstudio/rsconnect-python/issues/474. Dependent on https://github.com/rstudio/rsconnect-python/pull/477.

Type of Change

Enhancement

Approach

Includes a change to the functions passed to make_bundle to return the Manifest and the bundle file bytes so that can pass the content category to Posit Cloud's API.

Automated Tests

Updated some tests to handle the case where content_category is non-None.

Directions for Reviewers

Deploy and redeploy Quarto content to Posit Cloud.

Checklist

  • [ ] I have updated CHANGELOG.md to cover notable changes. probably not notable enough for a changelog entry
  • [x] I have updated all related GitHub issues to reflect their current state.

mslynch avatar Sep 11 '23 15:09 mslynch

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
4268 2761 65% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/actions.py 33% 🟢
rsconnect/api.py 68% 🟢
rsconnect/bundle.py 80% 🟢
rsconnect/main.py 55% 🟢
TOTAL 59% 🟢

updated for commit: 04affc0 by action🐍

github-actions[bot] avatar Sep 11 '23 16:09 github-actions[bot]

Tested this using a rendered Rmd (rsconnect deploy html) and a quarto doc (`rsconnect deploy quarto).

mslynch avatar Sep 13 '23 21:09 mslynch