Commit Graph
19 Commits
Author SHA1 Message Date
davidandClaude Opus 5.5 d974b91144 configure: treat an empty settings file like a missing one
edit_json created a settings file from its default only when it was
missing. jq reads no JSON from an empty file and writes nothing back, so
configure ai-servers said a server was added while the sandbox still
blocked it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:13:32 -07:00
davidandClaude Opus 5.5 9dc5eb193d Add upgrade safeguards, hardware setup, sign-in options and Taildrop from Omarchy
shellcheck / shellcheck (push) Failing after 19s
Adapted from Omarchy (github.com/omacom/omarchy) for Arch with GNOME:

- A pacman hook stops a full upgrade run without update (pacman -Syu,
  yay -Syu), which would skip the snapshot and update's checks. update
  and install.sh set COREDESKTOP_ALLOW_PACMAN=1, which the hook finds on
  pacman or any process above it; you can set it too.
- When the Arch upgrade stops on files no package owns, update lists
  them and asks to move them to /var/lib/coredesktop/replaced and try
  again, putting back what the retry didn't replace. When packages
  conflict, it runs pacman again so you can choose.
- update and install keep the computer from sleeping until they finish.
- system/hardware.sh (install, and a migration): the Wi-Fi country from
  the time zone, thermald and intel-lpmd on Intel laptops, and Wi-Fi 6
  on Intel BE200/BE211 cards, whose driver gets Wi-Fi 7 wrong.
- configure security-key and configure fingerprint: touch a FIDO2 key
  or a finger instead of typing your password for sudo and polkit,
  falling back to the password. Each shows only when the hardware is
  there. The fingerprint skips to the password with the lid shut.
- webapp: put a website in the app grid as its own app window.
- Taildrop: Files' Scripts > Send with Tailscale, and a user service
  that saves files sent here to Downloads, started when configure
  tailscale joins.
- A NetworkManager dispatcher script pauses a Tailscale exit node while
  you sign in to a captive portal, and resumes it once online.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 12:08:06 -07:00
david 1d9d759fb1 Turn off Winboat container and do some sandboxing
shellcheck / shellcheck (push) Failing after 16s
2026-11-02 09:05:22 -07:00
david 448c8b43f1 fix agent networking
shellcheck / shellcheck (push) Failing after 17s
2026-11-02 08:57:45 -07:00
david 13057fe792 improve configure formatting
shellcheck / shellcheck (push) Successful in 11s
2026-10-31 08:15:11 -06:00
david 6770150b11 fix the fail2ban issues and other things
shellcheck / shellcheck (push) Successful in 11s
2026-10-31 08:10:05 -06:00
david 17c1ba10f7 fix the fail2ban issues and other things 2026-10-31 08:10:02 -06:00
davidandClaude Opus 5.5 d9da8208dd Add shellcheck lint and bats tests
make lint runs shellcheck on every tracked bash script, make test runs
the bats suite in tests/, and make check runs both. The tests cover the
update orchestrator (hook isolation, failure reporting, pull and
free-space handling) and utils.sh (migrations, package install and
removal, services, initramfs build check), using stub commands so they
never touch the real system.

Fixes from the first lint run: 20-aur.sh stops if a cd fails rather
than building or deleting in the wrong directory, and
80-gnome-extensions.sh refuses to rm -rf with an empty path. The rest
are false positives, silenced in .shellcheckrc or per line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 16:15:12 -06:00
david 7e08a048ca more work on configure 2026-10-30 11:45:16 -06:00
david c0df6537ca test core for configure 2026-10-30 11:01:57 -06:00
david 14d2bd4cd5 change password Core 2026-10-30 06:48:02 -06:00
david 7209f7424c improvements to configure 2026-10-29 06:36:51 -06:00
david 222277716d more configure fixes 2026-10-27 06:06:28 -06:00
david 1d2d4dc7f1 move tailscale to own configure step 2026-10-27 05:53:49 -06:00
david 488b085713 fix backup 2026-10-26 16:21:27 -06:00
david 8c8c59d6d5 include backup functionality 2026-10-26 16:13:05 -06:00
david 32ac3828cb configure fixes for headscale and nextcloud 2026-10-26 15:36:58 -06:00
david 1bdd38d2b1 more configure options 2026-10-26 15:33:27 -06:00
david bbd6b83f64 Add the configure app 2026-10-26 15:16:53 -06:00