PTU5KAS/kas
Jan Kiszka 420bf399b3 repos: git: Strip of heads/ prefix when checking out branches
If a remote branch is referenced as refs/heads/<branch>, also drop the
heads/ from the local branch name to have a consistent naming.

This wasn't noticed so far because the primary use case of refs/ is
addressing symbolic refs in upstream, and the related test case
(test_refspec_absolute) was papering over another hidden kas issues
while using refs/heads/.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2023-05-30 13:36:26 +02:00
..
plugins kas-container: track repo dir when using menu cmd 2023-05-30 13:29:12 +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 menu plugin: track root repo dir 2023-05-30 11:07:53 +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 kas-container: track repo dir when using menu cmd 2023-05-30 13:29:12 +02:00
kas.py fix: collect exceptions on task errors 2023-05-19 06:36:31 +02:00
kasusererror.py refactor: port all sys.exit over to kas exceptions 2023-05-05 21:56:32 +02:00
libcmds.py refactor: port all sys.exit over to kas exceptions 2023-05-05 21:56:32 +02:00
libkas.py fix: collect exceptions on task errors 2023-05-19 06:36:31 +02:00
repos.py repos: git: Strip of heads/ prefix when checking out branches 2023-05-30 13:36:26 +02:00
schema-kas.json kas-container: track repo dir when using menu cmd 2023-05-30 13:29:12 +02:00