| KAS-DUMP(1) | kas | KAS-DUMP(1) |
kas-dump - kas dump plugin
kas dump [-h] [--skip STEP] [--force-checkout] [--update] [--indent INDENT]
[--sort] [--format {yaml,json}] [--resolve-refs] [--resolve-local]
[--resolve-env | --lock]
[config]
Expand and dump the final config to stdout. when resolving branches, this is done before patches are applied.
This plugin implements the kas dump command.
When this command is executed in default mode, kas will parse all referenced config files, expand includes and print a flattened yaml version of the configuration to stdout. This config is semantically identical to the input, but does not include any references to other configuration files. The output of this command can be used to further analyze the build configuration.
When running with --lock, a locking spec is created which only contains the exact commit of each repository. This can be used to pin the commit of floating branches and tags, while still keeping an easy update path. For details on the locking support, see kas.plugins.lock.
NOTE:
When running with --resolve-local, VCS tracking information of the root repo (the one with the kas-project.yml) is added to the output. The generated file can be used as single input to kas to reproduce the build environment. If the root repo is not under version control or contains uncommitted changes, a warning is emitted.
Please note:
For example, to get a single config representing the final build config of kas-project.yml:target-override.yml you could run:
kas dump kas-project.yml:target-override.yml > kas-project-expanded.yml
The generated config can be used as input for kas:
kas build kas-project-expanded.yml
Positional Arguments
Named Arguments
Possible choices: setup_dir, setup_home, init_setup_repos, repo_setup_loop, finish_setup_repos, repos_checkout, repos_check_signatures, repos_apply_patches, setup_environ, write_bbconfig
Possible choices: yaml, json
kas-project-config(1), kas-checkout(1), kas-lock(1), kas-build(1)
Part of the kas(1) suite.
Daniel Wagner, Jan Kiszka, Claudius Heine
Siemens and contributors, 2017-2025
| June 17, 2025 | 4.8.1 |