Commit Graph

74 Commits

Author SHA1 Message Date
Jo
5d1c54413c
fix(query_builder): use correct aur client for mixed query builder (#2041)
* use same repo search as pacman

use logger child from runtime

* use common interface for aur clients
2023-04-01 10:33:05 +00:00
Jo
3d5a43c294
chore(yay): bump version (#1949)
bump major
2023-03-07 21:04:06 +00:00
Jo
8b8d6001a4
fix(new_engine): Improve partial upgrade protection and pinned deps (#1945)
* fix dep graph, existing in graph

* do not change from same dep reason

* roll up layer installs in case of fail

* re-use pacman exclude mechanism

should finish the reimplementation of the missing guards from the legacy
engine.

* include update in debug log

* test rollups
2023-03-05 17:31:11 +00:00
Jo
fa2e726ca6
chore(text): use logger in new engine services (#1939)
* use logger in vcs

* use logger in query builder

* use logger in migrations
2023-02-25 19:03:27 +00:00
Jo
841395c318
feat(local_install): check PKGBUILD and .SRCINFO presence and generate .SRCINFO if necessary (#1938)
check build file presence and generate if needed
2023-02-25 17:44:24 +00:00
Jo
7490836991
fix(new_engine): respect --needed on target gathering (fixes #1552) (#1920)
* use logger in dep graph

* use logger in dep graph

* use logger in dep graph

* only query for AUR packages once per tier. useful for rpc

* fix performance regression for ros-melodic

* prefer name search first

* implement needed at target gathering

* set default config

* fixup tests for needed
2023-02-20 23:14:59 +00:00
Jo
f1d086df1d
Allow use of rpc client as an alternative to the metadata client (#1918)
* use updated aur client

* add logger to rpc client

* update go.mod
2023-02-20 11:20:48 +00:00
Jo
0bf4c2e502
feat(new_install): show (#1915)
* show new packages in upgrade form if they exist

* refactor up select

* remove unused graph parts

* readd len

* Complete upgrade graphing

* Extract to upgrade pkg

* remove unused dep method

* remove uneeded dep

* cleanup method

* specify io Reader for testing

* use specified input vector

* fix non-active devel

* test base cases

* add devel test cases

* add range tests

* add logger struct

* use logger struct in upgrade

* follow golangci recommendations

* update deps

* update golangci
2023-02-17 19:01:26 +00:00
Jo
4f50b799ef
feat(local_install): add choice menu for yay -Bi (#1903)
add choice menu for yay -Bi
2023-01-23 23:54:15 +00:00
Jo
b3c334e014
fix(new_engine): fix devel sysupgrade (#1883)
fix devel sysupgrade
2023-01-03 19:24:28 +00:00
Jo
f372494d74
feat(search): add new bys and misc fixes (#1870)
* use default bin entry of gpg

* fix(dep): fix displayed information in chosen provide

* add new rpc bys to searchby

* man document
2022-12-30 19:02:32 +00:00
Jo
9be51052f7
update deps (#1868)
* update deps

* align struct
2022-12-29 18:42:43 +00:00
Jo
28d90c981e
feat(new engine): local install feature testing (#1867)
* make config into parameter

* test(new engine): local install test

* test(keys): fix test keys

* complete integration test for local install

* add simple mising mechanism
2022-12-29 12:34:53 +00:00
Jo
3eb9eb0d3d
feat(new_engine): add support for noDeps and noCheckDeps (#1861)
* feat(new engine): add support for noDeps and noCheckDeps

* test(new engine): Add tests for -dd and normal split package resolution
2022-12-18 20:14:41 +00:00
Jo
4a3e365fc5
AUR provides search rpc (#1856)
* add support for provides search in AUR RPC client

* return provides search to default true
2022-12-18 02:36:49 +01:00
Jo
9f67d10d5c
feat(v12): add group install (#1835)
v12engine: add group install
2022-11-20 02:47:23 +00:00
jguer
7f151cd603
move addUpgradeToGraph to depgraph 2022-11-16 01:11:16 +01:00
jguer
2805252365
fix GraphFromTarget bug where empty DB would be used as identifier 2022-11-16 01:03:57 +01:00
jguer
2358a7f66e
use aur package metadata client 2022-11-16 00:25:17 +01:00
jguer
c00cd8d88e
rename AUR metadata client 2022-11-15 16:22:57 +01:00
jguer
f042713aaa
fix: fix linting errors 2022-11-15 15:44:50 +01:00
jguer
3f7f55f260
simplify src download 2022-11-14 01:14:13 +01:00
jguer
d7851223c6
correct nits from metadata package and remove uneeded functionality 2022-11-14 00:21:36 +01:00
jguer
56a46644cc
metadata respect search by 2022-11-13 17:47:19 +01:00
jguer
01721c816c
refactor query builder to include AURClient 2022-11-13 14:29:00 +01:00
jguer
cc8c0a2366
fix non-prefixed version 2022-11-10 01:48:58 +01:00
jguer
6cbf00c5a7
typos 2022-11-08 01:37:54 +01:00
jguer
742b6ad79c
use aur cache for upgrades 2022-11-08 01:32:21 +01:00
jguer
3fc5d93243
add graph feeding 2022-11-02 00:37:27 +01:00
jguer
ba935ccf95
add support for target install 2022-10-28 00:38:11 +02:00
jguer
f496dbac8b
error refactor 2022-09-20 00:44:06 +02:00
jguer
e4fdc9a4d4
readd makedep primitives 2022-09-20 00:01:19 +02:00
jguer
c86c460816
fix typos 2022-09-17 14:45:07 +02:00
jguer
d646cd6c87
add base to name map 2022-09-17 14:31:54 +02:00
jguer
351e352f64
basic aur install 2022-09-11 23:15:31 +02:00
jguer
4a73dfb0ca
topo sorted map 2022-09-09 17:38:48 +02:00
jguer
d53505be37
allow customizing colors and embedding extra info 2022-09-07 01:03:29 +02:00
jguer
0aa18d61d5
cleanup 2022-09-07 00:01:23 +02:00
jguer
cadeecc4df
add dep graph for local install 2022-09-06 23:38:47 +02:00
jguer
f7286b25ae
add local graph util 2022-09-06 23:25:44 +02:00
Jo
714fee0b18
Chore: Cleanup (#1800) 2022-08-22 22:20:09 +00:00
J Guerreiro
b8f054f988
fix(po): Update default po file (#1722)
* update default po file

* fix string
2022-03-07 10:35:20 +01:00
jguer
2a3ddafce5
fix(deps): fix conflict line being printed in new line 2022-02-06 10:49:57 +01:00
jguer
0e3affd876
fix(input): fix display in wrong line of number input 2022-02-06 10:44:33 +01:00
J Guerreiro
d83c5ca5a1
fix(deps): update deps (#1689) 2022-02-05 14:25:59 +01:00
jguer
d02321bdc9 chore(dep): rename pool creator 2022-01-03 13:46:52 +00:00
jguer
44cf54795d chore(text): use getInput for number pick deps 2021-10-27 23:45:23 +02:00
jguer
f3c3e2e4d4 fix(clean_menu): optimize any base installed 2021-10-27 23:45:23 +02:00
jguer
555d1ead95
chore(version): bump major version 2021-09-08 22:28:08 +02:00
jguer
e231b2b02d chore(yay): modernize exec commands 2021-08-14 00:10:43 +02:00