Commit graph

31 commits

Author SHA1 Message Date
jguer 555d1ead95
chore(version): bump major version 2021-09-08 22:28:08 +02:00
jguer cb4b57f6d8 chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
jguer 98378642bc test(download): add tests for repo downloading 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 61e38ad2fc chore(pacman): remove pacman 5 support 2021-07-03 18:27:14 +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
D1CED eb9ff86aa9 fixed lint issues 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 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 8d9fed2ad0
fix(query): fix remote package slow filtering 2020-11-16 08:59:35 +01:00
jguer c4dc9bec6e fix(ialpm): fix typo 2020-10-26 09:32:22 +01:00
jguer 3e698f313a
test(alpm): implement alpm interfaces 2020-10-01 13:38:03 +02:00
jguer d6aa288ab8
fix(alpm): update alpm version 2020-09-20 17:00:45 +02:00
jguer 72f120b0f3
feat(config): refactor config to allow running without config 2020-08-21 02:39:52 +02:00
jguer ce79d53eb2
fix(deps): fix wrong method implementation 2020-08-19 00:42:59 +02:00
jguer 7b70462a7c
fix(noconfirm): move noconfirm to config global 2020-08-19 00:30:41 +02:00
jguer 4a761c287b
test(upgrade): test AUR upgrades 2020-08-19 00:30:34 +02:00
jguer 7a3794ae75
feat(interface): interface dbexecutor 2020-08-16 23:42:00 +02:00
jguer 388aaf6d7f
fix(tests): test handle creation 2020-08-16 23:42:00 +02:00
Jguer f3925e2481
fix(sync_list): remove alpmHandle
wip
2020-08-16 23:41:56 +02:00
Jguer 6b973c6bc5
fix(pkgbuild_download): remove alpmHandle 2020-08-16 23:41:56 +02:00
Jguer 0e2a02b512
fix(clean): extract alpmHandle 2020-08-16 23:41:56 +02:00
Jguer 7bcf2ecb4c
fix(statistics): use alpm executor 2020-08-16 23:41:55 +02:00
jguer 005b29373d
fix(install): remove alpmHandle 2020-08-16 23:41:55 +02:00
jguer 9fd6917bc0
fix(alpm): transfer handle initialization to executor 2020-08-16 23:41:55 +02:00
jguer ad9bc9ef8f
feat(db): abstract db ops need for dep 2020-08-16 23:41:55 +02:00