microsoft / microsoft/winget-cli
When upgrading a package, show current version -> new version
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature/enhancement
Currently when running winget upgrade xxxxx no versiion numbers are given. It would be a better experience for the user to be informed of the current version and the version that is being installed.
Proposed technical implementation details (optional)
It should look like this - my proposed addition is the line Upgrading v1.4.0 -> v1.4.1:
> winget upgrade kiwix
Found Kiwix JS [Kiwix.KiwixJS]
Upgrading v1.4.0 -> v1.4.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
Successfully verified installer hash
Starting package install...
██████████████████████████████ 100%
Successfully installed
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 reproducing winget upgrade kiwix and trace the CLI output for the upgrade flow. Identify where the current and available versions are already known, then add the requested Upgrading v1.4.0 -> v1.4.1 line without changing the installation messages. Done means upgrade output shows both versions consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100