feat: add arch-updater plugin - #106
Conversation
- Bar widget, panel, and launcher for managing Arch Linux updates - Supports system (pacman), AUR (yay), and Flatpak updates - Launcher prefix: /au - Dependencies: checkupdates, yay
Translation keys use dotted, camelCase top-level keys. The manifest references the same invalid keys at arch-updater/plugin.toml:23. This introduces repository validator failures while clean main passes.
Every update unconditionally performs destructive cleanup, including removing orphan packages, deleting unused Flatpaks and their data, vacuuming journals, and recursively deleting most of ~/.cache. arch-updater/plugin.toml:95 defaults cleanupAfterUpdate to false, but that setting is never read. arch-updater/README.md:37 only describes optional yay cache cleanup. This can unexpectedly delete user data and packages.
cachePreserveList values are interpolated without quoting into a terminal script at arch-updater/service.luau:260. Shell syntax in this ordinary string setting can escape the assignment and execute arbitrary commands when an update runs.
Result IDs contain two colon-separated fields after "pkg:", but activation requires at least three and reads source from parts[3]. Consequently, activating any package result does nothing, breaking launcher result activation.
The panel references three icons under icons/, but the plugin contains no icons directory or SVG assets. Update rows will have missing images.
Several advertised settings are ineffective. refreshInterval is ignored in favor of a hardcoded interval at arch-updater/service.luau:410, showToasts is never read, and boldText and noctaliaHighlight are not consulted by arch-updater/widget.luau:28. You did not use the thumbnail generator, so this should not be marked as ready for review. |
Plugin
rael2pac/arch-updaterWhat it does
Bar widget, panel, and launcher for managing Arch Linux system, AUR, and Flatpak updates. Shows update count in the bar and provides a full update manager in the panel.
External dependencies
checkupdates(from pacman-contrib) for system update checksyayfor AUR update checksflatpakfor Flatpak updates (optional)Testing
Screenshots / Videos
Checklist
idafter/inplugin.tomlexactly.plugin.toml,README.md,thumbnail.webp, andtranslations/en.json.README.mdfollows the README template.thumbnail.webpwith the thumbnail generator. (TODO)versionfollows semver;plugin_apiis the oldest API level required.catalog.toml.Code review attestation
licensedeclared inplugin.toml.