posit-dev / posit-dev/rsconnect-python
Replace --python option with a --env option
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 37
- 派生
- 28
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先阅读 pull request #655 中之前的讨论,然后在 CLI 定义和测试中搜索 --python。将该选项及其帮助文本重命名为 --env,同时保留环境检查和 requirements.txt 生成;当新选项正常工作且对旧名称的引用都已更新时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli
- Issue 类型
- 重构
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100