Commit Graph
5 Commits
Author SHA1 Message Date
davidandClaude Opus 5.5 01d24327d9 AUR update: name the packages that failed at the end
shellcheck / shellcheck (push) Successful in 18s
yay installs the other AUR updates after one fails, and its error ends up
thousands of lines above the end of the log (reports CD-EJEKVU and
CD-278CL3: flrig 2.0.12-1 has an extra checksum in its PKGBUILD). Now
20-aur.sh lists what's still out of date and says the next update tries
again. The hook still fails, so these still get reported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 05:51:07 -07: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 c5f06515a0 fix yay updates 2026-10-22 13:13:32 -06:00
david d8d93a45b5 remove interactivity 2026-10-20 07:30:04 -06:00
david 9c5c1e158f new update system 2026-06-10 08:26:38 -06:00