App: Heave package filter into lib.ExecApp #165

Merged
Jan Lindemann merged 1 commit from jan/feature/20261103-app-heave-package-filter-into-lib-execapp into master 2026-11-03 17:58:02 +01:00 AGit
Owner

App: Heave package filter into lib.ExecApp

The --pkg-filter flag and the JW_DEFAULT_PKG_FILTER env read live in the jw.pkg.App, but the filter could have its merits in every application deriving from lib.ExecApp, so heave the package filter machinery into ExecApp: flag, filter resolution and the cached pkg_filter property. Then have jw.pkg.App use self.pkg_filter.

#### App: Heave package filter into lib.ExecApp The `--pkg-filter` flag and the `JW_DEFAULT_PKG_FILTER` env read live in the `jw.pkg.App`, but the filter could have its merits in every application deriving from lib.ExecApp, so heave the package filter machinery into ExecApp: flag, filter resolution and the cached `pkg_filter` property. Then have `jw.pkg.App` use self.`pkg_filter`.
App: Heave package filter into lib.ExecApp
All checks were successful
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m7s
CI / Packaging - Kali Linux (pull_request) Successful in 4m36s
CI / Packaging test (pull_request) Successful in 0s
9778f7f330
The --pkg-filter flag and the JW_DEFAULT_PKG_FILTER env read live in the
jw.pkg.App, but the filter could have its merits in every application
deriving from lib.ExecApp, so heave the package filter machinery into
ExecApp: flag, filter resolution and the cached pkg_filter property. Then
have jw.pkg.App use self.pkg_filter.

Signed-off-by: Jan Lindemann <jan@janware.com>
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-11-03 17:38:16 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
janware/jw-pkg!165
No description provided.