posit-dev / posit-dev/rsconnect-python
rsconnect and predefined app name/url
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 37
- フォーク
- 28
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 7
説明
I have a question regarding rsconnect and how to optimally deploy (python in our case) apps. We recently switched to rsconnect and one limitation we found is that you cannot deploy the app with a predefined app name/ url.
When we run the following command for example:
rsconnect deploy fastapi --name rsconnect_server --entrypoint main:app ./
The app is deployed and a new app id is generated, but we do not know this app id in advance. Then we need to re-deploy the app as following:
rsconnect deploy fastapi --name rsconnect_server --app-id <APP ID GENERATED> --entrypoint main:app ./
What would be ideal for us is to have an option to specify an app name and use that as from the very beginning. So something like:
rsconnect deploy fastapi --app-name my_app --name rsconnect_server --entrypoint main:app ./
That would would deploy the app in:
rsconnect.server/connect/#/apps/my_app
And it would not require us to manually get the app-id. Is there such option, or is there a plan to implement something like that?
Thank you in advance for your help.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、エントリーポイント rsconnect deploy fastapi と既存の --app-id の処理を追跡します。初回デプロイのフローと再デプロイのフローを比較します。初回デプロイ時に、生成されたアプリ ID を手動で取得しなくても app-name オプションで対象を特定できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- fastapi, python
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100