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

Option for dry run #2007

Open
davvolun opened this issue Mar 8, 2022 · 2 comments
Open

Option for dry run #2007

davvolun opened this issue Mar 8, 2022 · 2 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@davvolun
Copy link

davvolun commented Mar 8, 2022

Many package managers have an option to simply show me what is going to occur, for example winget upgrade --all --dry-run might show me what is going to happen without actually changing the packages on the disk; including, possibly, running some pre-check stuff like checking hashes or downloading the packages to prep them for install/upgrade. Basically a pre-flight check.

Note that this is similar to seeing available versions from winget list, but would be slightly different, effectively somewhere in between winget list to find packages with available upgrades and winget upgrade --all which would do the full upgrade.

@ghost ghost added the Needs-Triage Issue need to be triaged label Mar 8, 2022
@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. and removed Needs-Triage Issue need to be triaged labels Mar 8, 2022
@Trenly
Copy link
Contributor

Trenly commented Mar 8, 2022

Note that this is similar to seeing available versions from winget list, but would be slightly different, effectively somewhere in between winget list to find packages with available upgrades and winget upgrade --all which would do the full upgrade.

Have you tried winget upgrade with no arguments?

@assarbad
Copy link

assarbad commented Jul 1, 2022

@Trenly thanks this just helped me! But I'll admit that I was also missing this option and it appears counterintuitive that it doesn't exist.

Also, for me it lists items which it doesn't attempt to upgrade during winget upgrade --all which is rather odd.

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

4 participants