mirror of
https://github.com/semi-system/broom.git
synced 2026-12-06 23:25:32 +09:00
- the 8 embedded shell/PowerShell scripts move to mgmt/scripts/ (still
include_str! into the binary, byte-identical: same golden key, no client
rebuild); .gitattributes keeps them LF on every checkout
- winstage.rs → winstage/{mod.rs (publish + golden), stage.rs (client
stage bundle), prep.rs (what goes into the golden)}
- publish.rs → golden.rs (upload → raw) + chunks.rs (hashes, manifest,
delta chunks) + publish.rs (Linux iSCSI/zram)
- machines.rs → machines.rs (table) + license.rs (keys, boot reports) +
settings.rs (boot menu, zram, DHCP, guest user)
- api.rs: ApiError/ise/bad/ok shared instead of 4 copies; duplicate now()
helpers use crate::now_secs
- fix: pxe_seen (fed by public endpoints) drops entries older than 30 min;
the driver-set baseline is kept for registered machines only — neither
grows with made-up MACs any more
8 lines
366 B
Plaintext
8 lines
366 B
Plaintext
# Line endings: shell scripts must stay LF (bash in WSL/Linux), cmd scripts CRLF.
|
|
*.sh text eol=lf
|
|
*.cmd text eol=crlf
|
|
*.efi binary
|
|
# Scripts embedded in the binary (include_str!): byte-exact LF on every checkout — CRLF would break the client
|
|
# stage / Linux hooks, and the PowerShell files get CRLF added when written into the golden.
|
|
mgmt/scripts/* text eol=lf
|