They never produced a usable release: the release workflow expects lowercase
tags (v1.4.1) while the published ones are uppercase (V1.4.1), so its "already
released" check never matched, and the test workflow's version guard compares
the version file with the latest tag, which failed as soon as the two drifted.
Releases are published by hand, so the READMEs no longer describe a prebuilt
archive as something the project produces on its own.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
The file still said 1.3.1 while the released tags were already at 1.4.x, so a
build from this tree reported 1.3.1 and kept offering the release it already
had.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Trusting the version compiled into the binary alone made the app report a stale
release whenever the build predated a version bump: `version` is read at
configure time, and bumping it is not by itself a reason to configure again, so
`cmake --build` kept the previous number compiled in while the marker it
installed next to the binary said otherwise. The update was then offered again
even though it had just been applied.
The version file is now a configure dependency, so a bump reconfigures the
build, and the reported version is the newest of the two sources, so neither
side can drag the app backwards.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
A locked database ended in "Un autre gestionnaire de paquets utilise déjà la
base. Attendez la fin de l'autre opération puis réessayez": the app knew
something else was running but could not say what, leaving the user to find
and close it before retrying by hand.
The lock is now inspected: the process holding /var/lib/pacman/db.lck is
identified through /proc (with a pgrep fallback for the known managers, whose
fd table is unreadable when they run as root), the dialog names it, and one
click stops it — SIGTERM first, so pacman aborts its transaction and releases
the lock itself, SIGKILL only when it does not react — then the pending
operation resumes on its own. A lock whose owner is gone is dropped the same
way, and one that disappears while the action is unwinding is retried without
a dialog at all.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
The feature list, the page-by-page walkthrough and the interface contract
tables now describe the Nettoyage page and its optional cleanup methods, and
the automatic-update section explains where an update is installed and why the
same release is not offered twice.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Cards now read as raised surfaces with a hairline border, the four dashboard
metrics carry a coloured edge, the sidebar is split into named sections and
shows the installed version, and the two most used commands sit in the header
so they are reachable from every page. An empty listing explains itself
instead of showing a bare table header, and the sidebar highlights the updates
entry with the pending count.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
The button was created disabled and nothing ever re-enabled it, so the browse
toolbar offered a dead action while the same command stayed reachable from the
dashboard and the tray.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
A result page inserted its rows one setItem() at a time, so the viewport
repainted per cell and, on the browse page, the row that became "current"
fired the pacman queries behind the details panel in the middle of the fill.
The fill now runs with updates disabled and the table's signals muted,
released just before the row the user actually sees is selected.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
One click used to spawn the same pacman processes several times: a search
runs `pacman -Q`, the Installed page runs `-Q`, `-Qi` and `-Sl`, and the
dashboard re-runs them on every visit. Their output is now reused for a few
seconds and dropped as soon as a transaction changes the package set, so the
readings stay correct while a handful of subprocess spawns disappear from each
interaction.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
The checkout path installed with the build's configured prefix instead of
installing into the directory holding the running copy, so the binary in use
and its version marker both stayed at the old release: the app kept reporting
that version and offered the same update again at every launch.
Every method now stages and installs into the running binary's directory, the
install step writes the release it just installed next to the binary, and
currentVersion() reads the version compiled into the running build first,
falling back to the marker file. The repo-root `version` file stays the single
source of truth: CMake compiles it in.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Leftovers pile up on a machine: dependencies that no installed package
requires any more, and installs coming from the AUR or manual builds that the
sync databases know nothing about. The new Nettoyage page lists both (orphans
first, since they are the ones that can be removed in bulk), shows which
provider reported each row, and frees the space held by the caches: paccache
(or pacman -Sc) and flatpak's unused runtimes.
Cleanup is an optional capability of IPackageManager, so providers that only
install packages keep working unchanged.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
A maintenance page is about to be inserted between two existing entries, and
the numeric ids were duplicated across the sidebar, the dashboard shortcuts,
the menu bar and the keyboard shortcuts. Naming them keeps those entry points
in sync.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Copying over the executable the update is running from fails with ETXTBSY, so
the self-update aborted after a successful build and left the user to restart
by hand. Installing through a rename, then handing over to the new build, lets
the update complete on its own.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Users could not tell where the updated binary lands or why an update may need
a compiler. Describe the install location and the four update strategies in
both READMEs, alongside the tray, shortcuts, log filter and CSV exports.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
A `version` file drifting from the latest tag makes the self-update check
report a phantom update, and installed apps without a toolchain need a binary.
Fail the tests job on a version/tag mismatch, and attach a prebuilt archive to
each release as a best effort so a failed build never blocks the release.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
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>
Community packages were invisible unless the user ran yay/paru by hand. Wrap
the helper behind the provider interface, like the Flatpak plugin, so AUR
results join search, installed and updates while staying optional.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
A concurrent manager holding /var/lib/pacman/db.lck, or a partially failed
`pacman -Sy`, surfaced as a generic failure with no explanation. Keep the last
error, tell the user which lock is involved and how to recover, and stop
treating a sync error as success.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Keep C++ formatting consistent across contributions; the config matches the
existing sources (4-space indent, 100-column limit, attached braces).
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The update dialog offered a disabled button when running from an install prefix without a source checkout, and the version file lagged behind the release tag. Add a tarball download + rebuild + reinstall path to the same prefix (sudo only for system prefixes) and bump the version file to 1.3.1.
The Plugins page replaces the Providers tab and lists every plugin alike:
package-manager providers and generic C++ addons, which can be any extension
(UI tweak, helper, ...) via IPlugin (onLoad/onUnload/onUiReady) exported with
the new FWS_ADDON_PLUGIN macro. Flatpak now ships as a plugin built by
default (FWS_BUILD_FLATPAK_PLUGIN=ON), so a plain build is Flatpak-enabled.
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
Search previously ran one 'pacman -Qi <name>' subprocess per result,
making queries with many matches (e.g. 'discord') take minutes. It now
loads the installed package names once into an in-memory set and uses
that set for the installed lookup.
Adds an UpdateManager that queries the Gitea releases API once per day,
stores the last check state in a JSON file, and offers to pull + rebuild
the source repository when a newer version exists. The running binary is
left untouched until the next launch.
Also sets the app version from the version file at build time instead of
the hardcoded 1.0.0, and copies the version file next to the executable.
Host-mode runners execute jobs directly on the runner machine, so apt
fails on non-Debian hosts. Detect pacman/apt/dnf so the test workflow
runs on any Linux host, and pull in git as a safety net for checkout.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The Gitea runner is registered with the label `linux`, so `ubuntu-latest`
never matched and the workflows could not start. This applies to both the
test and release workflows.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Release no longer runs or depends on the test suite, and uses the
built-in automatic GITEA_TOKEN with a contents: write permission so no
secret needs to be configured. Tests moved to a dedicated workflow that
runs on every push and pull request.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
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>