docs: document the automatic update and the new UI features
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>
This commit is contained in:
1 parent
cddc5f956a
commit
209e2706ee
2 files changed
+50
-4
No files matched your search
+25
-2
@@ -116,6 +116,27 @@ update-desktop-database ~/.local/share/applications
|
|||||||
PacManager
|
PacManager
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Automatic update
|
||||||
|
|
||||||
|
At startup (then once a day), PacManager queries the repository's latest release
|
||||||
|
and offers to update itself. The new binary is **always written to the directory
|
||||||
|
of the running executable**, so the update follows the app wherever it is
|
||||||
|
installed (`~/.local/bin`, `/usr/bin`, an extracted folder, a build tree…)
|
||||||
|
without assuming any particular prefix.
|
||||||
|
|
||||||
|
The method is picked automatically (no configuration):
|
||||||
|
|
||||||
|
| Method | When | What happens |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| **Checkout** | a source checkout surrounds the binary (dev) | `git pull` + rebuild in place |
|
||||||
|
| **Clone** | installed app with no checkout, and `git` + `cmake` + a compiler | the repo is cloned/updated in `~/.local/share/PacManager/src`, rebuilt and installed in place |
|
||||||
|
| **Prebuilt** | no build toolchain available | the release's prebuilt archive is downloaded and unpacked |
|
||||||
|
| **Tarball** | no `git`, but `cmake` + a compiler | the release sources are built and installed |
|
||||||
|
|
||||||
|
Everything builds in a temporary directory: only the final replacement of the
|
||||||
|
binary (and plugins) needs `sudo`, and only when the target directory is owned
|
||||||
|
by root. Restart the application to activate the new version.
|
||||||
|
|
||||||
## Graphical interface
|
## Graphical interface
|
||||||
|
|
||||||
The interface uses **Qt6** with a dark theme, a **navigation sidebar** and stacked pages:
|
The interface uses **Qt6** with a dark theme, a **navigation sidebar** and stacked pages:
|
||||||
@@ -123,9 +144,11 @@ The interface uses **Qt6** with a dark theme, a **navigation sidebar** and stack
|
|||||||
- 🔍 **Search**: search bar, package table on the left and details on the right
|
- 🔍 **Search**: search bar, package table on the left and details on the right
|
||||||
- 📦 **Installed**: list with **instant name filter** (local, no pacman re-run)
|
- 📦 **Installed**: list with **instant name filter** (local, no pacman re-run)
|
||||||
- ⬆️ **Updates**: outdated packages detected by `pacman -Qu`, "Update all" button
|
- ⬆️ **Updates**: outdated packages detected by `pacman -Qu`, "Update all" button
|
||||||
- 📋 **History**: filterable table (installs / removals / updates)
|
- 📋 **History**: filterable table (installs / removals / updates) + CSV export
|
||||||
- 📜 **Logs**: built-in `/var/log/pacman.log` viewer
|
- 📜 **Logs**: built-in `/var/log/pacman.log` viewer with an instant filter
|
||||||
- 🧩 **Plugins**: lists every plugin (package providers and extensions), enable / disable and plugin rescan
|
- 🧩 **Plugins**: lists every plugin (package providers and extensions), enable / disable and plugin rescan
|
||||||
|
- ⌨️ **Convenience**: system tray icon and keyboard shortcuts (Ctrl+F search, Ctrl+R / F5 refresh, Ctrl+U updates, Ctrl+E export, Ctrl+Q quit)
|
||||||
|
- 📤 **Export**: the displayed package list and the history can be exported as CSV
|
||||||
|
|
||||||
### Interface overview
|
### Interface overview
|
||||||
```text
|
```text
|
||||||
|
|||||||
@@ -116,6 +116,27 @@ update-desktop-database ~/.local/share/applications
|
|||||||
PacManager
|
PacManager
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Mise à jour automatique
|
||||||
|
|
||||||
|
Au lancement (puis une fois par jour), PacManager interroge la dernière release du
|
||||||
|
dépôt et propose de se mettre à jour. Le nouveau binaire est **toujours écrit
|
||||||
|
dans le dossier de l'exécutable en cours d'exécution** : la mise à jour suit donc
|
||||||
|
l'application où qu'elle soit installée (`~/.local/bin`, `/usr/bin`, un dossier
|
||||||
|
décompressé, l'arborescence de build…), sans supposer de préfixe particulier.
|
||||||
|
|
||||||
|
La méthode est choisie automatiquement (aucune configuration) :
|
||||||
|
|
||||||
|
| Méthode | Quand | Ce qui se passe |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| **Checkout** | un dépôt source entoure le binaire (dev) | `git pull` + recompilation sur place |
|
||||||
|
| **Clone** | app installée sans dépôt, avec `git` + `cmake` + compilateur | le dépôt est cloné puis mis à jour dans `~/.local/share/PacManager/src`, recompilé et installé en place |
|
||||||
|
| **Prebuilt** | pas d'outillage de compilation | l'archive précompilée de la release est téléchargée et décompressée |
|
||||||
|
| **Tarball** | `git` absent mais `cmake` + compilateur présents | les sources de la release sont compilées puis installées |
|
||||||
|
|
||||||
|
Tout se compile dans un dossier temporaire : seul le remplacement final du
|
||||||
|
binaire (et des plugins) demande `sudo`, et uniquement si le dossier cible
|
||||||
|
appartient à root. Redémarrez l'application pour activer la nouvelle version.
|
||||||
|
|
||||||
## Interface graphique
|
## Interface graphique
|
||||||
|
|
||||||
L'interface utilise **Qt6** avec un thème sombre, une **sidebar de navigation** et des pages empilées :
|
L'interface utilise **Qt6** avec un thème sombre, une **sidebar de navigation** et des pages empilées :
|
||||||
@@ -123,9 +144,11 @@ L'interface utilise **Qt6** avec un thème sombre, une **sidebar de navigation**
|
|||||||
- 🔍 **Recherche** : barre de recherche, tableau de paquets à gauche et détails à droite
|
- 🔍 **Recherche** : barre de recherche, tableau de paquets à gauche et détails à droite
|
||||||
- 📦 **Installés** : liste avec **filtre instantané** par nom (local, sans relancer pacman)
|
- 📦 **Installés** : liste avec **filtre instantané** par nom (local, sans relancer pacman)
|
||||||
- ⬆️ **Mises à jour** : paquets obsolètes détectés par `pacman -Qu`, bouton « Tout mettre à jour »
|
- ⬆️ **Mises à jour** : paquets obsolètes détectés par `pacman -Qu`, bouton « Tout mettre à jour »
|
||||||
- 📋 **Historique** : tableau filtrable (installations / suppressions / mises à jour)
|
- 📋 **Historique** : tableau filtrable (installations / suppressions / mises à jour) + export CSV
|
||||||
- 📜 **Logs** : journal `/var/log/pacman.log` intégré
|
- 📜 **Logs** : journal `/var/log/pacman.log` intégré, avec filtre instantané
|
||||||
- 🧩 **Plugins** : liste de tous les plugins (fournisseurs de paquets et extensions), activation / désactivation et rechargement
|
- 🧩 **Plugins** : liste de tous les plugins (fournisseurs de paquets et extensions), activation / désactivation et rechargement
|
||||||
|
- ⌨️ **Confort** : icône de notification (tray) et raccourcis clavier (Ctrl+F rechercher, Ctrl+R / F5 rafraîchir, Ctrl+U mises à jour, Ctrl+E exporter, Ctrl+Q quitter)
|
||||||
|
- 📤 **Export** : liste de paquets affichée et historique exportables en CSV
|
||||||
|
|
||||||
### Aperçu de l'interface
|
### Aperçu de l'interface
|
||||||
```text
|
```text
|
||||||
|
|||||||
Reference in new issue
Block a user