Commit graph

1844 commits

Author SHA1 Message Date
jguer bfd5ca6024
ci(github): tame stale bot 2021-03-13 12:21:15 +01:00
jguer 4b476a0e78
fix(sudoloop): reduce sudoloop sleep, fixes #1379 2021-03-13 12:08:11 +01:00
jguer b7f730a59a
fix(sudoloop): stop update sudo from taking extra flags, fixes #1427 2021-03-13 12:06:31 +01:00
Julian Daube 348f2de85c fix(yay): mirror pacman return codes on run error
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
2021-03-12 20:42:42 +01:00
D1CED c8a74cb4a4 prevent leaking goroutines 2021-03-12 20:41:55 +01:00
D1CED 260594f42a disable interfacer check 2021-03-12 18:11:30 +01:00
D1CED eb9ff86aa9 fixed lint issues 2021-03-12 18:11:30 +01:00
Jannis M. Hoffmann 1a8ee2012d removed alpm dependency from download 2021-03-12 18:11:30 +01:00
Jannis M. Hoffmann df1361aa05 moved Upgrade to db
to reduce dependencies
2021-03-12 18:11:30 +01:00
Jannis M. Hoffmann 5d2c763fdb reroute dep->rpc dependency via query 2021-03-12 18:11:30 +01:00
Jannis M. Hoffmann 34f7dbc7fc Narrow interface in completion 2021-03-12 18:11:30 +01:00
Jannis M. Hoffmann 5993613c53 Added type alias for alpm types in db 2021-03-12 18:11:30 +01:00
jguer b6feb7c308
chore(deps): update dependencies 2021-03-11 09:36:42 +01:00
jguer ca60c15911
chore(deps): update pre-commit hooks and fix supply chain issue 2021-03-02 08:23:26 +01:00
xvqxy 05c2fa6087 Add doc for getFilter func. 2021-02-14 22:38:49 +01:00
xvqxy 9fc6d9c128 fix(query): Respect --deps and --explicit.
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.
2021-02-14 22:38:49 +01:00
jguer fd9e2638f9
fix(yay): fix completions of -Gp 2021-01-31 19:07:08 +01:00
jguer afc72daba7
test(download): test pkgbuild fetching 2021-01-31 19:07:08 +01:00
jguer ee3c51f6f2
feat(pkgbuild): extract logic 2021-01-31 19:07:08 +01:00
jguer 28c985b378
fix(pkgbuild): move pkgbuild to Gp 2021-01-31 19:07:08 +01:00
jguer a288dd754f
fix(pkgbuild): rebase pkgbuild fetching from nycex 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
Benjamin Robin 5bef39b728 Do not use CmdRunner.Capture() while executing a command with sudo
Fix #1440
2021-01-31 18:01:50 +01:00
jguer b9d3992f13
chore(yay): update release notary 2021-01-29 22:48:05 +01:00
jguer c221d5ebbd
fix(yay): give priority to LC_MESSAGES. fixes #1442 2021-01-29 22:45:42 +01:00
jguer f00630fd0c
chore(yay): update go dependencies 2021-01-29 22:23:36 +01:00
xhqr 24edabe5df Print error if PATH is empty.
This fixes #881.

Before:
```bash
$ PATH= /usr/bin/yay -Qu
$ echo $?
1
```

After:
```bash
$ PATH= ./yay -Qu
exec: "pacman-conf": executable file not found in $PATH
$ echo $?
1
```
2021-01-16 18:27:39 +01:00
Porrumentzio 607d28778e Updated Basque translation 2021-01-13 11:42:12 +01:00
riiga 5f9ad882f6 Add Swedish translation 2021-01-11 22:21:41 +01:00
jguer 7d849a8dec
ci(release): tweak changelog 2020-12-14 19:21:15 +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
ccat3z bb50b4079f fix(exe): fix timeout of OSRunner.Capture()
kill all child processes
2020-12-10 09:07:33 +01:00
jguer 182f4c7f6c
test(pgp): temporary fix for random order test 2020-12-10 00:29:56 +01:00
jguer c85bbf54da
chore(yay): remove deprecated dependency 2020-12-10 00:18:23 +01:00
jguer 999392640e
fix(makefile): add pacman>6 checking to makefile 2020-12-10 00:15:00 +01:00
jguer 35e64deca4
chore(yay): update alpm 2020-12-10 00:06:46 +01:00
morganamilo 952e801ed1 Update email 2020-12-06 15:16:31 +01:00
jguer f24e21105e
ci(builder): update ci builder 2020-11-17 20:25:40 +01:00
jguer 8d9fed2ad0
fix(query): fix remote package slow filtering 2020-11-16 08:59:35 +01:00
Kazuki Sawada 8c4fe837d3 Fill fields of CmdBuilder with options specified in commandline 2020-11-15 15:13:44 +01:00
Janek 13caa7fb3d Improve feature request issue template 2020-11-15 15:10:58 +01:00
Janek 8393ee4acc Improve bug report issue template 2020-11-15 15:10:58 +01:00
jguer de7373dd00
docs(stale): add stale checks 2020-11-01 09:49:07 +01:00
jguer 981c336541
docs(github): add CODEOWNERS and other aur helpers section 2020-11-01 09:35:50 +01:00
jguer 6beefb1400
fix(config): fix save config 2020-11-01 09:09:38 +01:00
lwlf 497f94ca9f
parent 55a6767b44
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
2020-11-01 09:00:47 +01:00
jguer 55a6767b44 fix(parser): use Fields instead of Split 2020-10-30 11:09:06 +01:00
jguer 81b5feb68a fix(passer): fix slice copying for passer 2020-10-30 11:09:06 +01:00
jguer 7d080df6ac fix(config): fix mflags and gitflags 2020-10-26 09:32:22 +01:00