Commit graph

114 commits

Author SHA1 Message Date
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
jguer ee3c51f6f2
feat(pkgbuild): extract logic 2021-01-31 19:07:08 +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
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 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
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
jguer c4dc9bec6e fix(ialpm): fix typo 2020-10-26 09:32:22 +01:00
jguer f6cb0bc460
fix(provide): fix dep pool populate with unversioned deps 2020-10-06 13:40:19 +02:00
jguer 7979279c3f
fix(provide): fix provides not finding pagure-database=5.1.0 2020-10-06 06:25:18 +02:00
jguer 678d10e04e
fix(upgrade): export upgrades 2020-10-01 14:06:21 +02: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
x-usr 5ae510ad6f fix(display): adapt padding to match pacman's.
This change fixes part of #1332 related to splitting information into
multiple lines.
Change is implemented based on current pacman's code.
2020-09-07 23:39:19 +02:00
jguer 5c05811ae5
fix(config): fix unsaved config 2020-09-03 18:26:57 +02:00
jguer 3b2bb28e81
feat(exe): AddMakepkg builder 2020-08-22 01:24:52 +02:00
jguer 1db50882e9
feat(vcs): refactor and test cover 2020-08-22 00:39:26 +02:00
jguer 72f120b0f3
feat(config): refactor config to allow running without config 2020-08-21 02:39:52 +02:00