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 2e85f3ccf8
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m5s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m30s
CI / Packaging test (pull_request) Successful in 0s
load_yaml: Support jw.include-map-no-absolute
A test that redirects production includes with jw.include-map can silently
read a real production path when the map misses a spec, making the test
depend on the host's /etc without any warning.

Add a jw.include-map-no-absolute key next to the map. When true, an
absolute include spec that matched no map entry raises ValueError, naming
the spec and the including file; an identity entry whitelists an absolute
path that may be read. The key defaults to false and applies to the whole
include tree: _load_yaml() pops it in the top-level document, rejects it
in included documents, and threads it to _parse_include_spec(), where the
check runs before the normal disk lookup.

Signed-off-by: Jan Lindemann <jan@janware.com>
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.6.0
2026-11-20 22:39:55 +01: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 project.conf: Fix pkg.requires.os.run += python3-yaml 2026-10-19 17:59:55 +02:00
scripts Add missing async keywords to jwutils.Cmd.run() reimplementations 2020-02-10 19:49:46 +01:00
src load_yaml: Support jw.include-map-no-absolute 2026-11-20 22:39:55 +01:00
test load_yaml: Support jw.include-map-no-absolute 2026-11-20 22:39:55 +01:00
.gitignore .gitignore: Follow jw-pkg 2026-09-18 10:24:53 +02:00
HASH Release 1.0.0-63 2026-11-19 01:16:50 +01:00
Makefile Makefile: Include py-topdir.mk 2026-06-12 04:55:47 +02:00
VERSION Release 1.0.0-63 2026-11-19 01:16:50 +01:00