jw-pkg/src/python
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 4e5a4754af
cmds.projects.lib.pkg_relations: Integrate lib.version
- The pkg_relations() function is a horribly bad read. It contains a
  mind-bending amount of interwoven case distinctions that are not clearly
  reflected in the participating variable and function names. Much of it is
  version handling. That's intricate by nature, but much of it has now been
  implemented in the lib.version module, so moving the logic there makes
  the function a good deal more readable than before. That's most of what
  this commit does.

- Use version syntax macros from lib.version instead of
  pkg_relations-defined macros, and fix the fallout in BaseCmdPkgRelations
  and CmdCreateFile.

- Use lib.version also as a central place for dep string parsing from App.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-09-09 15:22:19 +02:00
..
jw cmds.projects.lib.pkg_relations: Integrate lib.version 2026-09-09 15:22:19 +02:00
Makefile projects.py: Move bulk of code into module 2025-11-15 11:08:52 +01:00