PTU5KAS/kas/plugins
Felix Moessbauer 7c0953c08e dump plugin: add option to create lockfile
This patch adds the --lock option to the dump plugin. When enabled, the
output only contains the resolved refspecs of each repo (as valid kas
format). By that, floating branches can be used in the projects kas files
and these can be pinned to fixed revisions, when required.

When using --lock in combination with --inplace, a lockfile named
<filename>.lock.<ext> is created next to the <filename>.<ext>. In case
multiple files are added to the kas CLI, the lockfile is only created
for the first file (by considering the merged information from all files).

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
[Jan: fold in Python 3.6 support]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2023-04-23 14:05:04 +02: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 dump plugin: add option to create lockfile 2023-04-23 14:05:04 +02: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