microsoft / microsoft/winget-cli
Add support for rename parameter for updating/upgrading packages
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
Currently, --rename is not recognized when using winget upgrade. The lack of this makes it such that you'll have to end up have to installing the package again and passing in --rename to rename the binary once more. By adding support for this feature, it not only does it maintain feature parity, but it also skips an additional install.
Proposed technical implementation details
No response
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 tracing WinGet CLI's existing --rename handling for package installation and comparing it with the winget upgrade path. Determine the expected upgrade behavior, then identify the relevant tests for accepting --rename during upgrades and verify that an upgrade can rename the binary without a separate reinstall.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100