feat: resolve dependencies in batch trust commands

This commit is contained in:
bryanpedini committed 2026-10-30 21:07:05 +01:00
1 parent 3af159e09a
commit 33ebf89748
4 files changed
+91 -25

No files matched your search

+6 -3
View File
@@ -130,8 +130,8 @@ package (pacman backend with paru or yay, see below) and a space on every other
One line, whitespace-separated tokens; `N` is the number in brackets. Numbers are
stable for the whole session (rows that leave the list leave a gap). Every token
of a line is validated first: a line with an unknown token or a number that is not
listed prints an error, runs nothing, and the prompt comes back.
of a line is checked for syntax first: an unknown token rejects the line. A number
that is not listed prints an error and the remaining commands still run.
| token | action |
|-------|--------|
@@ -147,7 +147,10 @@ listed prints an error, runs nothing, and the prompt comes back.
| `h`, `?` | help |
| end of input | abort without upgrading (exit 2) |
Several tokens may share a line (`1? 3- 4+`); they run left to right. With `--all`
Several tokens may share a line (`1? 3- 4+`); they run left to right. Consecutive
`N+` commands are processed together: selected packages required by another selected
package are recorded as dependencies, regardless of their order. `*+` works the same
way. With `--all`
trusted packages are listed too, marked with `=`. When purges leave nothing to upgrade the
session ends by itself (exit 0).