docs: changelog entries for the dependency-hook install fixes
Some checks failed
CI / lint (pull_request) Successful in 33s
CI / test (pull_request) Successful in 1m20s
CI / validate-json (pull_request) Successful in 23s
CI / markdown-links (pull_request) Successful in 15s
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
CI / validate-json (push) Waiting to run
CI / markdown-links (push) Waiting to run
Build ISO / build-iso (push) Has been cancelled
Some checks failed
CI / lint (pull_request) Successful in 33s
CI / test (pull_request) Successful in 1m20s
CI / validate-json (pull_request) Successful in 23s
CI / markdown-links (pull_request) Successful in 15s
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
CI / validate-json (push) Waiting to run
CI / markdown-links (push) Waiting to run
Build ISO / build-iso (push) Has been cancelled
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
c2c3cdb1ed
commit
bf36b7621b
1 changed files with 20 additions and 0 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
|
@ -7,6 +7,26 @@ This project uses calendar versioning: `YY.N-stage` (e.g. `26.0-alpha` = 2026, r
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **App installs now copy subdirectories, so dependency hooks actually
|
||||||
|
ship.** `install_from()` only copied an app's top-level files, so the
|
||||||
|
`scripts/` folder — where a provider's `on_install`/`on_start` dependency
|
||||||
|
hooks live — never reached `/var/lib/furtka/apps/<app>/`, and every hooked
|
||||||
|
dependency failed at reconcile with `hook ... missing in provider`. The
|
||||||
|
whole app folder is copied now (`rmtree` + `copytree`, so a reinstall also
|
||||||
|
drops files that were removed upstream). Found during the first real
|
||||||
|
end-to-end run of the mosquitto + zigbee2mqtt pair on a test VM.
|
||||||
|
- **`furtka app install <name>` now runs `on_install` hooks.** Named CLI
|
||||||
|
installs copied the app folders and then ran a bare reconcile, which fires
|
||||||
|
`on_start` but never `on_install` — so a CLI install of a consumer brought
|
||||||
|
its provider up without ever provisioning it (no account created, empty
|
||||||
|
`MQTT_*` values in the consumer's `.env`). Named installs now go through
|
||||||
|
`install_runner.run_install` (writing the plan file first), the same docker
|
||||||
|
phase the API dispatches, so providers come up before consumers and
|
||||||
|
`on_install` hooks run. Path-based installs keep the copy + reconcile
|
||||||
|
dev/test path.
|
||||||
|
|
||||||
## [26.18-alpha] - 2026-06-04
|
## [26.18-alpha] - 2026-06-04
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue