Skip to content

0.1.9

Choose a tag to compare

@mikeroySoft mikeroySoft released this 09 Nov 16:02
cd85a3f

What's Changed since v0.1.8

Fixes

  • Metrics skip remote factories: district metrics now skips any repo that runs only on a remote host and prints <slug>: skipped (runs on remote host NAME). Before, it read that repo's path on the controller, and a macOS path aborted every hourly refresh. (#181)
  • Metrics search without gh's cached detection: closed-issue and merged-PR counts now come from a paginated gh api graphql search. gh issue/pr list --search had been replaying a cached GraphQL rate-limit error for up to 24 hours, even with quota left. (#181)
  • Temporary /tmp reaper: scripts/tmp-reaper-temp.sh is now tracked in the repo. It gives the owner back permissions on read-only Factory review snapshots before removing them. Failed removals are counted instead of aborting the run, the log line records failed=N, and the script exits non-zero only after that line is written. District does not install this script. (#182)
  • Paused timers: an inactive but enabled factory timer is reported as timer paused and no longer fails apply on its own. (#161)

Features

  • Engine upgrades follow releases: with no ref, district apply --upgrade targets the latest published non-prerelease Factory release. Tracking a branch now needs --upgrade BRANCH or [defaults].factory_track_branch = true. district status flags hosts whose engine is behind the latest release. (#174)
  • Remote onboarding: district add OWNER/REPO --host NAME clones and configures through that host's SSH connection. Remote config replacements are atomic and keep a timestamped backup of any changed bytes. (#129, #165)

Upgrade note

If you set factory_ref = "main" (or any branch) without factory_track_branch = true, district apply now refuses with main: branch tracking requires --upgrade main or [defaults].factory_track_branch = true. That includes the drained apply that district update runs after installing. Choose a policy before upgrading: a release tag or latest-release, or keep the branch and set factory_track_branch = true.

Internal

  • Project page updated for 0.1.9. (#183)

Install / update

district update --to v0.1.9 --yes
district apply

Fresh install:

uv tool install git+https://github.com/mikeroySoft/district@v0.1.9

Full Changelog: v0.1.8...v0.1.9