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
61f1bdf291
fix(cmd): propagate sigterm to spawned processes ( #1927 )
...
propagate sigterm to spawned processes
2023-02-21 02:49:33 +00:00
Jo
3ef4664d99
fix(devel): timeout devel check after 5 secs ( #1929 )
...
timeout devel check after 5 secs
2023-02-21 02:48:56 +00:00
Jo
4780a974d9
fix flaky tests ( #1928 )
2023-02-21 02:42:56 +00:00
Jo
7c8f273cdf
fix(git): add git denylist for workspace variables ( #1926 )
...
add git denylist for workspace variables
2023-02-21 02:23:48 +00:00
Jo
6c870db1f1
fix(aur): respect -uu for AUR downgrade ( #1925 )
...
respect -uu for AUR downgrade
2023-02-21 01:51:52 +00:00
Jo
f0433cc339
feat(metadata): respect regex in search ( #1922 )
...
respect regex in search
2023-02-21 01:24:48 +00:00
Jo
fad26c078d
fix(getpkgbuild): check AUR pkgs exist before GetPKGBUILD ( #1921 )
...
check AUR pkgs exist before GetPKGBUILD
2023-02-20 23:58:13 +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
8d18f1be18
fix(new_engine): add aur client support to mixed source display ( #1919 )
...
* update aur client and use correct aur client
* add aur query client support for mixed source engine
2023-02-20 12:14:16 +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
0a8bc1fe2e
fix(new_engine): add missing latest-commit in devel upgrade menu ( #1916 )
...
* fix missing latest-commit in devel upgrade menu
* move test grapher to inner test
2023-02-17 19:29:46 +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
4626a0409c
fix(vcs): do not vcs update gather orphan info ( #1902 )
...
* reduce complexity of devel upgrade gathering
* clean orphans devel
2023-01-23 23:03:32 +00:00
Jo
1bfbd01f94
fix(sync): do not update vcs info of failed packages ( #1901 )
...
* extract srcinfo service to pkg
* take into account failed installs for vcs update. Fixes #1892
* fix tests
2023-01-23 21:43:58 +00:00
Jo
9356481d1c
fix(config): expand tilde for some config fields. Fixes #1774 ( #1897 )
...
expande tilde for some fields. Fixes #1774
2023-01-22 23:21:05 +00:00
Jo
b8debd1ae7
chore(yay): fix small linting issues ( #1885 )
...
* replace context.TODO() in tests context.Background()
* remove mock TODOs
* prettier
* apply missing linting
2023-01-03 21:43:56 +00:00
Joey H
8948278568
fix(parser): ensure data is piped when using '-' argument ( #1881 )
...
fix(parser): ensure data is piped when using '-' argument
Fixes #1626 .
Check to see if data was actually piped to yay, otherwise it will hang
forever. This error will give users better feedback of how to use the
'-' argument (it is also the same exact error pacman throws for invalid
piped data).
Two tests were added. However, I didn't know how to add a test for the
actual part that detects whether data was piped or not (which is
essentially what this commit adds).
2023-01-03 19:43: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
9a23b792c4
Improve warning messages ( #1857 )
...
improve warning messages
2022-12-19 18:17:47 +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
f8e7891b0b
refactor(vcs): remove mux and use interface for other packages ( #1859 )
...
* refactor(vcs): remove context passing mutex from VCS interface
* simplify devel upgrade gather
* update vcs upgrade tests
* remove unused mock
2022-12-18 16:37:15 +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
27cbbf4cb9
tests(new engine): add tests for layering and source handling ( #1854 )
...
* add tests for layering and source handling
* add tests for jellyfin split package
2022-12-18 02:00:39 +01:00
Jo
7da9f4869d
feat(new engine): skip built and respect --needed ( #1852 )
...
* add built package check
* respect --needed for new engine
* add needed check and test
* add test for not built
2022-12-16 17:23:44 +00:00
Jo
7612bb5da5
Mutualize local sync install ( #1836 )
...
* fix: do not instantiate cleaning hooks if there's no AUR pkg
* chore: squash local and sync install
* still update completions in local mode
2022-11-20 13:02:01 +00:00
Jo
9f67d10d5c
feat(v12): add group install ( #1835 )
...
v12engine: add group install
2022-11-20 02:47:23 +00:00
Jo
6ad63cae10
fix: rework menus to work on both flows ( #1830 )
...
* rework menus to work on both flows
* add installed package split
* remove unused field
* Add post install hooks
2022-11-20 00:51:55 +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
085e2c8aea
rename -Ui to -Bi
2022-11-16 00:51: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
5aeb0d696c
support contains
2022-11-13 23:53:37 +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
b5bdcfbd1a
add basic sync upgrade capabilities
2022-11-01 23:48:35 +01:00
jguer
776fc9686a
Merge remote-tracking branch 'origin/next' into jguer/local-pkgbuild-install
2022-10-28 23:58:23 +02:00