You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhancements to upgrade (Apps that upgrade themselves) #1163
When the user executes winget upgrade this package would either not be displayed (as having an upgrade available), or it would be displayed in a manner that indicates this behavior.
When the user executes winget upgrade --all this package would not be upgraded.
To be in line with --include-unknown we should add --include-automatic.
We may also want to consider --force to apply all --include-<*> options.
Note: Schema changes have a large surface area: (Client, Validation Pipelines, Publishing Pipelines, REST API, Manifest Creator). This key may be added to the schema ahead of implementing the behavior in the client.
Reacted by mddtest, jharris3299, Ladislau Szomoru, Easton Pillay, mfgabriel92, Karan09, ZeeWanderer, vxna, Dani John, Michael Kellner and 14 more
Isn't this the same as #1137 but targeting a superset of packages as the other issue is only concerned with forced upgrades on launch where this is for all packages that will upgrade themselves, but not necessarily force an upgrade?
Bennet Bleßmann (@Skgland), yes this is a "more generic" case so the publisher could essentially use this for a package that doesn't force an upgrade, but may support the option in their application.
mddtest would you agree this covers the scenario in #1137 as well?
We're thinking about these, and we have looked a bit into the future regarding our plans to support package pinning #476. This would align with pinned packages don't automatically get upgraded with winget upgrade --all.
Activity
Skgland commentedon Jun 15, 2021
Isn't this the same as #1137 but targeting a superset of packages as the other issue is only concerned with forced upgrades on launch where this is for all packages that will upgrade themselves, but not necessarily force an upgrade?
denelon commentedon Jun 15, 2021
Bennet Bleßmann (@Skgland), yes this is a "more generic" case so the publisher could essentially use this for a package that doesn't force an upgrade, but may support the option in their application.
mddtest would you agree this covers the scenario in #1137 as well?
mddtest commentedon Jun 15, 2021
I think it's best to only have it not show updates for ones that force update on launch.
If the app can be updated thought the program at any time it should still fit under the update --all parameter
Update on launch of program. Should be blocked.
Update with in program. Should still show up.
denelon commentedon Jul 1, 2021
We're thinking about these, and we have looked a bit into the future regarding our plans to support package pinning #476. This would align with pinned packages don't automatically get upgraded with
winget upgrade --all.How about:
denelon commentedon Oct 1, 2021
winget-cli/schemas/JSON/manifests/v1.1.0/manifest.installer.1.1.0.json
Lines 367 to 370 in 5a97e26
denelon commentedon Oct 1, 2021
#1427