Commit Graph

384 Commits (4e37078758588aaeb1ac759506d14449eab6eeb9)

Author SHA1 Message Date
trivernis 0f3133bf16
Rename prompts and stuff to ame prompt
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 8b2a62969e
Separate multiselect and confirm from logger 2 years ago
trivernis 119f4ef8fd
Change build behaviour to build all packages and handle failed ones later 2 years ago
trivernis 7541e74e87
Improve querying of installed packages 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 d2f645e34f
Fix the broken parallel build
Signed-off-by: trivernis <trivernis@protonmail.com>
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 8f294fb6a4
[WIP] Add repo dependency install step
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
trivernis f1bbb2626c
Merge branch 'main' into feature/async 2 years ago
trivernis 76a301bade
Fix clippy warnings
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis fdb87cc2fe
Merge branch 'main' into feature/async
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 1f5a2127e1
Add builder for pacman query
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis bb6b5cc162
Change wrapper to builder pattern (fancy stuff)
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis adeeb75ba6
Add wrapper for pacman install
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 43e55480b8
Fix async installation
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
Michal b484e2b268
Initial implementation of sorting aur and repo results together 2 years ago
Michal e3d3135e43
Added search-by directive for AUR 2 years ago
Michal c7e74e291f
Updated pacdiff prompt wording
Signed-off-by: Michal <michal@tar.black>
2 years ago
axtloss f49998706a
change package path to support alarm packages
Signed-off-by: axtloss <axtlos@tar.black>
2 years ago
Michal bbf40c2e00
made it clear upg/-Syu runs by default 2 years ago
Michal 91ed63cfd3
fmt + clippy 2 years ago
Michal f485c256e6
Initial impl of passing unrecognised commands to pacman 2 years ago
Michal 385329047e
Clippy + fmt 2 years ago
Michal e93bc7931c
Smart-er argument checking (-Sa, -Ssr, etc.) 2 years ago
Michal d860f35594
Adjusted wording to search help, #18 2 years ago
Michal 335e0d8ef1
Removed debug output, added -d to makepkg clone 2 years ago
Michal f818ce4eeb
Temp workaround to AUR not supporting regex search 2 years ago
Michal S d30e4e3a03
docstrings 2 years ago
Michal S 5c0d267e36
docstrings 2 years ago
Michal S 029be3cbec
uwu search output 2 years ago
Michal S d55845090f
fixed spinners and trimmed result 2 years ago
Michal S 40a342dd3c
general fmt 2 years ago
Michal S dd11ea2c68
Fixed indentation in search results 2 years ago
Michal S 53dd963932
Added paging to results if they are larger than terminal size 2 years ago
Michal S 8db9bcb958
linting 2 years ago
Michal S 08017dea11
Lets you know when an AUR package was marked OOD in searches too 2 years ago
Michal S ab8070d544
Lets you know when an AUR package was marked OOD 2 years ago
Michal S 5776a80cff
Better search output + out of date warning 2 years ago
Michal S cb9928471e
Fetch sources when caching 2 years ago
Michal S ca5180da1b
Cleaning up aur_install still 2 years ago
Michal S 978d276c18
Further split of aur_install 2 years ago
Michal S 54c769a245
Optdepends only displayed if they actually exist 2 years ago
Michal S 2982fa162e
Ensured noconfirm is passed through to finish() 2 years ago
Michal S 8482b03015
Fixed some stuff 2 years ago
Michal S cb531df84e
Initial implementation of gencomp 2 years ago
Michal S 719faf7124
Added extra config option to highlight optdepends 2 years ago
Michal S 49c3664c26
Clippy + FMT 2 years ago
Michal S 08d9fed1ab
Fixed up arg aliases and use vercmp internally 2 years ago
Michal S 74025f5230
Idk why i made it do that lol 2 years ago
Michal S 27d01ab47b
Better wording 2 years ago
Michal S 6ff4db69ad
Added config file + FMT 2 years ago
Michal S 991d5d2772
Changed default for AUR upgrade prompt 2 years ago
Michal S c1e7e71003
Amethyst v3.6.0, now with 20% less memory leaks! 2 years ago
Michal S d42f2059fd
Args and readme cleanup 2 years ago
Michal S 74e14304d4
removed some useless things 2 years ago
Michal S ecdd82ace4
removed some useless things 2 years ago
Michal S ab26c17dfd
fmt 2 years ago
Michal S fee9ea2fd3
The clippening. 2 years ago
Michal S 2131f4ff4b
Added support for custom provided cache dir 2 years ago
Michal S d8b7c7e02b
yknow what, not today actually 2 years ago
Michal S 8fc2454d5c
Release the beast. Clippy lives again 2 years ago
Michal S 696057e45f
Betterised prompt 2 years ago
Michal S 57f56aff0e
Added PKGBUILD editing and saving 2 years ago
Michal S eb8fa081cf
Smarter AUR dependency installation/management 2 years ago
Michal d9f68f9d83
Update detect.rs
Signed-off-by: Michal <michal@tar.black>
2 years ago
Michal S d76a4702d0
FMT 2 years ago
Michal S 0594ecf5e4
Fixed #3 2 years ago
Michal S 66d672f4cc
Hopefully fixed #14 2 years ago
Michal S ec1f3b433a
Ensured #6 doesn't happen (fixed #6) and fixed #13 2 years ago
Michal S 8f0540eb46
Added info function 2 years ago
Michal S aac4a97419
Fixed circular AUR dependencies 2 years ago
Michal S c4ecfc2d78
Split Upgrade into AUR/repo 2 years ago
Michal S 2b7b4aa878
Spinners and better pacdiff 2 years ago
Michal 242fb298e2
Merge branch 'main' into development
Signed-off-by: Michal <michal@tar.black>
2 years ago
Michal S ed17596e2b
cleared up wording 2 years ago
Michal S a4eebc6d85
FMT 2 years ago
Michal S c3b0fd7a2d
Changed location of detect and added prompt to upgrade 2 years ago
Michal 22dfb90be5
Fixed = parsing 2 years ago
Michal 39ecbc0dac
Update clean.rs 2 years ago
Michal 77d36f3b31
Updated clean to also strip `=` 2 years ago
Michal b6125aceed
clippy + fmt 2 years ago
Michal f54df88c29
betterized pacdiff 2 years ago
Michal 3474b26db0
normal clippy stuff 2 years ago
Michal b757d8f5f3
Turns out we didn't even need the database after all 2 years ago
Michal 21f958d0fe
Lotsss of comments 2 years ago
Matt C 30744d1d77 rip pkg-warner lmao 2 years ago
Michal 68a13e58ed
Re-added `rem` alias for remove command 2 years ago
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 3 years ago
jan Michal 5d1205e1de
added arg aliases and fixed #24 3 years ago
Trivernis c4d86ca178 Fix style issue in sudoloop function
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 8c12e4c6c4 Add sudoloop feature that starts a second thread to loop sudo
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis c2bbe77b89 Colorize pacman output on ttys
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 1c1a92f586 Add ins shorthand for ame install
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis b8507025f6 Wrap commands with ShellCommand builder
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 2266b10a7b Encapsulate command executions
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis 247659b7ba Replace redefinitions in mod.rs with reexports of submodule functions
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis f4ac74909a Fix missing dash on -Rs alias to Remove operation
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 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>
3 years ago
jan Michal b0dec6d5cf
fixed #21 3 years ago
jan Michal 511d70299e
fixed issue when a package with the same name was in both repos and aur 3 years ago
jan Michal c5c65e2dee closed #13 3 years ago
jan Michal 8b6fabad74
moved cachedir removing code to init() 3 years ago
jan Michal 976c833d01
closed #19 3 years ago
jan Michal 005fe8c56e
closing #15 3 years ago
jan Michal a892efce65
fixed #13 3 years ago
jan Michal f1a8da08b9 fmt 3 years ago
jan Michal 495e6359e9 fixed #20 3 years ago
michal 7b79bcdfb3 added feature request: list aur/repo packages installd (issue #11) 3 years ago
michal 9e55999174 fmt + import optimisation 3 years ago
michal 52b893a063 honestly not sure what i've done to anger the vcs gods today 3 years ago
michal 54f3c87f9d clearer crashing + readme 3 years ago
michal dba4ede596 finalising some stuff 3 years ago
michal 52df05752b import optimisation 3 years ago
michal de15c98432 AME_UWU 3 years ago
michal 59b443c607 general code cleanup 3 years ago
michal 6475eacbba replaced reqwest with ureq 3 years ago
michal 041f8e21b2 replaced panic! and eprintln! with crash! and log!
reworked pkg-warner slightly
3 years ago
michal 9e7df5d1b4 prettifying 3 years ago
michal f7f3a3e866 shell completion, fixed search, cargo.toml stuff 3 years ago
michal f045f86f3e string consistency 3 years ago
michal 4376b8efbf superuser check + infersubcommands 3 years ago
michal bba02caf7d everything pretty much 3 years ago
michal 79340f2e6b put the linter to rest 3 years ago
michal e9247e15e7 database template code + first run dir creation 3 years ago
michal 62a9b40d48 lots of stuff 3 years ago