Jo
5995e55ddb
chore(topo): move topo to where it's used ( #2250 )
...
move topo into dep
2023-07-23 20:20:05 +00:00
Jo
04c82b8112
chore(yay): replace custom set package with dep ( #2249 )
...
* replace string set with dep
* remove unused field
* remove custom string set package
2023-07-23 17:29:01 +00:00
smolx
6dd7933fbe
Fix handling targets with specified db ( #2218 )
...
* Fix handling targets with specified db
Handle it in a similar way to handling targets with unspecified db.
Also refactored GraphSyncPkg method to make stuff more DRY.
* update go-mod
2023-07-06 06:53:46 +00:00
Jo
5b8cc98afa
fix(dep_graph): do not package provides when providing itself. fix : #2215 ( #2216 )
...
fix #2215 . package provides itself
2023-06-19 08:13:47 +00:00
smolx
c5a18e5000
Fix install reason preservation when package is reinstalled ( #2195 )
2023-06-11 16:16:05 +00:00
smolx
7dc4fae155
Fix excluding of packages with unsatisfied deps ( #2203 )
...
* Fix excluding of packages with unsatisfied deps
When dependency is unsatisfied, add to the graph not only a dep node,
but relationship with parent too.
* Remove excess(duplicate) logic
* Add test cases of upgrading with unsatisfied deps
2023-06-11 16:10:48 +00:00
smolx
0607090719
Fix deps resolving for installs from SRCINFO ( #2190 )
...
Also made MockBuilder and MockRunner thread-safe.
2023-06-03 13:53:33 +00:00
Jo
e28319fece
chore(yay): lift legacy engine ( #2189 )
...
* remove legacy engine
* remove legacy dep handlers
* use prepare for gendb
* remove unused method
* remove aur client old interface
* remove unused menu fns
* remove inactive upgrademenu option
* unexport printInfo
2023-05-24 08:22:18 +00:00
smolx
c1aa71bee1
Fix AUR dependency resolving ( #2169 )
...
Before this fix dependencies for AUR targets were added to the graph
after each addition of a target node. Now dependencies are added only
after all target nodes are added to the graph.
Also added some tests for previously bugged cases.
2023-05-23 21:18:41 +00:00
Jo
fdcf6ef664
ci(yay): add integration test framework ( #2178 )
...
* add integration test framework
* fix integration tests
* fix integration tests
2023-05-22 21:38:02 +00:00
Joaquim Monteiro
490ebe4f7f
Fix formatting of error message that occurs on AUR errors ( #2154 )
...
fix: fix formatting of error message that occurs on AUR errors
2023-05-08 21:43:50 +00:00
Jo
f7731d7cf9
fix(groups): fix sync group getting passed to reason setter ( #2148 )
...
fix sync group install #2137
2023-05-01 16:21:40 +00:00
Jo
966bfb74ee
feat(dep): add provider resolution on first layer ( #2147 )
...
add provider resolution on first layer
2023-05-01 15:56:42 +00:00
Jo
e6344100e6
fix(upgrade): fix local pulled dependencies replacing upgrade information ( #2140 )
...
avoid upgrade info loss
fix colormap
2023-04-27 07:04:09 +00:00
Jo
c7a51a1614
fix(text): ensure error logs go to stderr ( #2105 )
...
ensure Error logs go to stderr
2023-04-10 16:26:09 +00:00
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