zephyr/scripts
Carles Cufi 9f7b786a35 scripts: compliance: Avoid exception when commit message body is empty
Avoid the following exception in the Identity test when the commit body
is empty:

Traceback (most recent call last):
  File "zephyr/scripts/ci/check_compliance.py", line 2053, in main
    n_fails = _main(args)
              ^^^^^^^^^^^
  File "zephyr/scripts/ci/check_compliance.py", line 1988, in _main
    test.run()
  File "zephyr/scripts/ci/check_compliance.py", line 1459, in run
    auth_name, auth_email, body = git(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 3, got 2)

This is triggered because ``%b`` represents the body of the commit
message, which can be empty if there's a single line in it, because the
first line is considered the title.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-05-15 19:31:47 +02:00
..
build code_relocation: Cache list of obj files 2025-03-28 16:17:11 +01:00
checkpatch arch: remove z_arch_esf_t 2025-01-23 16:32:36 +01:00
ci scripts: compliance: Avoid exception when commit message body is empty 2025-05-15 19:31:47 +02:00
coccinelle scripts: coccinelle: add errno as a reserved name 2024-08-22 14:21:53 -04:00
coredump scripts: coredump: Fix loading coredumps when thread info is enabled. 2024-12-09 22:06:23 +00:00
dts edtlib: Expose binding title in node class 2025-05-02 09:15:50 +02:00
footprint scripts: footprint: fix node size computation 2025-05-07 23:03:29 +02:00
generate_usb_vif python: Format and sort imports 2024-11-25 10:07:13 +01:00
gitlint
kconfig scripts: kconfig: introduce dt_nodelabel_exists 2025-03-11 18:54:57 +01:00
logging/dictionary scripts: logging: dictionary: fix parsing of DWARF v5 2024-12-20 12:36:46 +01:00
native_simulator native_simulator: Get latest from upstream 2025-05-12 19:20:37 +02:00
net
profiling scripts: profiling: Add stackcollapse script 2024-08-13 18:28:44 -04:00
pylib twister: harness_config extended by test retries in testcase.yaml 2025-05-13 03:20:10 +02:00
pylint/checkers
release
ruff scripts: Add helper scripts for ruff baseline excludes 2024-11-19 18:36:54 -05:00
schemas twister: harness_config extended by test retries in testcase.yaml 2025-05-13 03:20:10 +02:00
support
tests twister: harness_config extended by test retries in testcase.yaml 2025-05-13 03:20:10 +02:00
tracing tracing: add named event trace 2024-10-17 10:46:52 -04:00
utils scripts: utils: tls_creds_installer: Improvements 2025-04-22 09:59:05 +02:00
west_commands scripts: runners: nrfutil: Check return code after Popen 2025-05-13 17:45:09 +02:00
.gitignore
check_maintainers.py python: Format and sort imports 2024-11-25 10:07:13 +01:00
checkpatch.pl checkpatch: Allow __BYTE_ORDER__ and __aligned__ in toolchain files 2025-02-14 19:12:44 +00:00
checkstack.pl
coccicheck
dump_bugs_pickle.py
gen_gcov_files.py
get_maintainer.py scripts: get_maintainer: check maintenance status 2024-06-28 07:19:49 -04:00
github_helpers.py
list_boards.py scripts: Undo Board.{dir -> directories[0]} renames 2024-10-26 17:14:06 +02:00
list_hardware.py scripts: list_hardware: Do not check qualifiers for run once config 2024-10-26 17:14:06 +02:00
list_shields.py
make_bugs_pickle.py ci: scripts: do not count PRs labeled as bug in snapshot 2024-07-12 16:10:13 -04:00
requirements-actions.in actions: update requirements-actions.in 2025-04-01 16:26:22 +02:00
requirements-actions.txt actions: update requirements-actions.in 2025-04-01 16:26:22 +02:00
requirements-base.txt scripts: make sure we do not install vulunerable python packages 2025-03-22 14:03:56 -04:00
requirements-build-test.txt scripts: twister: Add CTest harness 2025-01-10 04:12:42 +01:00
requirements-compliance.txt scripts: make sure we do not install vulunerable python packages 2025-03-22 14:03:56 -04:00
requirements-extras.txt scripts: make sure we do not install vulunerable python packages 2025-03-22 14:03:56 -04:00
requirements-run-test.txt scripts: make sure we do not install vulunerable python packages 2025-03-22 14:03:56 -04:00
requirements.txt
series-push-hook.sh
set_assignees.py ci: set_assignee: don't allways pick next area when submitter = assignee 2025-04-23 17:54:38 +02:00
snippets.py sysbuild: Add support for snippets 2024-12-27 07:18:13 +01:00
spelling.txt scripts: RISCV instruction SEPC 2024-08-27 10:48:58 -04:00
tags.sh
twister scripts: twister: Python Version Guard 2024-11-04 17:24:24 -05:00
valgrind.supp
west-commands.yml scripts: add "west gtags" command 2025-03-07 19:57:00 +01:00
zephyr_module.py scripts: zephyr_module now handles when unable to retrieve git rev 2025-05-02 10:39:03 +02:00