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>
128 lines
4.7 KiB
HTML
128 lines
4.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Report hardware — ArchyHCL</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1><a href="index.html">ArchyHCL</a></h1>
|
|
<p>Fill this in, hit submit — it opens a pre-filled issue on Gitea with everything formatted and ready for a maintainer to merge. You'll still need a (free) Gitea account to actually post it.</p>
|
|
<p>Not sure of your exact CPU/WiFi chip/storage? Run <a href="gather-hardware-info.sh">gather-hardware-info.sh</a> on the machine you tested first — it prints most of these fields for you.</p>
|
|
</header>
|
|
|
|
<main>
|
|
<form id="report-form" class="report-form">
|
|
<div class="field">
|
|
<label for="device_model">Device model *</label>
|
|
<input id="device_model" required placeholder="Lenovo ThinkPad T430">
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="form_factor">Form factor *</label>
|
|
<select id="form_factor" required>
|
|
<option value="laptop">Laptop</option>
|
|
<option value="desktop">Desktop</option>
|
|
<option value="mini-pc">Mini PC</option>
|
|
<option value="sbc">SBC</option>
|
|
<option value="server">Server</option>
|
|
<option value="other">Other</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="cpu">CPU *</label>
|
|
<input id="cpu" required placeholder="Intel Core i5-3320M">
|
|
</div>
|
|
|
|
<div class="field-row">
|
|
<div class="field">
|
|
<label for="ram_gb">RAM (GB) *</label>
|
|
<input id="ram_gb" type="number" min="1" step="1" required placeholder="8">
|
|
</div>
|
|
<div class="field">
|
|
<label for="storage_type">Storage type *</label>
|
|
<select id="storage_type" required>
|
|
<option value="ssd">SSD</option>
|
|
<option value="nvme">NVMe</option>
|
|
<option value="hdd">HDD</option>
|
|
<option value="emmc">eMMC</option>
|
|
<option value="sd">SD card</option>
|
|
</select>
|
|
</div>
|
|
<div class="field">
|
|
<label for="storage_size_gb">Storage size (GB) *</label>
|
|
<input id="storage_size_gb" type="number" min="1" step="1" required placeholder="256">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="wifi_chip">WiFi chip *</label>
|
|
<input id="wifi_chip" required placeholder="Intel Centrino Advanced-N 6205 (or \"none\" if wired-only)">
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="ethernet">Ethernet chip (optional)</label>
|
|
<input id="ethernet" placeholder="Intel 82579LM">
|
|
</div>
|
|
|
|
<div class="field-row">
|
|
<div class="field">
|
|
<label for="archy_version">Archipelago version tested *</label>
|
|
<input id="archy_version" required placeholder="1.8.4-alpha">
|
|
</div>
|
|
<div class="field">
|
|
<label for="install_method">Install method *</label>
|
|
<select id="install_method" required>
|
|
<option value="usb-iso">USB ISO</option>
|
|
<option value="netboot">Netboot</option>
|
|
<option value="existing-os-script">Existing-OS script</option>
|
|
<option value="other">Other</option>
|
|
</select>
|
|
</div>
|
|
<div class="field">
|
|
<label for="tested_date">Date tested *</label>
|
|
<input id="tested_date" type="date" required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="status">Status *</label>
|
|
<select id="status" required>
|
|
<option value="working">Working — no known issues</option>
|
|
<option value="partial">Partial — runs, with specific known issues</option>
|
|
<option value="broken">Broken — does not install or run</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="issues">Issues <span id="issues-required" class="required-hint" hidden>(required for partial/broken)</span></label>
|
|
<textarea id="issues" rows="4" placeholder="What broke, and how you noticed. Include any workaround you found."></textarea>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="notes">Other notes (optional)</label>
|
|
<textarea id="notes" rows="3" placeholder="BIOS/UEFI settings needed, quirks, links to a fuller writeup."></textarea>
|
|
</div>
|
|
|
|
<div class="field">
|
|
<label for="submitted_by">Attribution (optional)</label>
|
|
<input id="submitted_by" placeholder="Your npub, Gitea username, or leave blank">
|
|
</div>
|
|
|
|
<p id="form-error" class="form-error" hidden></p>
|
|
|
|
<button type="submit">Open pre-filled issue on Gitea →</button>
|
|
</form>
|
|
</main>
|
|
|
|
<footer>
|
|
<p>Prefer git? See <a href="https://source.archipelago-foundation.org/ssmithx/ArchyHCL/src/branch/main/CONTRIBUTING.md" target="_blank" rel="noopener">CONTRIBUTING.md</a> for opening a PR directly instead.</p>
|
|
</footer>
|
|
|
|
<script src="report.js"></script>
|
|
</body>
|
|
</html>
|