PTU5KAS/kas
Felix Moessbauer ffabaa19f3 extend dump plugin to support resolving revisions
This patch adds a flag --resolve-refs to the dump plugin.
Once enabled, all relative refspecs (e.g. branch or tag names) are
resolved and replaced by their exact revision (before patches are
applied).
When re-running kas on the flattened and expanded config file, the build
is executed against exactly the versions of the dependencies that where
used when dumping the configuration. This helps to keep track of build
versions for future use (e.g. reproducible builds) or for
version-tracking tools like renovate.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2022-12-13 14:39:43 +01:00
..
plugins extend dump plugin to support resolving revisions 2022-12-13 14:39:43 +01:00
__init__.py __init__: Better support introspection 2018-12-07 09:56:09 +01:00
__main__.py Drop unnecessary shebang lines 2021-08-30 21:56:49 +02:00
__version__.py add conditional environment variables 2022-11-10 19:03:48 +01:00
config.py config: Symplify .config.yaml file handling 2022-08-03 13:00:55 +02:00
configschema.py yml: Move json schema from python dict to standalone json file 2021-10-05 10:28:24 +02:00
context.py forward build-concurrency related env vars 2022-10-19 11:02:17 +02:00
includehandler.py includehandler: Simplify code 2021-10-01 11:16:28 +02:00
kas.py plugins: Invoke setup_parser_common_args explicitly from setup_parser 2021-10-09 15:00:05 +02:00
libcmds.py libcmds: Remove protected accesses to Config 2022-07-12 09:21:07 +02:00
libkas.py libkas: Fix typo 2022-11-11 13:36:12 +01:00
repos.py add revision attribute to repo class 2022-12-13 14:39:25 +01:00
schema-kas.json add conditional environment variables 2022-11-10 19:03:48 +01:00