posit-dev / posit-dev/rsconnect-python

Replace --python option with a --env option

オープン
#656 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
37
フォーク
28
平均マージ
1日 3時間
マージ済み PR(30日)
7

説明

See https://github.com/posit-dev/rsconnect-python/pull/655 for prior discussion.

As --python doesn't influence anymore the python interpreter version used to run the content, the only reason why the option is still around is to inspect a specific python environment to replicate the libraries installed there (generate requirements.txt based on that environment).

The naming of the option at that point is confusing, and renaming it to --env which points to the python environment to inspect would better comunicate the intent of the option.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず pull request #655 の以前の議論を読み、その後 CLI の定義とテストで --python を検索します。環境の検査と requirements.txt の生成を維持したまま、オプションとそのヘルプテキストの名前を --env に変更します。新しいオプションが動作し、古い名前への参照が更新されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
cli
issue の種類
リファクタリング
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。