jw-pkg/test/integration
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 2fad5d189c
lib.Distro.pkg_files(): Take list[str] | None
Distro.pkg_files() takes a package name and returns a list of files in that
package. This commit generalizes that - pass None to it and get the list of
all packaged files in the system, and pass a list of strings to retrieve
all files belonging to the named packages.

The same arguments are propagated to _pkg_files(), which in turn propagates
them to list_files().

This allows faster generation of file lists than before. Having to retrieve
a list of matching packages and query each package for its contained files
can be collapsed into one or two backend calls.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-10-16 09:40:22 +02:00
..
jw_pkg lib.Distro.pkg_files(): Take list[str] | None 2026-10-16 09:40:22 +02:00
Makefile test: Add subdirectory with integration test 2026-06-25 14:40:53 +02:00