Build and packaging library
  • Python 54.1%
  • Makefile 33.7%
  • Shell 12.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 105c171908
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m9s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m23s
CI / Packaging test (pull_request) Successful in 0s
lib.App: Find invoked path by walking argv
The discovery re-parse re-parses the full command line at each level
against the subparsers registered so far. A level's subcommand parsers
are not registered until the re-parse descends into them, so the tokens
after the subcommand name are parsed against the current level's
options. An option meant for a deeper level can then collide with a
same-named option of a shallower level, or fail on a missing value.

Replace the re-parse with a single argv walk. The subcommand names at
each level are known once the commands are materialized, so the invoked
path is found by matching tokens against those names and skipping the
options (and the values they consume) that precede them. Walking the
tokens never parses the tail against a half-built parser, so the
collision cannot occur.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-18 01:06:03 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
make defs.mk: Default VERSION -> 0.1.0-0-dev 2026-08-15 20:44:30 +02:00
scripts defs.mk: Default VERSION -> 0.1.0-0-dev 2026-08-15 20:44:30 +02:00
src lib.App: Find invoked path by walking argv 2026-08-18 01:06:03 +02:00
test lib.App: Add a root command slot 2026-08-17 12:53:05 +02:00
.gitignore cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
HASH Release 1.0.0-253@kali-rolling/amd64 2026-08-16 04:15:38 +00:00
Makefile cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
RELEASES Release 1.0.0-253@kali-rolling/amd64 2026-08-16 04:15:38 +00:00
VERSION Start version: 1.0.0-253 2026-08-15 23:22:26 +00:00