Michal S
18363f6866
Fix `search` ftl conflict
2 years ago
Michal S
fa09199606
Add checkupdates AUR support
2 years ago
Michal S
8ee7c35b7d
Add checkupdates subcommand for `crystal-update` compat
2 years ago
Jan Fooken
4bed3d5574
Add an explicit (-e) option to the query command.
...
This can be used in combination with the --aur, --repo,
--info option or without any option.
It is used to display explicitly installed packages
and corresponds to the `pacman --Qe` command.
2 years ago
Fries
5315b76ee8
operations/upgrade: check if version is greater
...
we should check if the version is greater instead of checking if its
greater or equal
2 years ago
Fries
f7297130e7
operations/upgrade: use vercmp to compare versions
...
this fixes a bug where git pkgs will upgrade everytime with the old
logic so were using an alpm function that uses pacmans version compare
logic
Fixes #93
2 years ago
Fries
7b5a939574
amethyst: fix some translation issues
2 years ago
Fries
05a078042d
query: add own switch
2 years ago
Fries
3c2f0ed89c
args: add description as translatable string
2 years ago
trivernis
0a0268c19a
Add fl_* variants for trace, debug, info, warn, error
...
The fl variants allow for passing a message id for the translation
instead of having to invoke the fl macro inside the formatter
2 years ago
Fries
7ca52c0ed8
amethyst: add check dependencies support
...
amethyst should now be able to install dependencies that are required
for the `check()` function to work
2 years ago
mrshmllow
f100b13e28
simplified prompt for single package reviews
2 years ago
trivernis
0863b39991
Fix clippy warning
2 years ago
trivernis
c6a1c4fa17
Fix shell completion generation
...
Fixes #70
2 years ago
Fries
315b873826
operations/upgrade: remove unused import
2 years ago
Fries
023edeb786
operations/upgrade: stop if repo upgrade failed
2 years ago
Fries
42e5cf8bc2
amethyst: make clippy (the paperclip) happy
2 years ago
Fries
b3710431f8
help: move to clap 4 and localize strings
2 years ago
Fries
73387e35d3
amethyst: finish adding strings to i18n file
2 years ago
Fries
8f9ce37a78
amethyst: add wip i18n support
2 years ago
Fries
bbc2ac7991
operations/clean: remove unused import
2 years ago
Fries
bf34b975d2
operations/clean: make sure paccache keeps 3 pkgs
...
looks like .pacnew files don't generate properly unless theres like 3
packages in the pacman cache. why is pacman so confusing i swear nobody
knows how it works. well anyways this commit also removes the config
keys `paccache_keep` and `paccache_keep_ins_pkgs` as they shouldnt be
able to be changed.
2 years ago
Michal S
48ee44531f
Adjust AUR prompt
2 years ago
Fries
2bc764e4c5
amethyst: warn if installing aur packages
2 years ago
Fries
3690ad1562
args: make quiet help more clear
2 years ago
Fries
16e9cbc937
operations/upgrade: support quiet option
2 years ago
Fries
8be997002e
operations/install: support quiet option
2 years ago
mrshmllow
875a7da0b2
Update docs url
2 years ago
Michal S
e9efff91c0
Pull codename from envvar
2 years ago
Michal S
ef18fa9ce5
Add codename to version output
2 years ago
Fries
eb3fcf3945
amethyst: follow the paperclip (clippys) advice
2 years ago
Fries
786db41860
operations/clean: fix noconfirm for clean
2 years ago
Fries
8475af9af8
builder/paccache: more obvious func/var names
2 years ago
Fries
6b90744230
operations: Replace unwrap_or_else with if let Err
2 years ago
Fries
2ae9ea34dd
operations/clean: Remove debug string
2 years ago
Fries
34e50db84b
operations/upgrade: use brand new upgrade builder
2 years ago
Fries
a08173f460
operations/uninstall: use pacman builder
2 years ago
Fries
92e6ae490f
builder: Add tracing instruments to my builders
2 years ago
Fries
a531951b46
amethyst: Remove unused imports
2 years ago
Fries
865c848a90
operations/clean: Use Pacman builder
2 years ago
Fries
1bc9d0a1db
builder: add paccache builder
2 years ago
Fries
cb3cc43749
builder: add rm builder
2 years ago
Fries
07486a5430
builder: Add pacdiff builder
2 years ago
trivernis
8c35eb1250
Fix endless loop in aur dependency batch creation
2 years ago
Michal S
85f2136d15
Move AUR query in `sort()` outside the loop
2 years ago
Michal S
a8d6041323
Refactor `sort()` to use Alpm as opposed to calling `pacman -Ss` for each package
2 years ago
Fries
aefddaa3da
commands: remove Option from the sudo key
...
we dont need Option as the sudo key is assumed to always be there and if
its not in the config file, it will fall back to the default value
2 years ago
Michal S
8a8f3fe5d8
Add AlpmPackage enum for differentiating `load`ed packages and ones found through DBs
2 years ago
Michal S
d96e96fd91
Refactor `ar` -> `archive` in common.rs
2 years ago
Michal S
ae26225571
Refactor ALPM functions to be their own module
2 years ago