posit-dev / posit-dev/rsconnect-python
Replace --python option with a --env option
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37
- Forks
- 28
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 7
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the prior discussion in pull request #655, then search the CLI definitions and tests for --python. Rename the option and its help text to --env while preserving environment inspection and requirements.txt generation; done means the new option works and references to the old name are updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100