debian-forge/osbuild
Christian Kellner e77d95f4b7 osbuild: add meta module for metadata information
This new module contains utilities that help to introspect parts
that constitute the inner parts of osbuild, i.e. its stages
and assembler (which is also considered a type of stage in
this context). It contains the `StageInfo` class that can that
contains meta-information about the individual stage, such as
a short information (`info`), a longer description (`desc`) and
its JSON schema. A new Schema class represents schema data and
has a `validation` method that can be used to validate that json
data conforms to said schema.
A `Index` class can be used to obtain `StageInfo` and `Schema`
for entities identified via `klass` and `name`.
A top level `validate` method is introduced that can validate
manifest data.
Internally it uses the `jsonschema` package so add that as a
requirement and Install this dependency in the CI.
2020-05-06 15:42:23 +02:00
..
util osbuild: move osrelease parser into ./util 2020-04-28 15:39:00 +02:00
__init__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
__main__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
api.py osbuild: convert to jsoncomm 2020-04-21 13:47:38 +02:00
buildroot.py Revert "buildroot: explicitly invoke runners via python3" 2020-05-05 16:57:50 +02:00
loop.py loop: fix FD leak in mknod() 2020-04-21 13:02:29 +02:00
main_cli.py main_cli: Add missing newlines 2020-05-06 15:42:23 +02:00
meta.py osbuild: add meta module for metadata information 2020-05-06 15:42:23 +02:00
objectstore.py osbuild: cleanup contextlib usage 2020-04-21 16:02:20 +02:00
pipeline.py osbuild: move osrelease parser into ./util 2020-04-28 15:39:00 +02:00
remoteloop.py osbuild: convert to jsoncomm 2020-04-21 13:47:38 +02:00
sources.py sources: make cleanup explicit 2020-04-24 11:48:16 +02:00
tmpfs.py osbuild: split package into separate files 2019-08-21 09:56:50 +04:00
treesum.py treesum: don't use dir_fd parameter in os.scandir() 2019-11-29 00:45:14 +01:00