2020-08-21 19:43:53 +02:00
|
|
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2020-06-16 16:06:56 +02:00
|
|
|
---
|
|
|
|
$schema: https://json-schema.org/schema#
|
|
|
|
$id: https://calamares.io/schemas/packages
|
|
|
|
additionalProperties: false
|
|
|
|
type: object
|
|
|
|
properties:
|
2020-07-03 21:51:39 +02:00
|
|
|
backend:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- apk
|
|
|
|
- apt
|
|
|
|
- dnf
|
|
|
|
- entropy
|
|
|
|
- packagekit
|
|
|
|
- pacman
|
2020-07-07 13:48:07 +02:00
|
|
|
- pamac
|
2020-07-03 21:51:39 +02:00
|
|
|
- portage
|
|
|
|
- yum
|
|
|
|
- zypp
|
|
|
|
- dummy
|
|
|
|
|
|
|
|
update_db: { type: boolean, default: true }
|
|
|
|
update_system: { type: boolean, default: false }
|
|
|
|
skip_if_no_internet: { type: boolean, default: false }
|
|
|
|
|
|
|
|
operations:
|
|
|
|
type: array
|
2020-07-03 22:06:57 +02:00
|
|
|
items:
|
|
|
|
additionalProperties: false
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
# TODO: these are either-string-or-struct items,
|
|
|
|
# need their own little schema.
|
|
|
|
install: { type: array }
|
|
|
|
remove: { type: array }
|
|
|
|
try_install: { type: array }
|
|
|
|
try_remove: { type: array }
|
|
|
|
localInstall: { type: array }
|
|
|
|
source: { type: string }
|
|
|
|
|
2020-07-03 21:51:39 +02:00
|
|
|
|
|
|
|
required: [ backend ]
|