Python utility library
  • Python 98.5%
  • Makefile 1.3%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 7595bfc21e
load_yaml: Add target path support to jw.include
jw.include now supports specifying a target path where the included
content should be merged, using syntax similar to named links:

  jw.include: "path.to.target|/path/to/file.yaml"

The file's contents are deep-merged into the target path in the
resulting document tree.  If the target path doesn't exist,
intermediate dicts are created automatically.

Original behavior (plain string) still works:

  jw.include: "/path/to/file.yaml"

This merges the file at the root of the document.

Mixed usage is supported:

  jw.include:
    - "/path/to/plain.yaml"
    - section|/path/to/target.yaml

Added 8 unit tests covering: plain includes, nested paths, deep paths,
merge with existing, override existing, multiple paths, optional
includes, and mixed plain/path includes.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-12 23:10:12 +00:00
.github/workflows ci.yaml: enable-email-notifications: true 2026-06-08 14:55:11 +02:00
bin Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
conf Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
make stree.StringTree: Add unit tests 2026-08-12 23:10:12 +00:00
scripts Add missing async keywords to jwutils.Cmd.run() reimplementations 2020-02-10 19:49:46 +01:00
src load_yaml: Add target path support to jw.include 2026-08-12 23:10:12 +00:00
test load_yaml: Add target path support to jw.include 2026-08-12 23:10:12 +00:00
.gitignore stree.StringTree: Add unit tests 2026-08-12 23:10:12 +00:00
HASH Release 1.0.0-50@suse-tumbleweed/x86_64 2026-06-14 23:29:46 +00:00
Makefile Makefile: Include py-topdir.mk 2026-06-12 04:55:47 +02:00
RELEASES Release 1.0.0-50@suse-tumbleweed/x86_64 2026-06-14 23:29:46 +00:00
VERSION Start version: 1.0.0-50 2026-06-14 23:08:54 +00:00