posit-dev / posit-dev/rsconnect-python
`rsconnect clone <content_id>`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37
- Forks
- 28
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 7
Description
The Connect API supports downloading a content bundle. It would be nice to wrap this in a utility to pull a copy of a content item from Connect so that you could view and modify it, similar to how you can git clone.
I would expect it to download and untar a bundle into a nicely-named directory, and add whatever metadata breadcrumbs are necessary such that I can rsconnect deploy it after making changes and it updates the deployed content rather than creating new content (unless I specify otherwise).
Use cases include the ability for two people to collaborate on content. Specific pain points this solves include what happens when the original content author is no longer around or available to make changes. Others may have collaborator permissions but currently have no way (other than curl) to modify any of the source of the content in order to update or fix it.
(Perhaps a followup to this: I might also want rsconnect pull if I'm the other collaborator and there are changes on Connect that I want to sync locally)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the rsconnect clone <content_id> CLI entry point and read the linked Connect API bundle-download documentation. Define how a downloaded bundle is unpacked and named, and what metadata rsconnect deploy needs to update the existing content. Done means the cloned content can be modified locally and redeployed without creating a new content item unless explicitly requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100