Build and packaging library
  • Python 54.1%
  • Makefile 33.7%
  • Shell 12.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann e464daf2f3
Distro._reboot_required(): Fix comparison
The comparison ret != 0 is comparing a Result object against the
integer 0, which is always True since Result has no __eq__ defined.

This commit fixes the bug by comparing ret.status instead, which is
the actual exit code we care about. This satisfies the new
strict_equality mypy rule which enables the comparison-overlap check.

Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL and pi.dev 0.81.1
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-07 18:02:27 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf pyproject.toml: Enable mypy.warn_redundant_casts 2026-08-07 18:02:27 +02:00
make install-files.mk: Add missing target "test" 2026-07-24 13:39:22 +02:00
scripts cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
src Distro._reboot_required(): Fix comparison 2026-08-07 18:02:27 +02:00
test cmds.projects.CmdBuild: Support --dep-flavours 2026-07-24 13:35:27 +02:00
.gitignore cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
HASH Release 1.0.0-249@suse-tumbleweed/x86_64 2026-07-27 23:27:12 +00:00
Makefile cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
RELEASES Release 1.0.0-249@suse-tumbleweed/x86_64 2026-07-27 23:27:12 +00:00
VERSION Start version: 1.0.0-249 2026-07-26 23:10:45 +00:00