apt lists updates deferred by phasing in an indented block rather than as Inst lines, so they were already excluded from the counts but invisible. The agent now parses that block into phased_packages; the dashboard shows "+N phased" in the Updates column (with a tooltip) and the list on the host page. Phasing never affects status: Ubuntu doesn't phase security updates, and there's nothing to act on until apt offers the update. Run the apt simulation with LC_ALL=C since we parse its messages (the systemd unit already runs in the C locale; manual --print may not). Agent and server 0.3.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
270 B
Python
8 lines
270 B
Python
"""kernelwatch: fleet kernel and reboot status dashboard."""
|
|
|
|
__version__ = "0.3.0"
|
|
|
|
# Version of agent/kernelwatch-agent shipped alongside this server; older agents
|
|
# are noted on the dashboard. tests/test_status.py checks the two stay in sync.
|
|
AGENT_VERSION = "0.3.0"
|