posit-dev / posit-dev/rsconnect-python
`rsconnect clone <content_id>`
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 37
- フォーク
- 28
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 7
説明
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)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
CLI のエントリポイント rsconnect clone <content_id> から始め、リンクされている Connect API の bundle-download ドキュメントを読みます。ダウンロードした bundle をどのように展開して命名するか、また既存のコンテンツを更新するために rsconnect deploy が必要とするメタデータを定義します。明示的に要求された場合を除き、新しいコンテンツ項目を作成せずに、クローンしたコンテンツをローカルで変更して再デプロイできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, cli
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100