Commit Graph

153 Commits (4bed3d55746ffecab19770f20818da298b68340e)

Author SHA1 Message Date
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
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
mrshmllow f100b13e28 simplified prompt for single package reviews 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 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
Fries 16e9cbc937 operations/upgrade: support quiet option 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 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
trivernis 8c35eb1250 Fix endless loop in aur dependency batch creation 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
Michal S 1deee9b152 Code cleanup for PKGBUILD output parser 2 years ago
Michal S 5bad161ef7 Parse PKGBUILD output archives to fix -git packages 2 years ago
Michal S 2e5c4075e7 Format 2 years ago
Michal S c1f655696d Remove packagefile match check to fix Git packages 2 years ago
Fries 3aa4d9da67 config: use config crate
Parsing of the config is now done with the config crate
2 years ago
Michal S 0496e6eb4a Fix clippy issue 2 years ago
Michal S a398cf40e1 Fix erroneous newline, breaks up output unnecessarily 2 years ago
mrshmllow 690b5d5a18 replace usage of Command with ShellCommand 2 years ago
mrshmllow 09195b104c add sudo to config.toml 2 years ago
Fries 78d02a071c aur_install: fix typo in mod.rs 2 years ago
Michal S f90a2de51c Add upgrade bool to pass down via Options to fix #33 2 years ago
Michal S 90787d329d Moved detect call to upgrade.rs to resolve #30 2 years ago
Michal S 2c7327a540 Replace unnecessary unwraps with if let Some(...) 2 years ago
Michal S ed58ef4d26 Make description an Option<String> and handle it in Display/Printable 2 years ago
Michal S abef89abb4 Fix indentation issue 2 years ago
Michal S 17370c2bbd Better comment for hacky indent fix 2 years ago
Michal S 1e93e5eb81 Fix indentation in certain places 2 years ago
Michal S d617f08841 Fix search logic
Fix erroneous display of empty groups
2 years ago
Michal S c9d8a7590a Reimplement -Ssa style logic 2 years ago
Michal S 8f29896e14 Clippy lint 2 years ago
Michal S 0a15a66e1d Implement result sorting and [installed] visual 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 de9a51aa27
Fix issue with package descriptions that are null 2 years ago