jw-pkg/src/python
Jan Lindemann fc6af091eb
lib.Distro.select(): Add filter parameter

Add an optional "filter: PackageFilter|None" parameter to .select(), and if it's not None, call a new version of ._select() with it.

._select() is not abstract anylonger. Its default implementation filters the results of ._select_by_name(), can be reimplemented by deriving classes for better performance, but doesn't have to.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-04-21 21:52:10 +02:00
..
jw lib.Distro.select(): Add filter parameter 2026-04-21 21:52:10 +02:00
Makefile projects.py: Move bulk of code into module 2025-11-15 11:08:52 +01:00