jw-pkg/src/python/jw/pkg/cmds/projects
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 61280e4695
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m43s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m42s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m13s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m21s
CI / Packaging test (push) Successful in 0s
cmds.projects.lib.templates: Don't replace escaped markers
format_list_dict() substitutes {key} markers with str.replace(), which also
matches the marker inside ${key} and {{key}}, mangling text meant to
survive verbatim, e.g. the ${prefix} variable reference of a pkg-config
file. The built-in pkg-config template works around that with doubled
braces, which produces {/usr}-style output instead.

Replace the markers with a regular expression that skips markers preceded
by '$' or '{', and let the pkg-config template use the ${prefix} and
${exec_prefix} references pkg-config expects.

Extend the unit tests with marker escaping, value escaping, quoting,
indentation, and the rendering of the built-in templates.

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-09-13 21:08:53 +02:00
..
check py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
lib cmds.projects.lib.templates: Don't replace escaped markers 2026-09-13 21:08:53 +02:00
__init__.py lib.init.detect_modules(): Renovate signature 2026-06-06 23:08:28 +00:00
BaseCmdPkgRelations.py cmds.projects.lib.pkg_relations: Integrate lib.version 2026-09-09 15:37:50 +02:00
Cmd.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdBuild.py CmdBuild.run_make(): Skip projects without buildable dir 2026-09-10 11:44:25 +02:00
CmdCanonicalizeRemotes.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdCflags.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdCheck.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdCommands.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdCreateFile.py cmds.projects.lib.pkg_relations: Integrate lib.version 2026-09-09 15:37:50 +02:00
CmdCreatePkgConfig.py App, lib, cmds: Fix mypy.explicit-override fallout 2026-08-07 18:02:26 +02:00
CmdExepath.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdGetAuthInfo.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdGetval.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdHtdocsDir.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdLdflags.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdLdlibpath.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdLibname.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdListRepos.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdModules.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdPath.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdPkgConflicts.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdPkgProvides.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdPkgRequires.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdProjDir.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdPythonpath.py Revert "cmds.projects.CmdPythonpath: Reverse PYTHONPATH" 2026-08-11 10:41:32 +02:00
CmdRequiredOsPkg.py CmdRequiredOsPkg: Don't modify deps while iterating 2026-09-13 18:28:13 +02:00
CmdSummary.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdTest.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
CmdTmplDir.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
Makefile jw.build.cmds: Move build.cmds -> cmds.projects 2026-01-26 17:58:23 +01:00