38 Commits

Author SHA1 Message Date
Anmol W
fb168fb176 fix swapped fish completion descriptions for --repo and --aur (#2523)
fix swapped fish completions for --repo and --aur
2024-10-25 10:35:07 +02:00
Daniel Oh
836fc5922a add short option for --repo (#2380)
* add short option for --repo

* run pre-commit

* update man page

* add fish completion

* add a N options

* add long options

---------

Co-authored-by: jguer <me@jguer.space>
2024-06-28 16:40:35 +02:00
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
ba1e06d367 feat(cmd): remove unused absdir option 2021-09-08 22:25:55 +02: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
f7d6ad59cd fix(completions): list installed is not available upstream yet 2020-12-11 10:24:32 +01:00
jguer
b864d433df fix(completions): sync completions with upstream, namely packages 2020-12-11 01:30:58 +01:00
Akatsuki
d5718b7406 Fix -U complete
__fish_complete_suffix function is changed.
2020-02-25 22:52:16 +01:00
morganamilo
f2959922a7 Remove tar support
tar is slower and harder to diff. I doubt any one still uses it intentially.

There's a chance some people have not cleared their cache in two years
and still have tar based packages around. But forcing them to clear
their cache is not a big deal at all.
2019-11-11 02:57:14 +00:00
morganamilo
12312c8aa0 Remove -F in fish completion
This flag is only in fish-git, making it broken for most people.
2019-10-30 02:21:12 +00:00
Akatsuki
e36fda0f5a completions/fish: refine from pacman 5.2.0 and yay 9.4.2 2019-10-26 04:08:06 +08:00
Akatsuki
58a9c78033 completions/fish: update for pacman 5.2
`-F`:
    Remove `-s --search`
    Remove `-o --owns`
    Add    `-x --regex`
`-S -U`:
    Remove `--force`
    Add    `--overwrite`
and another fix:
    `-Qo` remove `-f` in complete
    `-U`  add `.zst` zstd completion
2019-10-24 08:20:06 +08: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
Jguer
13f81c7624 Remove non existant show options and add missing -Pg 2018-09-24 00:17:15 +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
Jguer
a592d1aa87 Add completions to fish for series 900
Signed-off-by: Jguer <me@jguer.space>
2018-07-27 12:16:21 +01:00
Jguer
89b5a1b798 Fix invalid uppercasing in flags
Signed-off-by: Jguer <me@jguer.space>
2018-07-01 14:53:48 +01:00
Jguer
52f5c8878f Add native pacman completions
Signed-off-by: Jguer <me@jguer.space>
2018-07-01 11:59:25 +01:00
Jguer
e5bb23d9c6 Include print in noopt 2018-06-19 11:02:11 +01:00
Jguer
a8d9166113 Fix some fish completions. Fixes #498. Add missing flags 2018-06-19 10:51:10 +01:00
Jguer
6b7ee97479 add quiet to print options. fish complete 2018-05-20 15:28:43 +01:00
Jonas Thiem
976876961b Add completions for --news 2018-05-06 03:31:09 +02:00
Tom Swartz
1c9715dddf Fix typos 2018-04-23 13:06:56 -04:00
Jguer
adbc47a4f9 add fish completions
Signed-off-by: Jguer <me@jguer.space>
2018-04-09 12:20:51 +01:00
morganamilo
590030525b Add shell completion for --rebuild* flags 2018-03-27 17:46:04 +01:00
morganamilo
7e20d2d8a3 Remove duplicate config option 2018-03-27 17:13:21 +01:00
Sergio Correia
51ad78cb69 Update fish completion regarding GPG options
Added completion for --gpg and --gpgflags.
This was forgotten in #256.
2018-03-26 15:24:32 -04:00
Jguer
82124c1b46 Update version for close release
Signed-off-by: Jguer <me@jguer.space>
2018-03-22 17:02:40 +01:00