cmds + lib: Code and log beautification #30

Merged
Jan Lindemann merged 3 commits from jan/feature/20260624-cmds-projects-cmdbuild-annotate-types into master 2026-06-24 21:37:47 +02:00 AGit

lib: More result log beautification

This commit adds more tweaks to shell command output in order to make it nicer. The biggest patch is in Result.__summarize(), which makes it more versatile, and allows removal of some code in SSHClient.

App sees some independent, minor result format beautification.

cmds.pkg.CmdInstall + cmds.posix.CmdCopy: Fix help

The commands "packages install" and "packages copy" have nonsensical help texts, fix that.

cmds.projects.CmdBuild: Annotate types

CmdBuild lacks consistent type annotation, add that.

#### lib: More result log beautification This commit adds more tweaks to shell command output in order to make it nicer. The biggest patch is in Result.__summarize(), which makes it more versatile, and allows removal of some code in SSHClient. App sees some independent, minor result format beautification. #### cmds.pkg.CmdInstall + cmds.posix.CmdCopy: Fix help The commands "packages install" and "packages copy" have nonsensical help texts, fix that. #### cmds.projects.CmdBuild: Annotate types CmdBuild lacks consistent type annotation, add that.

This commit adds more tweaks to shell command output in order to make it nicer. The biggest patch is in Result.__summarize(), which makes it more versatile, and allows removal of some code in SSHClient.

App sees some independent, minor result format beautification.

Signed-off-by: Jan Lindemann <jan@janware.com>

The commands "packages install" and "packages copy" have nonsensical help texts, fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
cmds.projects.CmdBuild: Annotate types
Some checks failed
CI / Packaging - Kali Linux (pull_request) Failing after 1m46s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Failing after 2m1s
CI / Packaging test (pull_request) Failing after 0s
9623870f9a

CmdBuild lacks consistent type annotation, add that.

Signed-off-by: Jan Lindemann <jan@janware.com>
Jan Lindemann scheduled this pull request to auto merge when all checks succeed 2026-06-24 20:52:38 +02:00
Jan Lindemann changed title from cmds.projects.CmdBuild: Annotate types to cmds + lib: Code and log beautification 2026-06-24 20:53:44 +02:00
Jan Lindemann force-pushed jan/feature/20260624-cmds-projects-cmdbuild-annotate-types from 9623870f9a
Some checks failed
CI / Packaging - Kali Linux (pull_request) Failing after 1m46s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Failing after 2m1s
CI / Packaging test (pull_request) Failing after 0s
to 8952d1d22d
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m3s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m17s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m6s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m19s
CI / Packaging test (push) Successful in 0s
2026-06-24 21:24:31 +02:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
janware/jw-pkg!30
No description provided.