Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TMHSDigital/Home-Lab-Developer-Tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.15.4
Choose a base ref
...
head repository: TMHSDigital/Home-Lab-Developer-Tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.16.0
Choose a head ref
  • 11 commits
  • 51 files changed
  • 3 contributors

Commits on Nov 3, 2026

  1. fix: report backup failures as errors instead of success

    backupRun used 'backup.sh || echo not found', so any failing backup (locked repo, full disk, wrong password) returned a successful result claiming the script was missing. It now checks for the script separately (exit 127 when missing) and returns the script's exit code and output tail on failure. backupStatus and backupList no longer discard stderr and turn every restic failure into 'No backup repo found'; a missing repository gets a specific hint and other errors keep restic's message.
    
    Fixes #87
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    411297d View commit details
    Browse the repository at this point in the history
  2. fix: aptHistory returns the most recent entries

    The command printed the current history.log first and the rotated archives after it, in lexical glob order, so tail kept lines from old archives (often history.log.9.gz). Archives are now read in reverse numeric order, then the current log last, and zgrep -h drops filename prefixes.
    
    Fixes #89
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    76323e7 View commit details
    Browse the repository at this point in the history
  3. fix: explain the AdGuard/Grafana port 3000 collision in errors and docs

    AdGuard Home and Grafana both default to port 3000, so with no overrides one set of tools reached the other service and the user was told to check authentication. There is no safe new default (port 80 is Nginx Proxy Manager in the reference stack, and AdGuard's port is chosen at setup), so the defaults stay and the HTTP-error messages now name the port, explain the collision and point at HOMELAB_ADGUARD_PORT / HOMELAB_GRAFANA_PORT. The config docs say the same.
    
    Fixes #90
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    ac9d7e0 View commit details
    Browse the repository at this point in the history
  4. fix: require confirm=true for aptUpdate upgrades

    homelab_aptUpdate with upgrade=true ran sudo apt-get upgrade -y with no confirmation, unlike every other state-changing tool. Upgrades now require confirm=true (listing updates does not). CLAUDE.md, the READMEs and the os-update-management skill document the gate.
    
    Fixes #91
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    2f79b2d View commit details
    Browse the repository at this point in the history
  5. fix: alertList state filter and ntfyTopics default topic

    alertList sent ?state=<x>, which Alertmanager v2 ignores, so every filter returned all alerts; states now map to the active/silenced/inhibited/unprocessed flags. ntfyTopics requested /*/json when no topic was given, which ntfy rejects; it now takes one or more comma-separated topics (validated against ntfy's topic charset), falls back to HOMELAB_NTFY_TOPICS, and explains HTTP errors. The notification skill and config docs are updated.
    
    Fixes #108, fixes #109
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    d3cf401 View commit details
    Browse the repository at this point in the history
  6. feat: configurable Uptime Kuma status page slug

    homelab_uptimeKumaStatus always read the status page with slug 'default'. It now accepts an optional slug parameter (lowercase letters, digits and dashes), falls back to HOMELAB_UPTIME_KUMA_SLUG and then 'default', and explains HTTP errors for a missing page.
    
    Fixes #97
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    b5bbe5b View commit details
    Browse the repository at this point in the history
  7. feat: configurable and discovered compose stack files

    composeUp, composeDown, composePull and composePs hardcoded seven compose.*.yml names when no stacks were passed, so any other layout failed. A shared utils/compose.ts now resolves files from HOMELAB_COMPOSE_FILES, or discovers them in the compose directory (compose.base.yml first, the reference stack files in their existing order, then other compose.*.yml, falling back to compose.yaml or docker-compose.yml). The reference layout produces exactly the same command as before. HOMELAB_COMPOSE_DIR is now read at call time.
    
    Fixes #88
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    4dc8a64 View commit details
    Browse the repository at this point in the history
  8. perf: bound remote work in logSearch, serviceLogs, diskUsage, contain…

    …erScan
    
    logSearch read the full log history of every container; it now takes a validated since window (default 24h) passed to docker logs --since, and uses grep -e so patterns starting with '-' work. serviceLogs gains an optional since. diskUsage runs du -x so it stays on one filesystem instead of walking /proc, overlay and network mounts. containerScan accepts a severity list and runs trivy --quiet to drop progress-bar noise.
    
    Fixes #96
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    5154b56 View commit details
    Browse the repository at this point in the history
  9. feat: per-node settings via HOMELAB_NODES env, correct sshTest host

    Every tool accepts a node parameter, but compose dir/files and the restic repo were always read from the global environment, so targeting another node used the primary Pi's paths. HOMELAB_NODES entries can now carry an env object of HOMELAB_* overrides, resolved by nodeSetting(); compose and backup tools use it. homelab_sshTest now reports the user and host of the node it actually tested instead of HOMELAB_PI_HOST.
    
    Fixes #106
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    257eb76 View commit details
    Browse the repository at this point in the history
  10. refactor: shared service HTTP helpers for port, credentials and errors

    Port lookup, credential defaults, the Nginx Proxy Manager login and HTTP client exit-code mapping were copied across about 14 tools and had drifted (certList's NPM login dropped the error mapping; ports were never NaN-checked). utils/service-http.ts now owns them: ports are validated (1-65535) and, like credentials, resolved per node through HOMELAB_NODES env overrides; exit codes 7, 22 and 28 and non-JSON responses map to consistent messages. Remote command strings are unchanged.
    
    Fixes #103
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    cdb4f91 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b2ff468 View commit details
    Browse the repository at this point in the history
Loading