Repository navigation
Add Markets to manifest #1241
Description
Description of the new feature/enhancement
The new store source we are working on requires information regarding the market a given user is in. We need to extend the manifest to we can support behaviors related to markets.
This would be optional, and a manifest could specify either an allow list, or a deny list.
Proposed technical implementation details (optional)
Markets will have an "Allow" list and a "Exclusion" list.
If the client receives both lists and any individual market is in both lists the client will not proceed.
And the client will inform the user the manifest is invalid due to markets.
If the client receives either (but only one list) the client will only evaluate based on the list it received
If we receive an allow list:
If the client is in the market included in the allow list, then the install will proceed.
If the client is not in the market included in the allow list then the install will not proceed.
And the client will inform the user that the package is not allowed in their market.
If we receive an Exclusion list:
If the client is in the market included in the exclusion list, then the install will not proceed.
And the client will inform the user that the package is not allowed in their market.
If the client is not in the market included in the exclusion list, then the install will proceed.
If the client receives both an allow list and an exclusion list the client will behave as though it only received an allow list.
Installers:
- InstallerType: exe
InstallerArchitecture: x64
InstallerSHA256: 12341234123412341234123412341234123412341234
InstallerURL: https://www.contoso.com/awesomeapp/1.0.0/awesomeapp.x64.exe
Markets:
AllowedMarkets:
- DE
ExcludedMarkets:
- USMetadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
denelon commentedon Oct 1, 2021
winget-cli/schemas/JSON/manifests/v1.1.0/manifest.installer.1.1.0.json
Lines 332 to 353 in 5a97e26
#1427
denelon commentedon Oct 1, 2021
This will be completed when winget-pkgs supports the 1.1 schema.