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>
12 lines
402 B
C
12 lines
402 B
C
#pragma once
|
|
|
|
#include <QLoggingCategory>
|
|
|
|
// Structured log categories (P4 quality): use qCDebug/qCInfo/qCWarning with
|
|
// these instead of scattering qDebug() so logs can be filtered per area with
|
|
// QT_LOGGING_RULES="pacmgr.ui.debug=true" etc.
|
|
Q_DECLARE_LOGGING_CATEGORY(pacmgrUi)
|
|
Q_DECLARE_LOGGING_CATEGORY(pacmgrOp)
|
|
Q_DECLARE_LOGGING_CATEGORY(pacmgrPlugin)
|
|
Q_DECLARE_LOGGING_CATEGORY(pacmgrUpdate)
|