Files
linux-updater/docs/plans/linux-system-updater/00-status.md
T
soda64 8bec4ed932
Build and Publish Release / Build Packages and Publish (push) Successful in 27s
feat: release v2.0.0 with tab completion, package filtering, db health checks, flatpak and logrotate
2026-10-03 08:31:00 +02:00

3.4 KiB
Raw Blame History

Status: linux-system-updater

  • Gate 1 — Spec & Product: APPROVED 2026-10-02
  • Gate 2 — Architecture: APPROVED 2026-10-02
  • Gate 3 — Program Design: APPROVED 2026-10-02
  • Gate 4 — Slice Plan: APPROVED 2026-10-02

Slices

  • Slice 1 — tracer bullet: minimal end-to-end wire (CLI + detector + tests)
  • Slice 2 — pre-flight health & auto-remediation engine
  • Slice 3 — package managers (apt, dnf, pacman) & routine updates
  • Slice 4 — major release upgrade & configuration engine
  • Slice 5 — packaging & distribution (.tar.gz, .deb, .rpm)
  • Slice 6 — documentation (man page, README, user/admin/developer guides)
  • Slice 7 — safety guardrails: root privilege check on mutating commands & singleton concurrency flock
  • Slice 8 — upgrade dependency auto-installation (ELevate/Leapp/dnf-plugins-core) & container test suites (AlmaLinux 9, Arch Linux)

v2.0.0 Slices (Enterprise Modernization)

  • Slice 9 — Shell tab completion: static Bash & Zsh completions, generator command linux-updater completion [bash|zsh], and package deployment
  • Slice 10 — Package filtering & Security-only updates: --exclude (patterns/pins) and --security flag across apt, dnf, pacman
  • Slice 11 — Pre-flight package DB consistency: check_package_db health check with automated transaction repair (dpkg --configure -a)
  • Slice 12 — Flatpak support & Logrotate: optional --flatpak post-update trigger and /etc/logrotate.d/linux-updater configuration
  • Slice 13 — Version bump to 2.0.0, documentation update (guides, man page Section 8), and package rebuild (.deb, .rpm, .tar.gz)

Notes for a fresh session

  • Project: Multi-distribution Linux system updater in Python.
  • Process: Software Factory 4-gate workflow.
  • All 4 Gates APPROVED on 2026-10-02. Slices 1–8 fully implemented, tested, and verified.
  • Scope: Debian/Ubuntu, RHEL 8/9/Fedora/CentOS/Rocky/AlmaLinux, Arch Linux. Pre-flight health checks with auto-remediation. Routine update + major release-upgrade. Selective package updates (--packages) + target release upgrade (--target-release). Pure Python standard library (compatible with Python >= 3.6). Packaging for .tar.gz, .deb, and .rpm. MAN page (Section 8) + user, admin, developer documentation.
  • Safety: Root privilege checks on mutating operations (update, release-upgrade, clean), while non-root is allowed for inspection (health, check, --dry-run). Advisory flock singleton lock (/var/run/linux-updater.pid with fallback to /tmp/linux-updater-<uid>.pid). Automatic dependency management for major upgrades (ELevate leapp-upgrade on AlmaLinux/Rocky, dnf-plugins-core on Fedora) with clear English error reporting and troubleshooting guidance.
  • Test suites: 47 local unit tests pass (100%). Podman container integration test suite (tests/containers/run_tests.sh) successfully verified across Debian 12, Ubuntu 22.04, Fedora 40, AlmaLinux 8, AlmaLinux 9, and Arch Linux.
  • Physical VM Testbed: 100% verified across 5 full Proxmox VE KVM virtual machines (alma-crash, arch-crash, debian-crash, fedora-crash, ubuntu-crash). All targets completed package installation (.deb, .rpm, .tar.gz), pre-flight health checks, live system updates, physical KVM reboots, post-reboot health verification, and clean rollback to baseline snapshots.
  • Gitea Repository: https://gitea.wired.synology.me/soda64/linux-updater.git on branch main.