Commit graph

27 commits

Author SHA1 Message Date
Joey Holtzman d02c45e5b6
Remove deprecated flags in favor of boolean flags (#2350) 2024-01-25 16:03:47 +01:00
Joey Holtzman 04c76a404e
feat(install): add --keepsrc to keep pkg/ and src/ directories (#2272)
* feat(install): add --nocleanbuild to keep pkg/ and src/ directories for
AUR packages

Providing this flag during installation of AUR packages allows for keeping
the src/ and pkg/ directories produced my makepkg. If the user wants to
delete the directories, they can either select to cleanBuild in the
cleanmenu or run the installation without the --nocleanbuild flag (yay
will only remove the directories if the package is rebuilt)

* fix(completion): simplify description for --nocleanbuild in fish

This makes the description consistent with the descriptions in the
man page, --help, and zsh completion.

* refactor(install): Rename --nocleanbuild to --keepsrc

This naming scheme is more familiar to users since it is the name of the
flag in Paru.

---------

Co-authored-by: jguer <me@jguer.space>
2023-09-18 09:21:42 +02:00
smolx adde043514
Add --askyesremovemake option (#2199)
Same as --askremovemake option but with "Y" as a default answer.
2023-06-11 16:13:01 +00:00
Jo e28319fece
chore(yay): lift legacy engine (#2189)
* remove legacy engine

* remove legacy dep handlers

* use prepare for gendb

* remove unused method

* remove aur client old interface

* remove unused menu fns

* remove inactive upgrademenu option

* unexport printInfo
2023-05-24 08:22:18 +00:00
moson-mo 647d160182
add option/setting "AurRpcUrl" (#1809)
Signed-off-by: moson-mo <mo-son@mailbox.org>
2022-09-18 00:05:27 +00:00
Jguer 0fdfe79943
Add experimental vote util to yay (#1765)
* feat(vote): add vote utility

* update deps

* add vote and unvote capabilities

* use -W for web ops

* add fish completions

* add bash completion

* add zsh completion

* add md instructions
2022-06-17 16:55:22 +00:00
Matt Alexander 22c165a11f feat(search): add optional setting that formats each search result on a single line, Part II 2021-11-05 09:26:34 +01:00
Matt Alexander 673f077e7f feat(search): add optional setting that formats each search result on a single line 2021-11-05 09:26:34 +01:00
jguer fd9e2638f9
fix(yay): fix completions of -Gp 2021-01-31 19:07:08 +01:00
jguer 28c985b378
fix(pkgbuild): move pkgbuild to Gp 2021-01-31 19:07:08 +01:00
nycex d9b440c929
implement yay -Pp option
fix linting errors

format with make fmt

fix completions

resolve most of the requested changes

move loop over dbSlice back into makeRequest

query aur in chunks of 20

check for status codes

continue instead of return in for loop

format code
2021-01-31 19:07:08 +01:00
Jguer 410c7e758f
Updated zsh and bash completions to pacman 5.2 and yay 9.4.*
Removes tar completions
Removes --owns from bash/zsh
Bash now prints repo pkgs if no letter is entered and AUR and repo if
there's a letter
2019-11-04 17:32:52 +00:00
Jguer f8e496457c
fixed some completions for bash and zsh. Closer to pacman 5.2 2019-10-25 12:01:33 +01:00
Andrew Shark 1901138e4c removed clutter from completion array 2019-09-12 09:44:39 +01:00
Eric Engestrom ebf48ffa1a add bash completion for -G,--getpkgbuild 2019-01-07 21:30:00 +00:00
morganamilo 4cc57dd970
Rename afterclean to cleanafter
This makes more sense and falls in line with the structs value which has
always been cleanafter. afterclean is still useable for compatibility
but is undocumented.
2018-09-27 16:12:43 +01:00
morganamilo 0657f7e23f
Complete -f for -G and --print -> --show 2018-08-30 16:09:08 +01:00
morganamilo 127c5e7cb9
Update shell completion for --aururl 2018-08-30 11:06:03 +01:00
morganamilo 1aff6cada0
Don't complete packages for empty string 2018-08-05 23:10:54 +01:00
morganamilo 746a541f7b
Update bash completion
Update bash completion, based of the current pacman bash completion.
Organized to try and keep the yay additions seperate from the main
pacman stuff and unused functions removed.
2018-08-05 23:01:09 +01:00
morganamilo f9d8d61524
Upbade bash completions 2018-07-30 14:21:49 +01:00
morganamilo 4f1a46eed8
Add bash and zsh completion for new flags 2018-07-01 17:21:54 +01:00
morganamilo 07b3d76a66
Update bash and zsh completion 2018-06-12 21:33:29 +01:00
Jonas Thiem 976876961b Add completions for --news 2018-05-06 03:31:09 +02:00
morganamilo 6f223786ef
Update bash and zsh completion 2018-04-08 21:49:27 +01:00
morganamilo 590030525b
Add shell completion for --rebuild* flags 2018-03-27 17:46:04 +01:00
Jguer 82124c1b46 Update version for close release
Signed-off-by: Jguer <me@jguer.space>
2018-03-22 17:02:40 +01:00
Renamed from bash-completion (Browse further)