The interface, operations and plugin guides still described the old tree,
the log without provider traces and a single extra language, so a reader
could not tell what the app really runs or that a headless command exists.
The window needs a display, which kept the package manager out of a script and
off a headless machine. The command line runs the same operations through
AppCore, before any widget exists, so providers, the pacman lock, the journal
and the history behave exactly as in the window.
Refs #22.
Every path the documentation named had moved, and the source tree diagram
still showed the two flat folders. The diagram now shows a folder per
domain, and each file is cited where it now lives.
The paths that did not move are left alone on purpose: plugins/ next to the
executable and under ~/.local/share/PacManager/ are where PacManager looks
for plugins at run time, not folders in this repository. The plugin build
command in plugins.md is the one exception, and it is updated to the SDK's
new in-tree location — checked, it still compiles.
The shop was a catalogue served over HTTP that the application fetched and
listed, which put a network round trip between a user and a plugin that was
almost always one file they already had. It also had to keep its catalogue
URLs in step with every release, since an entry that pointed at a missing
asset was indistinguishable from one that never worked.
A plugin is now distributed as a .fwspacm package: a ZIP archive holding a
plugin.json manifest and the shared library, which the user drops anywhere
on the window. The file is the distribution, so there is no catalogue to
publish, no network, and no catalogue URL setting to explain. The manifest
tells the user what they are about to run, and its checksum is verified
before anything is written, so a package whose library is not the one it
declares never reaches the plugin directory.
Qt exposes no public ZIP API, so the archive is read directly (central
directory plus zlib for the deflated entries) rather than through a private
header that could move between toolchains. The reader stays in the logic
layer: app-core-test still links no QtWidgets, and a unit test builds its
own archives to check both compression methods and every refusal path.
The preferences used to be spread across a menu entry and hardcoded paths,
so the user could not see them, let alone change them: where the journal
goes, whether a dropped Flatpak file is accepted, and when the app checks
its own version were all decided in code.
They now live in AppSettings, one model the rest of the app already reads,
and the new Settings screen only writes to it. Nothing keeps a second copy
of a value, so a change is visible everywhere at once — switching directory
moves the journal, unchecking drag & drop makes the window refuse the drop,
blocking the update has the manual check say why instead of silently doing
nothing.
The update block is deliberately limited to PacManager itself: blocking a
system package update is a decision the app has no business making.
The language setting installs a Qt catalogue and asks every widget to
retranslate. The interface is still written in French with QStringLiteral,
so no catalogue ships yet; a language with none is shown in the list but
disabled rather than silently doing nothing, and Qt Linguist stays optional
so the build does not depend on it.
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.
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.
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 %.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>