jw-pkg/test/integration/jw_pkg
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann ea45cb1fed
cmds.secrets.FilesContext: Re-shuffle attrs precedence
_compile_one_template_file() re-parses the template's own conf line and,
when present, discards the attrs that compile_template_file() merged from
the command-line defaults, the template, the .jw-secret-file, and the
.jw-secret. The merge already orders the sources so that later non-empty
fields override earlier ones; discarding it inverts the order and lets the
template's line override the one the operator placed in the .jw-secret.

Strip the template's conf line from the content and apply the merged attrs
instead, so the .jw-secret conf line takes the last word again, as the
compiler did before the rewrite. The integration test gains a target whose
template and secret both carry a conf line.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.4.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-10-24 22:10:21 +02:00
..
help cmds.posix.CmdCopy: Add --parents 2026-10-17 11:47:06 +02:00
packages test/integration/jw-pkg -> test/integration/jw_pkg 2026-10-16 09:19:48 +02:00
projects test/integration/jw-pkg -> test/integration/jw_pkg 2026-10-16 09:19:48 +02:00
secrets cmds.secrets.FilesContext: Re-shuffle attrs precedence 2026-10-24 22:10:21 +02:00
Makefile test/integration/jw-pkg -> test/integration/jw_pkg 2026-10-16 09:19:48 +02:00