jw-pkg/test/unit/python
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann f717fe2174
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m12s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 6m36s
CI / Packaging test (pull_request) Successful in 0s
lib.ec.secret_store.KvFile: Use lib.pf.PkgSecrets
Do the filtering outside of KvFile, in a standard way.

KvFile currently instantiates its backend distro with a self-instantiated
backend filter, and doesn't propagate the filter passed to its ctor up to
its base class. This arrangement makes it hard to ensure the class behaves
in a standardish way. Allowing the base class filter to do its work, and
not pass any filter to the backend context, is the more straightforward
architecture, this is what this commit does.

The base class still has some freedom to create a filter. Override the base
class's _create_path_filter() to make sure that filter is a PkgSecrets /
pkg-secrets: filter, anything else is not thought through at this point.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-18 19:13:01 +01:00
..
jw lib.ec.secret_store.KvFile: Use lib.pf.PkgSecrets 2026-11-18 19:13:01 +01:00
Makefile jw.pkg.lib.Uri: Add unit test 2026-06-25 19:08:02 +02:00