Skip to content

Enhancements to upgrade (Apps that upgrade themselves) #1163

@denelon

Description

@denelon

Description of the new feature/enhancement

Several packages manage upgrades themselves. One example is Visual Studio Code.

Proposed technical implementation details (optional)

Add a key to the manifest to identify packages with this capability.

Placeholder value: "PackageAutoUpgrades" (optional boolean key)

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.

Metadata

Metadata

Assignees

Labels

Area-ManifestThis may require a change to the manifestIssue-FeatureThis is a feature request for the Windows Package Manager client.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions