license: validate yaml conf

This commit is contained in:
udeved 2016-09-19 09:29:52 +02:00
parent b593682c0c
commit 8a3047f1ab

View File

@ -3,21 +3,21 @@
--- ---
# YAML: list of maps. # YAML: list of maps.
entries: entries:
- id: nvidia # Entry identifier, must be unique. Not user visible. YAML: string. - id: nvidia # Entry identifier, must be unique. Not user visible. YAML: string.
name: Nvidia # Pretty name for the software product, user visible and untranslatable. YAML: string. name: Nvidia # Pretty name for the software product, user visible and untranslatable. YAML: string.
vendor: Nvidia Corporation # Pretty name for the software vendor, user visible and untranslatable. YAML: string, optional, default is empty. vendor: Nvidia Corporation # Pretty name for the software vendor, user visible and untranslatable. YAML: string, optional, default is empty.
type: driver # Package type for presentation, not user visible but affects user visible strings. YAML: string, allowed values: driver, gpudriver, browserplugin, codec, package, software; optional, default is software. type: driver # Package type for presentation, not user visible but affects user visible strings. YAML: string, allowed values: driver, gpudriver, browserplugin, codec, package, software; optional, default is software.
url: http://developer.download.nvidia.com/cg/Cg_3.0/license.pdf # Url of license text to display in a web view. YAML: string. url: http://developer.download.nvidia.com/cg/Cg_3.0/license.pdf # Url of license text to display in a web view. YAML: string.
required: false # If set to true, the user cannot proceed without accepting this license. YAML: boolean, optional, default is false. required: false # If set to true, the user cannot proceed without accepting this license. YAML: boolean, optional, default is false.
- id: amd - id: amd
name: Catalyst name: Catalyst
vendor: "Advanced Micro Devices, Inc." vendor: "Advanced Micro Devices, Inc."
type: gpudriver type: gpudriver
url: http://support.amd.com/en-us/download/eula url: http://support.amd.com/en-us/download/eula
required: false required: false
- id: flashplugin - id: flashplugin
name: Adobe Flash name: Adobe Flash
vendor: Adobe Systems Incorporated vendor: Adobe Systems Incorporated
type: browserplugin type: browserplugin
url: http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf url: http://www.adobe.com/products/eulas/pdfs/PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf
required: true required: true