78 Commits

Author SHA1 Message Date
Jo
15c0597562 Build: Build without install with -B . (#2684)
* remove deprecated --tar flag and add --gitflags

Built without installing with -B

fix git tests gitBin

align with next

* fix order of ops
2025-12-22 15:22:10 +01:00
Rodrigo Barrios
13df7e79eb Document -Ycc in manpage (#2482)
Signed-off-by: r.b4rr10s <rodrigoedu11@gmail.com>
2024-09-19 14:14:16 +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
d368f99be0 feat(yay): add boolean flags (#2285)
* feat(yay): add boolean flags

This feature now allows users to specify --<option>=<bool value> instead
of using --<option> and --no<option>. Specifying nothing results in the
boolean value being true. The flags prefixed with `no` are deprecated.

* chore(args): Print warning when using deprecated flags

* chore(yay): Update man page for deprecated options and add examples of
boolean flags being used
2023-09-27 12:36:57 +02: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
Jo
b51c10ca3e doc(yay): specify search narrowing in man (#2145)
specify search narrowing in man
2023-05-01 12:33:19 +00:00
Jo
511b95769e docs(yay): correct order of editor var evaluation (#2104)
correct documentation on order of editor preference. Use logger for editfn
2023-04-10 15:46:46 +00:00
Jo
a64180464b chore(man): fix wording on operation order to make it more clear (#2088)
fix wording on operation order to make it more clear
2023-04-06 16:49:18 +00:00
Jo
c744058b20 Update manual page and remove deprecate/removed options (#1951)
* add new options and remove deprecated

* add new -Bi
2023-03-08 13:07:15 +00:00
Jo
f372494d74 feat(search): add new bys and misc fixes (#1870)
* use default bin entry of gpg

* fix(dep): fix displayed information in chosen provide

* add new rpc bys to searchby

* man document
2022-12-30 19:02:32 +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
Mudskipper875
cd4462761a Fix environment variable name in man-page (#1806) 2022-09-07 18:08:15 +02:00
Jordan Cannon
b6b1888e89 Remove duplicate line from man page (#1792)
Co-authored-by: Jo <me@jguer.space>
2022-08-16 09:08:51 +02: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
cubercsl
ed2f533534 docs: remove tuna aur config for China users (#1747)
Tuna has removed the aur proxy service since 01Mar:
- https://mirrors.tuna.tsinghua.edu.cn/news/remove-aur/
- tuna/issues#1424
2022-05-03 22:15:17 +02:00
J Guerreiro
e4a1f018ea feat(search): Add fuzzy name matching and mixed sources (#1719)
* fix(alpm): fix callback text

* feat(yay): Add mixed search result

* remove old result structs

* add option for controlling query builder

* only set query builder after parsing args

* add parser args

* update manpage

* write test for results

* write test for results

* mixed source test

* only sort 1 time with every mode
2022-03-06 23:48:15 +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
Peter Wu
827adab4b8 Update yay.8 2021-07-31 16:47:16 +02:00
jguer
fd9e2638f9 fix(yay): fix completions of -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
morganamilo
952e801ed1 Update email 2020-12-06 15:16:31 +01:00
Dương Đỗ Minh Châu
c6a17d02f4 Fix typos in man page 2020-02-25 22:52:15 +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
Pierre-Alain TORET
6dd65a2df2 Add SudoBin and SudoFlags 2019-10-28 18:35:36 +00:00
Jguer
211b96867c Bump version for release. 9.4.0 2019-10-21 16:50:17 +01:00
morganamilo
3baf2e1ff1 Update documentation 2019-10-21 15:30:04 +01:00
Andrew Shark
0ff6ced19f fix typos in man 2019-09-12 09:44:39 +01:00
Ben Brown
e43e68f6bf Fix errant capitalisation 2019-06-17 12:04:07 +01:00
Ben Brown
13d8c82d42 Fix "ealily" typo 2019-06-17 12:02:49 +01:00
J Guerreiro
888a289a1b Revert "Add SudoBin" 2019-03-29 22:09:27 +00:00
Pierre-Alain TORET
877c794bc2 Add SudoBin and SudoFlags 2019-03-27 15:16:39 +01:00
Arseni
417cc653ab Improve the man page's writing and fix typos. (#904)
* Fix typos in man page

* Use more concise forms of verbs in man page

* Fix confusing list in man page
2019-03-06 16:36:18 +00:00
morganamilo
4f01418769 Support -Sl
Adds (mostly) complete -Sl support. While pacman will also print the
version number for the package, packages.gz does not give version
numbers. Using -Si to fetch all that data would also be unthinkable.

Instead of just missing out the version number yay will print
"unknown-version". This is so that tools that expect a version number do
not break.
2019-01-26 23:31:46 +00:00
Stefan Seering
cc98fa0670 fix copy-paste error 2018-12-06 20:01:09 +01:00
Peter Dyer
c7123e03df Update man page for new --noprovides functionality 2018-10-18 23:27:49 +01: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
42cba53165 Update doc for --afterclean and fix typo 2018-09-27 16:08:00 +01:00
morganamilo
b0aaba7848 Fix misleading word in man page and missing \n 2018-09-20 00:46:10 +01:00
morganamilo
29642d181f Document -f for -G and --print -> --show 2018-08-30 16:09:00 +01:00
morganamilo
92ff640a65 Document --aururl 2018-08-29 21:18:37 +01:00
morganamilo
d34ce70455 Expand documentation for --devel
Correclty say Git instead of GitHub
Brielfly explain how --devel checks for updates
Give an example of pacaur-like devel
2018-08-28 04:33:51 +01:00
Kenny Jackson
b39f7494df Fixed spelling errors 2018-08-20 12:05:56 -04:00
morganamilo
03fee7b7d5 Expand -G documentation 2018-08-18 17:14:07 +01:00
Anna
a5ae757803 Merge pull request #615 from Morganamilo/fixargs
Add yay specific args, drop conflicting args
2018-08-05 21:52:16 +01:00
morganamilo
8f3f4b7b98 Give an example of how to update only AUR packages
I've seen `yay -Syua` given as an example all over the place. I'm not
sure if this is left over as a habbit from yaourt. In yay, -a restricts
the upgrade to AUR packages ONLY while I believe in yaourt it means to
also include the AUR.

The problem with `yay -Syua` is that you are doing a database refresh
and then only upgrading the AUR packages. Essencially:

pacman -Sy && update-aur

This is a recipy for partial upgrades.

Either upgrade everything `yay -Syu` or just the AUR `yay -Sua`.
2018-08-05 15:28:06 +01:00