zephyr/scripts/ci
Yves Vandervennet 4f34a410fa scripts: ci: check_compliance: fix split on ":" for Windows
The method get_kconfig_dts() relies on str's split() to split
lines into fields separated by ':'. The second field is an
absolute path to a file.
On Windows, an absolute path includes a drive's letter followed
by ':' which breaks the current code.
On Linux, although rare, a file or directory name may also include
':', which would also break the code.

The fix is to constraint the number of splits to 1.
The code then becomes:

 _,b = line.split(":", 1)

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2024-02-28 22:11:16 -05:00
..
stats ci: pr stats: deal with trivial+hotfix PRs 2024-02-02 05:54:04 -05:00
check_compliance.py scripts: ci: check_compliance: fix split on ":" for Windows 2024-02-28 22:11:16 -05:00
errno.py
guideline_check.py scripts: ci: guideline_check: support other repos 2023-12-15 14:38:02 +01:00
pylintrc
tags.yaml ci: testplan: fix mcumgr path 2023-11-14 17:49:40 -05:00
test_plan.py twister: drop riscv32/64 support 2024-02-26 12:49:06 +01:00
twister_ignore.txt ci: expand ignore list on PRs 2024-02-06 15:39:23 -05:00
upload_test_results_es.py ci: scripts: Add run_id and run_attempt context on upload to ES 2024-02-26 11:32:17 +00:00
upload_test_results.py
version_mgr.py ci: version_mgr: minor cleanups 2023-12-20 11:57:36 +00:00