Repository navigation
0.1.9
What's Changed since v0.1.8
Fixes
- Metrics skip remote factories:
district metricsnow 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 graphqlsearch.gh issue/pr list --searchhad 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.shis 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 recordsfailed=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 pausedand no longer fails apply on its own. (#161)
Features
- Engine upgrades follow releases: with no ref,
district apply --upgradetargets the latest published non-prerelease Factory release. Tracking a branch now needs--upgrade BRANCHor[defaults].factory_track_branch = true.district statusflags hosts whose engine is behind the latest release. (#174) - Remote onboarding:
district add OWNER/REPO --host NAMEclones 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 applyFresh install:
uv tool install git+https://github.com/mikeroySoft/district@v0.1.9Full Changelog: v0.1.8...v0.1.9