Commit Graph
4 Commits
Author SHA1 Message Date
kevinveenbirkenbach d2e88b6a8c feat(cli): eliminate runpy warnings for inventory + container entrypoints
* Remove legacy **main** re-export wrappers to avoid `runpy` "already in sys.modules" warnings
* Introduce `cli.deploy.container.command` as the stable implementation module
* Reduce `cli.deploy.container.__main__` to a minimal entrypoint delegating to `command.main`
* Re-export container helpers from package `__init__` without importing `__main__`
* Update unit tests to import/patch the new command module and keep CLI dispatch stable

https://chatgpt.com/share/69484a22-60dc-800f-a23d-068d7c45fe37
2025-12-21 20:27:26 +01:00
kevinveenbirkenbach 2e6d973839 fix(build): align CLI module invocations and stabilize include generation
- Switch Makefile targets to direct module execution (cli.build.*)
- Remove obsolete flags and normalize tree invocation
- Minor formatting cleanups for readability and test stability
- Keep inventory and include paths consistent after package layout migration

https://chatgpt.com/share/6946eac4-eb48-800f-becb-f08420ab03a6
2025-12-20 19:28:14 +01:00
kevinveenbirkenbach a8a4948e39 **fix(cli): restore test patchability after package migration**
* Reintroduced proxy wrappers in cli subcommands to keep unit/integration tests patchable
* Synced test monkeypatches with **main** implementations (tree, deploy, fix, users)
* Fixed ROLES_DIR resolution to repo root after package refactor
* Re-exported private helpers required by tests
* Made cli/setup/users script-safe when executed directly

https://chatgpt.com/share/6946e285-2658-800f-b8f3-b68d66b91be9
2025-12-20 18:52:56 +01:00
kevinveenbirkenbach 5c6afd2cf6 p2pkg executed 2025-12-20 18:25:37 +01:00