This website requires JavaScript.
Explore
Help
janware
/
jw-pkg
Watch
1
Code
Pull requests
Activity
Actions
master
jw-pkg
/
test
/
unit
/
python
/
jw
/
pkg
/
lib
/
pf
/
Makefile
4 lines
93 B
Makefile
Raw
Permalink
Normal View
History
Unescape
Escape
lib.PackageFilter: Add unit tests PackageFilterString is pure regex logic without test coverage. Add unit tests for the url=~ filter, packages without a url, whitespace around the operator, and the rejection of unsupported filter definitions. Signed-off-by: Jan Lindemann <jan@janware.com> Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.85.1
2026-09-08 22:37:09 +02:00
TOPDIR
=
../../../../../../..
i
n
c
l
u
d
e
$(
TOPDIR
)
/
m
a
k
e
/
p
r
o
j
.
m
k
lib.pf.Pkg: Consolidate PackageFilter, drop PackageFilterString PackageFilterString and Pkg are duplicates. The PackageFilter and FileContextFilter base classes live in lib/PackageFilter.py, imported by Pkg, Distro, and the tests. Move the two base classes into lib/pf/Pkg.py (where Pkg already lives), drop PackageFilterString, delete lib/PackageFilter.py, and repoint Distro and the tests to the new location. Move the test suite with the module to test/.../pf/Pkg/. 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 11:23:52 +01:00
i
n
c
l
u
d
e
$(
JWBDIR
)
/
m
a
k
e
/
d
i
r
s
.
m
k
Copy permalink