PTU5KAS/kas
Claudius Heine 42e83cb7a3 repos: add --whitespace=nowarn to git apply command
Patches contain tailing white space in empty lines around a change, those
are generally expected by git-apply and cause no issue.

However in cases where a patch file is added, removed or modified
in a patch, that patch would necessarily include `- ` or `+ ` lines,
since they operate on patch files.

Applying those patches with git-apply will cause git to print out
warnings about tailing white spaces per default, but still applies the
patch. Those warnings will be picked up by kas, and since they are
coming from stderr, print them out as `ERRORS`.

To solve this add `--whitespace=nowarn` as a parameter to the git-apply
call to silence those warnings.

In case of kas, it is to be expected that patches are added, removed or
changed in meta layers, so those supposedly errors will cause confusion.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2022-05-16 09:12:48 +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 use relative layer dirs to make build relocatable 2022-04-27 15:57:08 +02:00
libkas.py libkas: Update BB_ENV_PASSTHROUGH_ADDITIONS with env_vars 2022-02-22 19:17:17 +01:00
repos.py repos: add --whitespace=nowarn to git apply command 2022-05-16 09:12:48 +02:00
schema-kas.json Allow "deleting" url/path of repo in override 2022-04-11 18:22:38 +02:00