Closed williamoconnorme closed 9 months ago
@denelon
Can I ask what capability you're trying to use that's only available in the 1.6 schema? I believe the only new fields in 1.6 schema currently are UpgradeBehavior: deny
, and DownloadCommandProhibited: <boolean>
With the release of CLI 1.6, I'm looking to use the Dependencies
field which I seen was a feature of CLI 1.6
I can see now that it's available in schema 1.5.0 so I may not require this for my use case any more as I previously thought this feature was a part of the schema version matching CLI version
I can see that it looks like this is available in 1.5.0 schema now.
Hi @williamoconnorme,
I believe there might not be a 1.6.0
manifest version, as there's no 1.2.0
manifest version.
Here is a 1.5.0 Schema dependency example using our most common dependency:
Dependencies:
PackageDependencies:
- PackageIdentifier: Microsoft.VCRedist.2015+.x64
Installers:
field. x86
package and the 64-bit complement for an x64
package.
InstallerSha256:
line.
) to match the installer section indent. As YAML is whitespace-delineated. Does this help?
Can I ask what capability you're trying to use that's only available in the 1.6 schema? I believe the only new fields in 1.6 schema currently are
UpgradeBehavior: deny
, andDownloadCommandProhibited: <boolean>
UpgradeBehavior: deny
is needed for many of the apps that handle their own upgrades internally and that react badly / weirdly to being installed again instead of letting them handle the upgrades:
1.6 validation is in production.
Description of the new feature/enhancement
WinGetSvc-Validation (Pull Request Validation) should support package manifest version 1.6.0
Currently the latest version supported is 1.5.0
This prevent packages from being submitted with the 1.6.0 schema
https://github.com/microsoft/winget-pkgs/pull/120285/checks?check_run_id=17235916269
Proposed technical implementation details (optional)
No response