Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional option for list command #1030

Closed
pjaj opened this issue May 30, 2021 · 5 comments
Closed

Additional option for list command #1030

pjaj opened this issue May 30, 2021 · 5 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@pjaj
Copy link

pjaj commented May 30, 2021

Add an additional "--upgradeable / --updateable" option to the list command so that it only shows those packages that are both out of date and known to winget.
I may be just me , but it seems rather pointless showing dozens of programs that winget knows nothing about and/or can't update. Particularly as a list of all installed packages is already available via Settings > Apps & features.

An additional filter that only displays a package for which

  • Winget has a record and therefore could upgrade it.
  • The installed package either has a down-level version or an unknown version

This new feature would have the additional benefit of showing which packages would likely be affected should the user issue the "upgrade --all" command. For example a program that would move from freeware to paid for if updated.

@pjaj pjaj added the Issue-Feature This is a feature request for the Windows Package Manager client. label May 30, 2021
@ghost ghost added the Needs-Triage Issue need to be triaged label May 30, 2021
@denelon denelon removed the Needs-Triage Issue need to be triaged label Jun 1, 2021
@denelon
Copy link
Contributor

denelon commented Jun 11, 2021

@pjaj I believe winget upgrade does exactly what you are looking for.

We are looking at other improvements with winget list as well.
#977
#964

@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 11, 2021
@pjaj
Copy link
Author

pjaj commented Jun 12, 2021

@denelon Maybe I'm mistaken, but I thought that winget upgrade actually performs an upgrade on as many packages as it could. What I'm suggesting is a way of listing those packages, but without actually doing anything to them. That is a list of the packages that would be upgraded by winget upgrade. One advantage of this is that upgrading some packages changes them from freeware to paid for and a user might not want to do that. Or there may be compatibility problems between newer versions and other legacy programs.

@ghost ghost added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Jun 12, 2021
@denelon
Copy link
Contributor

denelon commented Jun 14, 2021

winget upgrade lists all packages with possible upgrades.
winget upgrade -all executes the upgrades for all possible packages with upgrades.

@pjaj
Copy link
Author

pjaj commented Jun 14, 2021

Mea culpa, I'm new to winget. I'll close this suggestion as already implemented.

@pjaj pjaj closed this as completed Jun 14, 2021
@denelon
Copy link
Contributor

denelon commented Jun 14, 2021

@pjaj, no worries. Thanks for making the suggestion 😊

I know how hard it is to find duplicate issues.

@denelon denelon removed the Needs-Attention Issue needs attention from Microsoft label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

2 participants