change: drop the self-update mechanism #46
Loading…
Reference in a new issue
No description provided.
Delete branch "mysticalsoap/change/drop-self-update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
#19: the root service exposes
update_aqomuiover D-Bus. It downloads a.deb/.rpm/zip from the dead upstream repo (github.com/corrad1nho/aqomui, inactive since 2019) and installs it as root viadpkg -i,rpm -i, orpip install --force-reinstall— no checksum, no signature. The caller controls theversionstring interpolated into the download URL, and with the current open D-Bus policy (#18) any local user can trigger it. The GUI also phones home to that repo's releases API on every start.Fix
Pure deletion — distribution packages (pacman/AUR) are the update channel:
aqomui_service.py: theupdate_aqomuimethod,update_thread, theupdatedsignal, and the imports only they usedupdate.py:UpdateCheck(the GitHub releases poll)aqomui_gui.py: the check/notify flow (check_update/release_compare/update_aqomui), the upgrade button, the post-upgrade restart prompt, thepacketmanagerplumbing (it only existed to pick an install method), and theupgradeprogress-bar branches. The homepage label now points at this repo instead of upstream.Kept: the provider auto-update option (server lists, unrelated) and the GUI/service version-discrepancy check (local
VERSIONfile only, no network).Verification
python -W error::SyntaxWarning -m compileall aqomui/clean;aqomui.updateandaqomui.aqomui_guiimport cleanly from the checkout; pytest/ruff run in CIupdateAqomuiBt/packetmanager/UpdateCheck/update_aqomuileft;showActive.check_update→update_checkis the unrelated server-list refresh and staysCloses #19
Assisted-by: claude-fable-5
mysticalsoap referenced this pull request2026-08-18 19:26:40 -04:00