Commit Graph
15 Commits
Author SHA1 Message Date
BlackAngelTV 6c4a715d73 ci: drop the Gitea release and test workflows
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>
2026-09-12 23:10:35 +02:00
BlackAngelTV 5216480d81 fix(update): report the newest known version, not just the compiled one
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>
2026-09-12 23:05:23 +02:00
BlackAngelTV fb5c11e153 feat(pacman): close the manager holding the database lock instead of waiting
tests / version-guard (push) Has been cancelled
tests / build-test (push) Has been cancelled
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>
2026-09-12 22:47:53 +02:00
BlackAngelTV d8bc17b2aa docs: cover the cleanup page and the version stamp in both READMEs
tests / version-guard (pull_request) Has been cancelled
tests / build-test (pull_request) Has been cancelled
tests / version-guard (push) Has been cancelled
tests / build-test (push) Has been cancelled
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>
2026-09-12 22:24:52 +02:00
BlackAngelTV 4ef37dcda6 fix(update): replace the running binary atomically and relaunch it
tests / version-guard (push) Has been cancelled
tests / build-test (push) Has been cancelled
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>
2026-09-11 21:45:25 +02:00
BlackAngelTV 209e2706ee docs: document the automatic update and the new UI features
tests / version-guard (push) Has been cancelled
tests / build-test (push) Has been cancelled
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>
2026-09-11 20:17:50 +02:00
BlackAngelTVandCodebuff 4200f63b4f docs: describe plugin types, addon template and default Flatpak build
tests / build-test (push) Has been cancelled
Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-10 18:49:48 +02:00
BlackAngelTV ecf38c61f6 docs: describe flatpak as an external plugin in the READMEs
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>
2026-08-29 20:35:17 +02:00
BlackAngelTV 8fda7636f9 docs: add restrictive source-available license
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>
2026-08-29 20:17:57 +02:00
BlackAngelTV 26ca0e4d88 docs: document install and desktop-launcher setup commands
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>
2026-08-29 17:40:09 +02:00
BlackAngelTV 7c8e981845 docs: align READMEs with AGENTS.md conventions
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>
2026-08-29 17:07:03 +02:00
BlackAngelTV 6aef549eb0 fix(flatpak): per-user install fallback and real error reporting
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>
2026-08-29 13:57:03 +02:00
BlackAngelTV 4fe4c7287e docs: document providers, flatpak and the plugin system
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>
2026-08-29 13:34:53 +02:00
BlackAngelTV 9043632ba9 feat(ui): rebuild interface from scratch with dashboard page
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.
2026-08-27 20:39:22 +02:00
BlackAngelTV bd3b3e48b3 docs: add agent guidelines and english readme
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>
2026-08-27 19:29:39 +02:00