Commit Graph

133 Commits (4bed3d55746ffecab19770f20818da298b68340e)

Author SHA1 Message Date
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
Fries 42e5cf8bc2 amethyst: make clippy (the paperclip) happy 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 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
Fries 2bc764e4c5 amethyst: warn if installing aur packages 2 years ago
mrshmllow 875a7da0b2 Update docs url 2 years ago
Fries 8475af9af8 builder/paccache: more obvious func/var names 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 07486a5430 builder: Add pacdiff builder 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 ae26225571 Refactor ALPM functions to be their own module 2 years ago
Michal S 5bad161ef7 Parse PKGBUILD output archives to fix -git packages 2 years ago
Michal S 7478aeb2d3 Fix flipped detect bool and readded `diff` 2 years ago
Michal S 3842402ddc Remove redundant config keys 2 years ago
Fries 665095fbee config: write comment above a new config file 2 years ago
Fries 3aa4d9da67 config: use config crate
Parsing of the config is now done with the config crate
2 years ago
Fries 647a95c1e9 internal::utils: add get_config_dir() 2 years ago
mrshmllow 306ad5717c change unwrap_or to unwrap_or_else 2 years ago
mrshmllow 7dd7735e06 swap config & is_tty inside import (fmt is upset) 2 years ago
mrshmllow 058308ae54 properly unwrap bin.sudo 2 years ago
mrshmllow 09195b104c add sudo to config.toml 2 years ago
Michal S f90a2de51c Add upgrade bool to pass down via Options to fix #33 2 years ago
Michal S 3790640524 [WIP] Potentially controversial arg change to support proper flag subcommands 2 years ago
Michal S c9d8a7590a Reimplement -Ssa style logic 2 years ago
Michal S b4dbbc6477 Add pager for longer output 2 years ago
Michal S c9aff94b8e Fix printing
Add padding opt to print_list
2 years ago
Michal S bc80df4946 Fix searching (both AUR and repo)
Add Printable trait
Improve wrapping
2 years ago
trivernis 1ad98ca780
Add fuzzy file review selector
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 1c3de417e2
Refactor aur install into chained pattern
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 6ad7f4d79f
Fix installation of make-depends uninstalls depends too 2 years ago
trivernis 00085def6f
Change .pacnew detection text to bold
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis c667f5b285
Update aur-rpc 2 years ago
trivernis 1751f4f39e
Partially fix base pkg build stuff 2 years ago
trivernis caf2ec3de4
Add removing of make dependencies after build 2 years ago
trivernis 8b2a62969e
Separate multiselect and confirm from logger 2 years ago
trivernis 7aebf35f96
Add output suspending when prompting the user or starting a pager 2 years ago
trivernis c7ad9a9725
Add build log reviewing when package builds fail 2 years ago
trivernis ad34e8bf8b
Add filtering for already installed dependencies 2 years ago
trivernis 53cf212569
[WIP] Fix dependency order and improve build output
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis e0f58e1aba
[WIP] Parallel builds and installs
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis bef4fbcb02
[WIP] Implement parallel aur install
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
Trivernis 362c2cf6ea Fix clean function not stripping the package version
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
trivernis 052d176f4a
Reimplement logging by utilizing the tracing crate
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago