Miscellaneous minor fixes #47
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260722-fix/20260722-miscellaneous-minor-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR brings miscellaneous non-critical fixes and improvements across the entire package. All in Python code, except for one shell script (create-mkspec.sh).
lib.distros.suse.Distro: Fix duplicate zypper opts
In non-interactive mode, "zypper dup" runs with the options --force-resolution and --auto-agree-with-licenses duplicated, fix that.
lib.Types: Exception log beautification
Be a bit more verbose if a broken (i.e. non-class-type) type filter parameter gets passed.
cmds.projects.CmdBuild: Code and log beautification
Improve CmdBuild some more:
create-mkspec.sh: Tolerate comma-separated subpackages
subpackages = "run, devel" is not tolerated by create-mkspec.sh. It expects "run devel", which goes against the grain of the other metadata, so make it at least tolerate the more common comma-separated variant.
cmds.CmdPlatform: Fix typo "comamnds" -> "commands"
CmdPlatform's help message contains the string "comamnds", fix that.
lib.ProjectConf: Remove empty line
yapf complains about a superfluous empty line, remove it.