Commit Graph
1656 Commits
Author SHA1 Message Date
jguer ca7165ecb6 ci(yay): update golangci and remove deprecated 2021-04-12 16:54:51 +02:00
jguer 2da1e154c2 fix(yay): strip release bin 2021-03-20 18:59:46 +01:00
jguer 6d4c2472d8 fix(yay): use upstream flags 2021-03-20 18:41:29 +01:00
jguer 829f944659 fix(output): don't print exit status message 2021-03-18 22:40:37 +01:00
jguer d1a6ead81c style(deps): reduce scope where possible 2021-03-17 23:18:44 +01:00
jguer a33f43f502 feat(deps): don't install check deps if --nocheck is passed.
feat(makepkg): automatically pass -d to makepkg if -dd is passed
2021-03-17 23:18:44 +01:00
jguer d7424b1b28 feat(install): implement support for -dd 2021-03-17 23:18:44 +01:00
jguer 5da8161328 chore(install): reduce cognitive load 2021-03-17 23:18:44 +01:00
jguer 7a280e0199 fix(install): simplify sysupgrade 2021-03-17 23:18:44 +01:00
jguer ece81fa078 chore(yay): bump for next version and add funding options v10.2.0 2021-03-16 19:26:23 +01:00
J Guerreiro 5f2a14d027 add asciicast 2021-03-15 23:54:30 +01:00
jguer 3d585877ba ci(yay): update golangci 2021-03-13 12:24:01 +01:00
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 v10.1.2 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