* add missing locales
* use t.Setenv instead of os.Setenv for tests
* locale: present y/n if localisation is not latin. Always accept y/n in every case
* question: use operation info for question
* edge case where localised n is equal to default y
* add tests for basic locales
* feat(aur): add option to limit concurrent downloads
Adds to config file option 'maxconcurrentdownloads' which if set to
value != 0, limits number of concurrent AUR downloads to specified.
Fixes#1763.
* fix lint issue
* 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
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* Fixed end of php use on AUR API
* Added a / to the end of rpc to respect the AUR RPC doc
* Removed the / due to the "AUR unavailable at this moment" error
* add --quiet to systemd-run
this will avoid the `Press ^] three times within 1s to disconnect TTY.` message.
it's mentioned in the systemd-run man page too:
```
--quiet, -q
Suppresses additional informational output while running. This is particularly useful in combination with --pty when it will suppress the
initial message explaining how to terminate the TTY connection.
```
* add --quiet to the tests
* add --quiet to TestABSPKGBUILDRepoExistsPerms too
This fixes#1283.
yay --query --upgrades [--explicit|--deps] will not return same packages pacman
does extended with AUR packages.
yay --show --numberupgrades [--explicit|--deps] will also work.
author lwlf <wuhaojie_2011@sina.com> 1603706823 +0800
committer jguer <me@jguer.space> 1604217613 +0100
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEP4pAozwhlAIAKURxbWzJvqhVazUFAl+eaw0ACgkQbWzJvqhV
azU8Dg//XEcgshJ3DqS54kGDOhOXvp3RGWDW6EGYS9UG22ul6af2Yxgt+sNksQY2
oaTBV2TiQ979AWikJ70waTLQEkkqqkbG1eKz0AWniQQuHPmpTu/9CA6e5hX5f+nh
AdeUdvz8UcxRd2n80YCVYv7KEs2QkR1ZU4gE+42BG/ohdWSoAxfd1S/skDJ2uYjx
VUu/ZVYh1qsgLhoIqLpnKzv0jPDVvbpzQ0il+1Zyl2P7qC8QKDTHkfajO6FQV46t
74anbsk1HrwJSK2G8Z25h/vzi+6Vz36koS7A8mQCLz4jpQZho0Ax7wkhPwLhYSNf
8CRTK8uoyczTLECOBXnwwrQoDl21N4EgqzZWDBso6DEozBZMteSd74liye3FAXff
vWmN12pf6nh8uUN5kUGaj/Jq6XWij0cdU4vM0CpRzlzAw3OV4Z0RTwVHqAy6qU6J
M73cIwVjzVEmPAjWlD2y1ZbTNFUsbWNZ4iqxWXcvc2IOuR4Ywjv+T45NcFXB6RcZ
PoEivscWy/nEkmihtn9bAIhZXze/UMgIktOV8FyrYFizlVNmZ3HuFPlu6tXRFIZK
RdGbTeLunPGMLg8iw5C9rKe8/vvsVlUpLUiguyr7w3vUS9QpxLPd8mHlsUETp3p2
OKxz3zD4/BRaRmuL6Gef7KeroCvJYZGnVpTHPHoOENkSzGxqHCk=
=D+N6
-----END PGP SIGNATURE-----
unsaved config when yay's config path does not exist
unsaved config when yay's config path does not exist
unsaved config when yay's config path does not exist
unsaved config when yay's config path does not exist
unsaved config when yay's config path does not exist
fix: unsaved config when yay's config path does not exist
fix: unsaved config when yay's config path does not exist
fix: unsaved config when yay's config path does not exist
fix: unsaved config when yay's config path does not exist
fix: unsaved config when yay's config path does not exist