Commit graph

136 commits

Author SHA1 Message Date
jguer e231b2b02d chore(yay): modernize exec commands 2021-08-14 00:10:43 +02:00
jguer 95bc333a92 test(yay): port tests to parallel 2021-08-11 22:19:55 +02:00
jguer cb4b57f6d8 chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
jguer 08d1305ec5 feat(download): respect aur url settings and update deps 2021-08-11 22:19:55 +02:00
jguer f42cbde6db refactor(parser): unify atleast modes 2021-08-09 13:32:55 +02:00
jguer 5c11c01d85 refactor(exe): move sudo loop into CmdBuilder 2021-08-08 21:02:35 +02:00
jguer 444151de0d refactor(vcs): implement GitBuilder interface 2021-08-08 17:45:07 +02:00
jguer 172ee1f4e8 refactor(exe): port pacman calls to cmd_builder 2021-08-08 17:45:07 +02:00
jguer 1a2e5b9529 refactor(settings): move args to own package to allow pacman cmd builder 2021-08-08 17:45:07 +02:00
jguer 456d83ef51 fix(download): cloned reflects if package was pulled or cloned 2021-08-07 19:17:58 +02:00
jguer 186c7a54fe fix(dep): ensure assume-installed works with depstrings 2021-08-07 19:17:58 +02:00
Jonas Bögle 7dda0fa2f8 fix: skip --assume-installed packages 2021-08-07 19:17:58 +02:00
jguer 4a515c4462 test(downloads): remove non reproducible tests 2021-08-05 10:11:54 +02:00
jguer ab902e9cc6 chore(vcs): port VCS to download package 2021-08-05 10:11:54 +02:00
jguer b8641256ab chore(download): rename PKGBUILD function to match package 2021-08-05 10:11:54 +02:00
jguer 2ed099a263 chore(download): unify filtering logic between commands 2021-08-05 10:11:54 +02:00
jguer 98378642bc test(download): add tests for repo downloading 2021-08-05 10:11:54 +02:00
jguer 413ad23abc chore(download): rename public functions 2021-08-05 10:11:54 +02:00
jguer 79b44fd544 feat(download): download PKGBUILD repos interface 2021-08-05 10:11:54 +02:00
jguer 50c0ece9a7 chore(style): run gofumpt on packages 2021-08-05 10:11:54 +02:00
jguer 20d5fd406f fix(download): fix -Gp for repository packages 2021-07-26 09:07:27 +02:00
Oliver Mangold 4a9319920b fixing URLs for ABS after upstream change from git.archlinux.org to github 2021-07-13 18:39:18 +02:00
jguer 61e38ad2fc chore(pacman): remove pacman 5 support 2021-07-03 18:27:14 +02:00
jguer 169d5f1f62 fix(vcs): make command error more explicit 2021-07-03 17:15:36 +02:00
jguer 040c8fe380 fix(aur): fix lint issue 2021-06-09 03:57:37 +02:00
jguer a37f4efd73 chore(http): use client for pkg completions 2021-06-09 03:57:37 +02:00
jguer c7cf7baa48 chore(http): use client for news feed 2021-06-09 03:57:37 +02:00
jguer e20ab8b6a2 fix(aur): fix wrong string usage 2021-06-09 03:57:37 +02:00
jguer 545ea772eb feat(aur): customize User Agent 2021-06-09 03:57:37 +02:00
jguer 8e6d098ff8
fix(deps): fix regression on CombinedDepList 2021-05-08 00:29:33 +02:00
x1b6e6 faf03436a7 Sync with go-alpm v2.0.5 2021-05-07 23:30:08 +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
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
D1CED c8a74cb4a4 prevent leaking goroutines 2021-03-12 20:41:55 +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
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 afc72daba7
test(download): test pkgbuild fetching 2021-01-31 19:07:08 +01:00