Add gather-hardware-info.sh — auto-detects most report fields
Deploy / deploy (push) Successful in 4s
Deploy / deploy (push) Successful in 4s
Reads /proc, /sys, and common CLI tools (lscpu, lsblk, lspci, lsusb) to print a YAML block matching data/schema.json: device model (DMI on x86, /proc/device-tree/model on ARM SBCs), form factor (best-effort — battery presence, DMI chassis type, device-tree presence), CPU, RAM, root storage type/size, WiFi chip (PCI, then USB, then falls back to driver name rather than guessing wrong), ethernet. Fields it can't detect (archy_version, install_method, status) are left as clearly-marked TODOs rather than guessed. Local-only — no network calls, changes nothing. Tested for real on this box (a QEMU VM): correctly identified it as a VM, correctly fell back to "other" with a TODO for form_factor rather than guessing, output validated as parseable YAML. Passes shellcheck clean. Linked from the homepage, report.html, and CONTRIBUTING.md. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,8 @@ a:hover { color: var(--accent); }
|
||||
|
||||
header p { color: var(--muted); max-width: 70ch; }
|
||||
header .cta { color: var(--text); }
|
||||
header .cta-secondary { color: var(--muted); font-size: 0.85rem; max-width: 70ch; }
|
||||
header .cta-secondary code { background: var(--panel); padding: 0.1rem 0.35rem; border-radius: 3px; color: var(--text); }
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user