Check HamPack's Flatpaks can open serial ports, in hampackcheck
`hampackcheck packages` (and so the weekly `make check-packages`) now asks Flathub's API for each Flatpak's permissions, and fails if its devices don't include all, without which it can't see /dev/ttyUSB0 to control a radio itself, or if Flathub can't say. WSJT-X and QLog both have it. radio configure doesn't need it: it points them at rigctld over the network. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0c2f9b5316
commit
c409a6cb17
@@ -95,7 +95,7 @@ HamPack is a set of Bash scripts. `install.sh` runs once, from `sibling add`; `u
|
||||
|
||||
- `make lint` runs shellcheck on every script
|
||||
- `make test` runs the bats tests in `tests/`, which stub out sudo, pacman, Flatpak and systemd, so they're safe to run. They also check the conf files for missing or misspelt fields
|
||||
- `make check-packages` checks that every package in `packages.conf` is in the Arch repos or the AUR, and every Flatpak is on Flathub (run `sudo pacman -Sy` first). It catches packages that were renamed or dropped upstream, but not a typo that happens to be another package's name
|
||||
- `make check-packages` checks that every package in `packages.conf` is in the Arch repos or the AUR, and every Flatpak is on Flathub, with access to devices so it can open a radio's serial port (run `sudo pacman -Sy` first). It catches packages that were renamed or dropped upstream, but not a typo that happens to be another package's name
|
||||
- `make hooks` runs `make lint test` before each commit
|
||||
- `coredesktop-dev smoketest run --with HamPack` installs, updates and removes HamPack on a virtual machine with CoreDesktop, for what the bats tests' fakes can't check. See `smoketest/README.md`
|
||||
- `TEST.md` lists the checks that need real radios or a real login, with tables for the results
|
||||
|
||||
Reference in New Issue
Block a user