5b3e238128
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> |
||
---|---|---|
.. | ||
__init__.py | ||
build.py | ||
checkout.py | ||
dump.py | ||
for_all_repos.py | ||
menu.py | ||
shell.py |