microsoft / microsoft/winget-cli
`winget upgrade` status message. App installed but no upgrade available.
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
I suggest the winget upgrade status messages be more informative when the app is installed but no upgrade is available.
Proposed technical implementation details
The current behaviour.
Assume Foobar is not is installed on the machine (and not available). Then winget upgrade [app] produces the following, which is fine:
> winget upgrade foobar
No installed package found matching input criteria.
Assume Signal is installed and an upgrade is available. Then winget upgrade [app] produces the following, which is fine:
> winget upgrade signal
Found Signal [OpenWhisperSystems.Signal] Version 5.43.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://updates.signal.org/desktop/signal-desktop-win-5.43.0.exe
██████████████████████████████ 116 MB / 116 MB
Successfully verified installer hash
Starting package install...
Successfully installed
Assume Signal is installed and an upgrade is not available. Then winget upgrade [app] produces the following
> winget upgrade signal
No applicable update found.
This messages is ambiguous.
Suggestion
I suggest something like the following less ambiguous message
> winget upgrade signal
No update found. Found Signal [OpenWhisperSystems.Signal] Version 5.43.0. You are on the latest version.
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 [app] for an installed package with no available update, then trace the CLI command's status-message handling and its tests. Done means the output clearly states that the package is installed and already at the latest version, while preserving the existing messages for other cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100