Adds a Gitea Actions workflow triggered by changes to the `version` file.
It builds and runs the full test suite, then publishes a release and tag
only when every test succeeds and the version is new. Releasing is gated
on the test job succeeding, so a broken suite blocks it automatically.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Introduces a root `version` file holding the current release number so the
CI release workflow has one place to read the version from.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Updates both READMEs so the architecture and providers sections reflect
that pacman is built-in while Flatpak ships as a runtime-loaded plugin.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Rewires the flatpak unit, integration and plugin-manager tests to compile
against plugins/flatpak-provider, and updates plugin-manager.test to treat
flatpak as a runtime-loaded plugin rather than a registered built-in.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Introduces the flatpak-provider-plugin module target, producing
libflatpak-provider.so and copying it next to the executable so
PluginManager can load it at runtime.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Removes FlatpakManager from the built-in sources and from MainWindow's
registration, so only pacman ships inside the binary. Flatpak is now
provided exclusively by the external plugin.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Moves FlatpakManager out of the core sources and adds the plugin entry
point exporting the provider-plugin C ABI, so Flatpak can be built and
loaded as an external plugin instead of a compiled-in provider.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Adds a proprietary license allowing personal modification but forbidding
distribution and resale, documented in the LICENSE file and both READMEs.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Search now publishes provider results in small batches as they arrive, so
the first matches appear in the table while slower providers keep running.
The bottom status-bar bar is now a determinate indicator: pacman output is
streamed live and its (n/Total) package counter is parsed into a percentage
that fills the bar during install/update, instead of an indeterminate spinner.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Modernize the build instructions (cmake -B build) and document the three
install paths: per-user without sudo, system-wide with sudo, and the desktop
launcher integration that turns PacManager into a regular app shown by any
application menu (wofi, GNOME, KDE...).
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Add the development & conventions section that AGENTS.md points to, so the
README documents the branch/commit/naming/comment/test/issue/.gitignore rules
it summarizes, and refresh the Flatpak provider paragraph with the new
desktop-launcher integration, honest search status and integration tests.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Extend the live-CLI integration test to assert that installing an app links
its .desktop entry into ~/.local/share/applications, and that uninstalling
cleans the link back up.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
When a flatpak app is installed through the app, its .desktop entries and
icons are now symlinked into the user's standard XDG dirs
(~/.local/share/{applications,icons}), which every desktop scans by default.
This makes flatpak apps appear in any launcher (wofi, GNOME, KDE...) the same
way a pacman install would, without relying on XDG_DATA_DIRS or any
desktop-specific configuration. The links are removed on uninstall, and a
refresh re-links every installed app so ones installed before this feature
(or outside the app) self-heal.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Drives the real FlatpakManager against the live flatpak CLI: install a small
app through the provider's own fallback logic, verify it is listed and
flagged as installed in search, run update and refresh, then uninstall. The
test is non-destructive for pre-existing installs and skips when flatpak is
absent.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Search results now report whether each app is already installed or has a
pending update, like pacman does with its [installed] marker, so the UI no
longer shows "Disponible" for apps that are already managed. Install is also
idempotent (already-deployed apps short-circuit) and skips the doomed bare
retry when both a system and a user flathub remote make the ref ambiguous.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Installing through a system-wide remote fails under polkit and, when a
remote exists in both installations, flatpak refuses non-interactive
installs ("Multiple remotes have refs matching"). Retry with an explicit
`--user flathub` target, refresh appstream metadata before giving up on
stale refs, and let update/refresh fall back to the user installation as
well. Expose the last command output through IPackageManager::lastError
and show it in a dialog on failure instead of failing silently.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Group aggregated search results per provider (in query order, pacman
first) and sort each group alphabetically, case-insensitively.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
When the same package name comes from several providers (pacman, flatpak,
plugins), collapse the rows into one: the Fournisseur column lists every
provider offering it and installed/updateAvailable are combined, while
the first provider stays the routing default. Applies to search and to
the aggregated installed/updates lists.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Explain multi-provider search with the Provider column, the Providers
page (enable/disable, rescan, install-tool) and how to write a plugin
using the example provider as a template.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Unit-test the flatpak parsers (search rows, installed/update columns)
and the plugin manager end-to-end: built-in registration, runtime
discovery of the sample plugin, enable/disable persistence, reload and
install-hint exposure.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Search now queries all active providers at once and each row shows its
origin in a Provider column; installed and updates pages are aggregated,
and install/remove/update are routed to the owning manager automatically.
Add a Providers page listing built-in and plugin managers with
enable/disable, plugin rescan, and an install-tool button that pulls the
missing backend through pacman (e.g. flatpak).
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Implement IPackageManager over the flatpak CLI: search, installed list,
updates, install/remove/update and appstream refresh. Runs per-user so it
needs no sudo. Parsing is exposed as statics so it can be unit-tested
without the flatpak binary.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Introduce a registry (PluginManager) that owns package managers and can
load additional providers at runtime from shared-library plugins dropped
in a plugins directory. Providers declare their metadata and a factory
through a C ABI (provider-plugin.h); requiresPassword() tells the UI
whether a provider needs sudo. Ships a sample external plugin as a
template for adding new backends.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Cards and tables no longer draw a border or background so content sits
directly on the page background, matching the requested flat look.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Deleting SearchWorker/ListWorker/InstallWorker from the `finished` ->
`deleteLater` connection aborted the app with
"QThread: Destroyed while thread is still running" (SIGABRT) whenever a
list loaded or a package op finished. The deferred delete raced the
thread teardown because these workers have no event loop to process it
after run() returns.
Wait for the thread to complete (wait() clears the running flag, and by
then run() already emitted finished) before scheduling deleteLater, and
bind every cross-thread signal to the MainWindow context object so the
handlers run queued on the GUI thread instead of inside the worker.
Also drop the intrusive popups (removal confirmation, pacman/sudo
unavailable, empty-search notice) in favour of status bar messages, and
let sudo take the password via -S so no per-op polkit dialog is shown.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Adopt the embedded SVG icon set across the interface: sidebar links,
action buttons, stat cards, search/filter fields, table status cells
and badges, replacing the inline emoji glyphs. Inline emoji inside
status-bar and history text are dropped since an SVG cannot be embedded
mid-sentence.
Also let a click on a package in the dashboard's recent activity open
its details on the Installed page with remove/update actions available,
by auto-selecting the package after the list loads.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Emoji were used as icons across the interface. Add a self-contained
set of monochrome SVG icons under resources/icons plus a Qt resource
file so the GUI can reference them through :/icons instead of font
glyphs, and register the resource in the build.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
listInstalled only returned name and version, leaving the size and the
origin repository empty for installed packages. Enrich each entry with
its installed size (parsed from pacman -Qi) and the repository it was
installed from (parsed from pacman -Sl), defaulting foreign/AUR
packages to "AUR" so the origin is always visible.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Redesign the whole UI around a dashboard with stat cards, quick
actions and recent activity, a header bar with contextual page
titles, and a denser table-based package listing with an instant
local filter on the installed page and a filterable history table.
Register the std::vector<PackageInfo> metatype so worker results
actually reach the UI thread instead of being dropped silently.
Document the project conventions for AI agents and provide an English
translation of the README. Update the interface description to match
the new sidebar layout and the listUpdates/refresh manager methods.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Replace the single-screen layout with a sidebar and stacked pages:
Search, Installed, Updates, History and Logs. Also fix the update-all
and refresh actions, which previously called install with an empty
package name instead of running the proper pacman commands.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Remove the dynamic plugin loader (pacman/apt/pkg/universal) and drive
the UI directly through PacmanManager. Rename sources and headers to
kebab-case to match the project's file naming convention.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>