PTU5KAS/kas
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
..
plugins dump plugin: add option to create lockfile 2023-04-23 14:05:04 +02: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 support to override refspec of repos 2023-04-23 14:04:51 +02:00
config.py add support for lockfiles on checkout 2023-04-23 14:05:04 +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 add support for lockfiles on checkout 2023-04-23 14:05:04 +02:00
kas.py plugins: Invoke setup_parser_common_args explicitly from setup_parser 2021-10-09 15:00:05 +02:00
libcmds.py kas: add GIT_CREDENTIAL_USEHTTPPATH environment variable 2023-04-20 22:53:15 +02:00
libkas.py libkas: Fix typo 2022-11-11 13:36:12 +01:00
repos.py add support to override refspec of repos 2023-04-23 14:04:51 +02:00
schema-kas.json add support to override refspec of repos 2023-04-23 14:04:51 +02:00