7c0953c08e
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> |
||
---|---|---|
.. | ||
plugins | ||
__init__.py | ||
__main__.py | ||
__version__.py | ||
config.py | ||
configschema.py | ||
context.py | ||
includehandler.py | ||
kas.py | ||
libcmds.py | ||
libkas.py | ||
repos.py | ||
schema-kas.json |