<feed xmlns='http://www.w3.org/2005/Atom'>
<title>archsetup/scripts/games.sh, branch main</title>
<subtitle>Builds a full dev workstation from a bare Arch Linux install.
</subtitle>
<id>https://git.cjennings.net/archsetup/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/archsetup/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/archsetup/'/>
<updated>2026-05-17T19:36:57+00:00</updated>
<entry>
<title>refactor(scripts/games): array + loop, flathub remote check, failure summary</title>
<updated>2026-05-17T19:36:57+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-17T19:36:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/archsetup/commit/?id=79f027d4fa8a0e5abb32c6cf8c21586b73c77a39'/>
<id>urn:sha1:79f027d4fa8a0e5abb32c6cf8c21586b73c77a39</id>
<content type='text'>
Three things were wrong with the old script:

- One line had a duplicate `flathub` argument (`flatpak install ...
  flathub flathub org.gnome.Crosswords`). Flatpak tolerated it; still
  a typo.
- Nothing added the flathub remote, so a fresh machine without it would
  fail on every line.
- 24 nearly identical `flatpak install` lines with no central handling
  if one app failed.

I moved the app IDs into a single `APPS=()` array (sorted) and looped.
The script now runs `flatpak remote-add --if-not-exists --user flathub
https://flathub.org/repo/flathub.flatpakrepo` up front, collects any
failed apps into a `failed` array, and prints a summary plus a non-zero
exit at the end if anything didn't install. I used `set -uo pipefail`
rather than `-euo` on purpose so a single failed install doesn't abort
the rest of the run.
</content>
</entry>
<entry>
<title>fix(testing): remove obsolete --skip-slow-packages option</title>
<updated>2026-01-25T00:52:34+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-01-25T00:52:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/archsetup/commit/?id=7d0f90da66985b402c6a25eb3eca8cc9e6060ced'/>
<id>urn:sha1:7d0f90da66985b402c6a25eb3eca8cc9e6060ced</id>
<content type='text'>
This flag was removed from archsetup but remained in test scripts.
</content>
</entry>
</feed>
