Build and packaging library
  • Python 54.3%
  • Makefile 33.2%
  • Shell 12.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 955fb8101b
cmds.projects.lib.templates: merge_values(): Don't split strings
is_list_dict() accepts a string value as a list-dict value, and
render_values_to_list_dict() passes such values through unchanged.
merge_values() then merges them with list extension, and [] += 'xyz'
appends the individual characters, so every string value ends up as a list
of its characters. Normalize string values to single-element lists in
render_values_to_list_dict(), so that merge_values() appends whole values.

jw-pkg projects create-pkg-config is hit by this, because all of its values
are strings: the generated file contains one line per character. The code
path was just never exercised lately.

Add unit tests for the value layout guards, the normalization, and the
merging of the three supported layouts.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-09-13 21:08:53 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf conf / scripts: Fix unprivileged "make install" 2026-08-18 17:27:32 +02:00
doc doc: Add subdir 2026-08-19 20:51:11 +02:00
make py-topdir.mk: Add test tree to default check roots 2026-09-13 16:08:51 +02:00
scripts python-tools.sh: Annotate generated conftest.py 2026-09-13 15:42:29 +02:00
src cmds.projects.lib.templates: merge_values(): Don't split strings 2026-09-13 21:08:53 +02:00
test cmds.projects.lib.templates: merge_values(): Don't split strings 2026-09-13 21:08:53 +02:00
.gitignore cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
HASH Release 1.0.0-263@suse-tumbleweed/x86_64 2026-09-11 23:37:23 +00:00
Makefile cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
RELEASES Release 1.0.0-263@suse-tumbleweed/x86_64 2026-09-11 23:37:23 +00:00
VERSION Start version: 1.0.0-263 2026-09-11 23:10:53 +00:00