Files
FWS-PacManage/doc
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
..

Documentation PacManager

Cette documentation est la source du wiki Gitea du projet : chaque fichier est une page autonome, et son nom de fichier est celui de la page wiki (architecture.md → page architecture).

Le README.md à la racine reste la présentation du projet (fonctionnalités, compilation, licence) ; ce dossier décrit comment le logiciel est construit et comment il fonctionne à l'intérieur, pour quelqu'un qui doit le modifier, le déboguer ou brancher un plugin.

Pages

Page Contenu
installation.md Dépendances, compilation, options CMake, installation dans le bureau, fichiers créés sur le système
architecture.md La coupure logique / interface, le flux d'un appel, où ajouter du code
interface.md Les écrans, la navigation, les raccourcis clavier, le thème (tokens du site FWS)
operations.md Le déroulé d'une opération : sudo, verrou pacman, progression, providers multiples
plugins.md Fournisseurs et extensions : contrats, ABI C, emplacements, écriture d'un plugin
magasin-de-plugins.md Le magasin : format du catalogue JSON, installation, sécurité, publication
mise-a-jour.md L'auto-mise à jour : version, méthodes, redémarrage
tests.md Les cibles de test et ce qu'elles couvrent, comment en ajouter
depannage.md Problèmes courants et comment les diagnostiquer

Les fichiers à connaître

Fichier Rôle
include/app-core.h, src/app-core.cpp La logique : providers, workers, historique, plugins, sudo, verrou pacman, auto-update. Aucun widget.
include/main-window.h, src/main-window.cpp Le cadre : barre latérale, en-tête, barre de statut, menus, tray, dialogues, feuille de style.
pages/ Les écrans, un fichier par écran, plus page.h (contrat) et ui-kit.* (widgets partagés).
include/progress-tracker.h La progression d'une opération, lue dans la sortie des outils.
include/plugin-shop.h, src/plugin-shop.cpp Le magasin de plugins et son catalogue.
include/workers.h, src/workers.cpp Les threads de travail (recherche, listes, actions).
plugins/ Les plugins livrés : flatpak-provider, aur-provider, et les deux exemples.

Conventions du projet

Elles sont dans AGENTS.md : commits en anglais au format Conventional Commits, noms de fichiers en kebab-case, identifiants en anglais, commentaires en anglais, tests avant de considérer une tâche terminée.