Build and packaging library
  • Python 68.8%
  • Makefile 22.5%
  • Shell 8.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 508bbd613d
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m21s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m10s
CI / Packaging test (pull_request) Successful in 0s
cmds.secrets.lib.FilesContext: Write the compile output unfiltered
The path filter of the exec context filtered the compile's own file
operations: put() and rename() silently no-op on a filtered path, stat()
raises, and the compile swallows that into a false '<missing>' verdict.
A compile-templates run with a path filter therefore reported '@content'
for every template while installing nothing, and left the empty temp files
behind.

The filter scopes the distro's package selection, not the command's own
output. Write the compiled file and its temp unfiltered: put, stat, the
read of the previous output, rename, and unlink. The reads of the template
and of the attribute files keep the filter.

Add a unit test with a context whose package space holds only the template:
the output must be written and no temp must leak.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-09 20:02:51 +01: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 gitignore: Add web compilation artifacts 2026-10-24 18:58:02 +02:00
doc doc: Add subdir 2026-08-19 20:51:11 +02:00
make projects-dir.mk: Fix target pkg-delete-ours filter 2026-11-09 09:22:43 +01:00
scripts pkg.sh: Use md5 for the dput hash option 2026-10-27 08:17:43 +01:00
src cmds.secrets.lib.FilesContext: Write the compile output unfiltered 2026-11-09 20:02:51 +01:00
test cmds.secrets.lib.FilesContext: Write the compile output unfiltered 2026-11-09 20:02:51 +01:00
.gitignore run-success.mk: Record last successful run 2026-09-16 18:16:17 +02:00
HASH Release 1.0.0-288@suse-tumbleweed/x86_64 2026-11-09 09:29:15 +00:00
Makefile .gitignore: Run make gitignore 2026-09-13 23:09:26 +02:00
RELEASES Release 1.0.0-288@suse-tumbleweed/x86_64 2026-11-09 09:29:15 +00:00
VERSION Start version: 1.0.0-288 2026-11-09 08:58:44 +00:00