0.5.6 — updates can install again
0.5.4 and 0.5.5 could not install. Both rolled themselves back, and the rollback erased the evidence. This release fixes the cause.
scripts/skylapse-admin — the single script every privileged operation goes through — was committed with Windows line endings. Its shebang became #!/usr/bin/env bash followed by a carriage return, so Linux looked for an interpreter whose name ends in a carriage return, found none, and exited 127. The updater read that failed restart as a bad build and rolled back, exactly as it should have.
If you are on 0.5.3, update normally. 0.5.4 and 0.5.5 are superseded — everything in them is included here.
Fixed
- All tracked text files are now LF in the index, enforced by
* text=auto eol=lfrather than a list of file extensions. The old rule covered*.sh; the script that broke has no extension. - New tests key on a shebang, not a filename, so the next extensionless script is covered without anyone remembering to add it.
Added
- The update screen now says why an update rolled back. The three health gates — restart failed, restarted but stale, started but never healthy — are three different bugs with three different fixes, and the status now distinguishes them. Exit 127 from the helper names the line ending as the likely cause. This rig has no SSH, so a rollback with no reason was a dead end.
Included from 0.5.4 / 0.5.5
- Dew heater card in Settings: enable I²C without a terminal, and see glass temperature, dewpoint and the margin between them.
- A capped heater test pulse (15s maximum, switched off in a
finallyblock) for first power-on.