`rsconnect clone <content_id>`

未关闭
#507 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
api, cli

调研方向

从 CLI 入口点 rsconnect clone <content_id> 开始,并阅读链接的 Connect API bundle-download 文档。定义下载的 bundle 如何解包和命名,以及 rsconnect deploy 需要哪些元数据来更新现有内容。完成标准是:克隆的内容可以在本地修改并重新部署,除非明确要求,否则不会创建新的内容项。

由索引模型根据 Issue 内容生成。

描述

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)

主要语言
Python
星标
38
派生
28
平均合并
1 天 4 小时
30 天内合并 PR
59

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

posit-dev/rsconnect-python 的其他 Issue

查看 posit-dev/rsconnect-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。