PTU5KAS/kas/plugins
Felix Moessbauer 5b3e238128 add plugin to dump flattened config
This patch adds a new plugin 'dump' which resolves all kas config
includes and combines them in a single file. The format of the output
file can either be JSON or YAML. In case of YAML, the generated config
fulfills the kas-config schema and can be used as input to kas again.
In addition, the generated files can be used by external tools to
analyse the dependencies and versions of the project.

While the generated configuration is semantically identical to the
input config, we do not guarantee binary compatibility as especially
YAML provides multiple ways to serialize strings and null values.
Not giving this guarantee makes it easier to evolve and maintain the plugin.

The plugin itself extends the checkout plugin, as referenced repos have
to be checked-out first to resolve cross-repo references. This also
requires, that the declared refspec of all referenced repos can actually
be found and checked out.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2022-12-13 14:38:41 +01:00
..
__init__.py add plugin to dump flattened config 2022-12-13 14:38:41 +01:00
build.py build: Resolve handling of -- separator in the absence of a config file 2022-03-14 12:57:11 +01:00
checkout.py config: Pass context to Config constructor 2021-10-09 15:00:05 +02:00
dump.py add plugin to dump flattened config 2022-12-13 14:38:41 +01:00
for_all_repos.py for-all-repos: Add option to keep current env 2022-07-22 14:28:00 +02:00
menu.py Fall back to .config.yaml if no configuration file given 2021-10-09 15:00:05 +02:00
shell.py feat(shell): print bitbake command 2022-08-10 09:41:53 +02:00