25 Commits
Author SHA1 Message Date
BlackAngelTV 56c491f33e docs: add the contribution guide the agent guide points at
The agent guide now sends contributors to CONTRIBUTING.md for the
conventions, and that file did not exist, so the pointer was a dead end
and the conventions lived only in the README, where they sat next to the
feature list.

The guide covers what a contributor needs in one place — the licence
terms that constrain reuse, the build and the four CMake options, the
nine test targets and what each one covers, the code conventions, and the
point of the architecture split that decides where new code goes — plus
the commit rules the agent guide states, including signed commits and no
tool attribution. The READMEs and the doc index now link to it instead of
duplicating the list.
2026-09-27 21:36:13 +02:00
BlackAngelTV eb39905bf5 feat(flatpak): let the user choose which installation to act on
The same application can be present twice — in the user installation
and system-wide, or from two remotes or two branches — and flatpak then
refuses to act on the application id alone: "Multiple installed refs
match 'com.hoptodesk.HopToDesk'". Removing either copy was impossible
from the app.

A row now stands for the application and carries the copies it is made
of, so the details panel lists them and Remove opens one checkbox per
copy; the provider gets back the exact target it listed, and naming a
ref plus its installation is what makes the call unambiguous. Update
gains the same resolution, since it hit the very same refusal, and
removing one copy of two no longer takes the other one's launcher entry
away with it.

The listing that feeds it now asks flatpak for the ref, the branch and
the installation, and reads those columns by position: a branch
installed from a subdirectory has no version, and dropping that empty
column shifted every field after it.
2026-09-27 21:33:41 +02:00
BlackAngelTV f1fbd3cd8a feat(flatpak): report the download flatpak never announces
Installing a .flatpakref looked frozen: flatpak prints two lines and
then stays silent for the minutes a runtime takes to come down, so the
window repeated the same sentence over a stalled bar and the journal
recorded nothing at all.

It has no meter to print — measured here, on a real 658 MB install, it
draws nothing on a pipe nor on a full terminal, only on the deltas the
CDN happens to serve — so the provider now measures the transfer itself:
the bytes landing in flatpak's own staging directory, reported as they
grow. When even those stop, the window takes over and says which step is
running and for how long, in the status bar and in the journal.

Along the way the runner reads with read() instead of stdio so in-place
updates are not held back by a buffer, strips the ANSI escapes some
tools colour their output with (the AUR plugin's own copy is gone), and
turns a rewritten meter line into a journal entry every 10 %.
2026-09-27 21:33:41 +02:00
BlackAngelTV 7c46023489 docs: describe installing flatpak files
The gesture is invisible in a screenshot, so every place that has to match
it says it explicitly: the READMEs, the manual desktop entry (which now
carries the MIME types too), the installer doc, the interface and plugin
contracts, the troubleshooting page and the test coverage.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-27 19:39:46 +02:00
BlackAngelTV f3ad3ca523 docs: describe automatic build-dependency install and instant updates tab
The self-update docs claimed git, cmake and a compiler had to be
installed by hand: they are now installed by the update itself, and the
Updates tab loads its list on open. Both READMEs and the doc/ pages are
aligned with the new behaviour.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-23 21:58:38 +02:00
BlackAngelTVandCodebuff 5720c398ef docs: describe the core/pages architecture in both READMEs
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-13 11:45:55 +02:00
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
BlackAngelTV 4a773c63ce fix(build): cmake 2026-08-26 20:49:05 +02:00
BlackAngelTV bbe29962e4 docs: update README 2026-08-24 19:23:41 +00:00
BlackAngelTV efd0df5019 style(readme): align formatting 2026-08-24 19:20:46 +00:00
BlackAngelTV cb4c68638a build: add build scripts and documentation 2026-08-24 21:13:51 +02:00