PTU5KAS/kas
Harald Seiler 5ecef9f919 Allow "deleting" url/path of repo in override
Make "null" an allowed type for the `url` and `path` properties of a
repository.  This allows "deleting" them in an override kas-file to e.g.
point a repository at a local directory instead of a git remote:

"Original" file:

    repos:
      meta-foo:
        url: https://example.org/foo.git
        refspec: badc0ffee

Override:

    repos:
      meta-foo:
        url:
        path: /path/to/local/foo

Without the explicit "nulling" of the URL, kas would start messing with
the repo in /path/to/local/foo (changing remote URL, switching to a
different rev, etc.).  With this change, we can instead force kas to use
the recipes in that directory untouched.

Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2022-04-11 18:22:38 +02:00
..
plugins build: Resolve handling of -- separator in the absence of a config file 2022-03-14 12:57:11 +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 Allow "deleting" url/path of repo in override 2022-04-11 18:22:38 +02:00
config.py Fall back to .config.yaml if no configuration file given 2021-10-09 15:00:05 +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 context: Add support for relative KAS_WORK/BUILD/REPO_REF_DIR paths 2021-08-18 12:43:09 +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 shell: Add option to keep current environment 2022-02-26 09:20:53 +01:00
libkas.py libkas: Update BB_ENV_PASSTHROUGH_ADDITIONS with env_vars 2022-02-22 19:17:17 +01:00
repos.py repos: git fetch always with quiet flag 2022-02-26 09:21:13 +01:00
schema-kas.json Allow "deleting" url/path of repo in override 2022-04-11 18:22:38 +02:00