jw-pkg/test/unit/python/jw/pkg/lib/Uri
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 0373ae3134
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m17s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m27s
CI / Packaging test (pull_request) Successful in 0s
lib.ExecApp: Rename --pkg-filter to --path-filter
The exec context's default filter selects paths, not just packages, so the
pkg spelling of the option and environment variable that set it no longer
fit. Rename both and some variables accordingly:

- ExecApp: --pkg-filter becomes --path-filter, and the fallback environment
  variable JW_DEFAULT_PKG_FILTER becomes JW_DEFAULT_PATH_FILTER
- Distro: the default_pkg_filter constructor argument and property become
  default_path_filter, matching FileContext, ExecContext, and CopyContext;
  App and KvFile pass the renamed argument
- Adapt the help test's expected output and the unit tests

Signed-off-by: Jan Lindemann <jan@janware.com>
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
2026-11-07 19:37:27 +01:00
..
Makefile test: Move unit tests below jw/pkg 2026-06-25 20:57:05 +02:00
test.py lib.ExecApp: Rename --pkg-filter to --path-filter 2026-11-07 19:37:27 +01:00