Commit graph

1872 commits

Author SHA1 Message Date
jguer ab0ce0aeb9
chore(deps): update dependencies 2021-05-08 00:31:19 +02:00
jguer 8e6d098ff8
fix(deps): fix regression on CombinedDepList 2021-05-08 00:29:33 +02:00
x1b6e6 662c630a08 main_test: diaable checking TotalDownload conf
`TotalDownload` is removed in pacman 6. We can't leave it enabled for
pacman 5 and disable for pacman 6, so we disable it for both.
2021-05-07 23:30:08 +02:00
x1b6e6 faf03436a7 Sync with go-alpm v2.0.5 2021-05-07 23:30:08 +02:00
x1b6e6 7ade2afd78 add testing with pacman-git 2021-05-07 18:03:57 +02:00
x1b6e6 767c7975f3 fix test using multiple 'Architecture' value
Signed-off-by: x1b6e6 <ftdabcde@gmail.com>
2021-05-04 08:43:56 +02:00
x1b6e6 de113b87f3 Add support for multiple 'Architecture' values
This allows architecture to be multivalued. On x86-64 machines, this
could be something like:
    Architecture = x86-64-v3 x86-64

We use the first specified Architecture value in mirrorlist $arch
variable replacement, as this is backwards-compatible and sane.

More info:
https://git.archlinux.org/pacman.git/commit/?id=3179db108a83104d9de6d1d607f55f8118e92160

Signed-off-by: x1b6e6 <ftdabcde@gmail.com>
2021-05-04 08:43:56 +02:00
morganamilo 29f4c43227 Sort upslice by pacman repo order 2021-04-24 17:28:53 +02:00
morganamilo f04a469324 Make UpSlice a struct instead of a type alias 2021-04-24 17:28:53 +02:00
Ferdinand Bachmann 64e5b9e93d fix(query): allocate capacity in filterDebugPkgs
(addresses review in PR #1484 by Jguer)
2021-04-20 22:01:46 +02:00
Ferdinand Bachmann 3efb43af95 feat(query): list debug packages missing from AUR separately 2021-04-20 22:01:46 +02:00
Porrumentzio 5184ef6a04 Update eu.po 2021-04-20 22:00:30 +02:00
Porrumentzio f3dd3467ec Update eu.po 2021-04-20 22:00:30 +02:00
Porrumentzio 93d3c87624 Update eu.po
```
135    #: print.go:281
136    msgid "Check Deps"
```
_Dependencies that make checking_, _Currently checking dependencies_ or _The process of checking dependencies_?

```
299    #: print.go:298
300    msgid "Package Base ID"
301    msgstr "Pakete Base IDa"
302    
303    #: print.go:299
304    msgid "Package Base"
305    msgstr "Pakete Base-a"
```
Is _Package Base_ a proper noun or simpli _The base of the package_?

```
363    #: print.go:300
364    msgid "Snapshot URL"
365    msgstr "Snapshot-aren URLa"
```
What does mean Snapshot here? Is it an "image" of the repo or package, meaning that maintains that version?
2021-04-20 22:00:30 +02:00
jguer 85fe90c95f
ci(yay): tweak release notary 2021-04-12 17:21:29 +02:00
jguer d3bc19a003 fix(yay): fix proxy settings 2021-04-12 16:54:51 +02:00
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 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