makepkg expects pacman-alikes to return 127 (missing dependency)
when called with -T as argument. yay does not behave like this since
it overwrite the return value with 1 in every case.
This commit will test for ExitCode errors and return the called
applications error code instead of 1, when possible. This gets yay
closer to be used as pacman alternative for makepkg with
```
PACMAN=yay makepkg -s
```
fixes Jguer/yay#1455
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.
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
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