Commit Graph

191 Commits (21e4d669687ea52dac2644fc56657743b395555e)

Author SHA1 Message Date
trivernis 21e4d66968
Make fs and command operations asynchronous
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 33a68d654a
Merge remote-tracking branch 'origin-tar-black/feature/sudoloop'
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 7baaced905
Fix the one and only clippy warning
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis f763a7aaaf
Merge remote-tracking branch 'origin-crystal/development'
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 2914446be6
Replace logging and output functions with macros
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
Michal b6ef37cf6f Warn users about the dangers of `vimdiff` 2 years ago
Michal d3600d52db Removed legacy .pacnew handling method 2 years ago
Michal c6f472cb90 Globalised `-v` and `--noconfirm`, made `--noconfirm` apply to clean properly. Fmt + import optimise. 2 years ago
Michal ebac3bcab4 oops! 2 years ago
Michal d9c517a787 Added new aliases for query 2 years ago
Michal 951d31bd77 Don't error out if there are no packages to clean 2 years ago
Michal 89d3c4e1db Made clean actually uninstall the packages... oops 2 years ago
Michal 62652b3459 Import optimisation 2 years ago
Michal 468d7027e3 Cargo fmt 2 years ago
Michal ab5e337012 Amethyst now checks for .pacnew and .pacsave files and prompts the user to run pacdiff if necessary 2 years ago
Michal 92b7829fe1 Initial implementation of new clean subcommand 2 years ago
Michal f1f41a86e0 Fixed Cargo.toml & flake.nix, solved issue #6, added new warn(); helper function. 2 years ago
michal ffe6aa0858 fixed stuff ig 2 years ago
michal 10893dad01 Merge branch 'main' of https://github.com/crystal-linux/amethyst 2 years ago
jan Michal 82bff3501c
fixed wrong error code 2 years ago
jan Michal 5d1205e1de
added arg aliases and fixed #24 2 years ago
Trivernis c4d86ca178 Fix style issue in sudoloop function
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
Trivernis 8c12e4c6c4 Add sudoloop feature that starts a second thread to loop sudo
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
Trivernis c2bbe77b89 Colorize pacman output on ttys
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
Trivernis 1c1a92f586 Add ins shorthand for ame install
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
Trivernis b8507025f6 Wrap commands with ShellCommand builder
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
Trivernis 2266b10a7b Encapsulate command executions
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
Trivernis 247659b7ba Replace redefinitions in mod.rs with reexports of submodule functions
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
Trivernis f4ac74909a Fix missing dash on -Rs alias to Remove operation
Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
Trivernis 2c2677ae88 Change argument parsing to clap v3 derives
With this change the arguments are parsed with the
new clap v3 derive syntax. This commit also sets the
default command to Upgrade similar to the behaviour
of other aur helpers.

Signed-off-by: Trivernis <trivernis@protonmail.com>
2 years ago
jan Michal b0dec6d5cf
fixed #21 2 years ago
jan Michal 511d70299e
fixed issue when a package with the same name was in both repos and aur 2 years ago
jan Michal c5c65e2dee closed #13 2 years ago
jan Michal 8b6fabad74
moved cachedir removing code to init() 2 years ago
jan Michal 976c833d01
closed #19 2 years ago
jan Michal 005fe8c56e
closing #15 2 years ago
jan Michal a892efce65
fixed #13 2 years ago
jan Michal f1a8da08b9 fmt 2 years ago
jan Michal 495e6359e9 fixed #20 2 years ago
michal 7b79bcdfb3 added feature request: list aur/repo packages installd (issue #11) 2 years ago
michal 9e55999174 fmt + import optimisation 2 years ago
michal 52b893a063 honestly not sure what i've done to anger the vcs gods today 2 years ago
michal 54f3c87f9d clearer crashing + readme 2 years ago
michal dba4ede596 finalising some stuff 2 years ago
michal 52df05752b import optimisation 2 years ago
michal de15c98432 AME_UWU 2 years ago
michal 59b443c607 general code cleanup 2 years ago
michal 6475eacbba replaced reqwest with ureq 2 years ago
michal 041f8e21b2 replaced panic! and eprintln! with crash! and log!
reworked pkg-warner slightly
2 years ago
michal 9e7df5d1b4 prettifying 2 years ago