feat(update): self-update from a cloned repo wherever the app is installed
Self-update assumed a conventional install prefix (silently reinstalling into ~/.local when the binary lived elsewhere) and needed a release tarball to do anything. Pick the strategy from what the machine actually has -- a local checkout, git+cmake+compiler for a clone, the prebuilt archive, or the release sources -- and always write the fresh binary next to the running one, building in a temp directory so sudo is only needed for the final copy. Bundles the UI work that depends on it (tray, shortcuts, log filter, CSV exports, cached package details), the structured log categories, and the new test targets (update-manager, AUR, plugins) wired into CTest. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
1 parent
6d5b4274c4
commit
54bff16369
9 files changed
+1123
-200
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#include "app-logging.h"
|
||||
|
||||
#include <QLoggingCategory>
|
||||
|
||||
// Categories are defined once here; the header only declares them.
|
||||
Q_LOGGING_CATEGORY(pacmgrUi, "pacmgr.ui")
|
||||
Q_LOGGING_CATEGORY(pacmgrOp, "pacmgr.op")
|
||||
Q_LOGGING_CATEGORY(pacmgrPlugin, "pacmgr.plugin")
|
||||
Q_LOGGING_CATEGORY(pacmgrUpdate, "pacmgr.update")
|
||||
Reference in new issue
Block a user