Commit graph

2032 commits

Author SHA1 Message Date
Jo c63576c36d
fix(search): always trust search if there's only one term (#2046)
always trust search if there's only one term
2023-04-03 07:16:03 +00:00
Jo dd42593ba1
fix(search): only do exact trim in certain modes (#2045)
only do exact trim in certain modes
2023-04-02 17:50:35 +00:00
Jo d13bdb0ce1
feat(search): improve exact match for separate source (#2044)
* unify query builder

* remove uneeded code

* reorganize code
2023-04-02 00:23:02 +00:00
Jo 6390d1c2b0
chore(query_builder): tweak mixed sources similarity matcher. related to #1719 (#2043)
tweak mixed sources similarity matcher. related to #1719
2023-04-01 13:30:50 +00:00
Jo 9028f5d8be
ci(release): update release notary (#2042)
update release notary
2023-04-01 10:48:46 +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 e615f8e07e
fix(new_engine): exclude menu removing new deps (#2040)
fix exclude menu removing new deps
2023-03-31 22:15:57 +00:00
Jo d75e0a001d
fix(clean): modify clean args (#2039) 2023-03-31 21:22:57 +00:00
Ferdinand Bachmann 2bdbc3e06b
fix(aur_install): fix debug packages being added to deps even if not found (#2038) 2023-03-30 21:48:33 +00:00
Jo 01666aef37
fix(vcs): add extra context to errors and increase timeouts (#2037)
* give a more complete message on vcs error

* bump timeouts for vcs checking
2023-03-30 18:57:56 +00:00
transifex-integration[bot] 68337a58c1
Translate 'po/en.po' in 'it_IT' (#2035)
Translate po/en.po in it_IT

100% translated for the source file 'po/en.po'
on the 'it_IT' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-30 17:08:28 +00:00
transifex-integration[bot] ca12cd7156
Translate 'po/en.po' in 'tr' (#1993)
Translate po/en.po in tr

100% translated for the source file 'po/en.po'
on the 'tr' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-29 11:47:47 +02:00
Ferdinand Bachmann bebe80bb84
fix(aur_install): fix debug pacakges not being found (#1977) 2023-03-29 09:08:25 +00:00
transifex-integration[bot] 9137c1e95f
Translate 'po/en.po' in 'zh_CN' (#1978)
Translate po/en.po in zh_CN

100% translated for the source file 'po/en.po'
on the 'zh_CN' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-29 09:06:59 +00:00
transifex-integration[bot] bdd888c59d
Translate 'po/en.po' in 'ko' (#1992)
Translate po/en.po in ko

100% translated for the source file 'po/en.po'
on the 'ko' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-29 09:06:38 +00:00
transifex-integration[bot] 16b9516f96
Translate 'po/en.po' in 'fr_FR' (#1974)
Translate po/en.po in fr_FR

100% translated for the source file 'po/en.po'
on the 'fr_FR' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-15 09:34:10 +01:00
Jo dfa7ed51c1
chore(yay): change found repo to debug (#1966)
change found to debug
2023-03-13 08:55:08 +00:00
Jo 7bc4a666e6
refactor(runtime): Build runtime after cmdargs parsing (#1965)
* extract runtime building from cfg

* respect AURRPCURL

* use -Syu if there are no targets, allows to pass extra options

* one more step towards removing runtime from cfg
2023-03-13 08:48:39 +00:00
transifex-integration[bot] 210512a5d6
Translate 'po/en.po' in 'ko' (#1963)
Translate po/en.po in ko

100% translated for the source file 'po/en.po'
on the 'ko' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-12 15:49:31 +00:00
transifex-integration[bot] 57250fec4b
Translate 'po/en.po' in 'sv' (#1962)
Translate po/en.po in sv

100% translated for the source file 'po/en.po'
on the 'sv' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-12 15:49:23 +00:00
transifex-integration[bot] e56b9cd72b
Translate 'po/en.po' in 'id' (#1960)
Translate po/en.po in id

100% translated for the source file 'po/en.po'
on the 'id' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-11 13:16:10 +00:00
transifex-integration[bot] 794a38fa28
Translate 'po/en.po' in 'pt' (#1959)
Translate po/en.po in pt

100% translated for the source file 'po/en.po'
on the 'pt' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-10 12:10:57 +01:00
Jo f11f9058c2
fix(logger): respect --debug for setting debug logger (#1955)
respect --debug parse
2023-03-08 21:33:43 +00:00
Jo 7e7764a797
chore(new_engine): use new engine for -Qu (#1954)
* use new engine for -Qu

* fix devel search showing up in -Quq

* test empty upgrade menu
2023-03-08 21:30:54 +00:00
Jo c744058b20
Update manual page and remove deprecate/removed options (#1951)
* add new options and remove deprecated

* add new -Bi
2023-03-08 13:07:15 +00:00
transifex-integration[bot] 7073939cdc
Translate 'po/en.po' in 'ca' (#1950)
Translate po/en.po in ca

100% translated for the source file 'po/en.po'
on the 'ca' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-08 10:47:21 +01:00
Jo 3d5a43c294
chore(yay): bump version (#1949)
bump major
2023-03-07 21:04:06 +00:00
transifex-integration[bot] 46bf36a160
Translate 'po/en.po' in 'sv' (#1948)
Translate po/en.po in sv

100% translated for the source file 'po/en.po'
on the 'sv' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-03-07 20:48:08 +00:00
Jo 463e60e045
chore(deps): update goalpm (#1947)
* update dependencies

* use logger in cmd runner
2023-03-06 09:19:21 +00:00
Jo e6ed869df1
chore(yay): remove global cfg (#1946)
remove global cfg
2023-03-05 21:58:18 +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
Joey H 0387dfdb59
fix(install): use global arguments when removing make dependencies (#1940)
fix(install): use global arguments when removing make dependencies

One example where this would fail before is when the `--root` argument
was passed in by the user. Yay would install the make dependencies to
the new root directory, but would try to remove them from / causing the
installation to fail if the make dependencies were not found in the
default installation path (/).
2023-02-26 11:25:02 +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 4e0a5c8520
feat(new_engine): respect -w in AUR package building (#1923)
respect -w in AUR package building
2023-02-21 02:49:48 +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 a3d51a42da
fix(yay): match -Qu return (#1924)
match -Qu return
2023-02-21 02:00:39 +00:00
jguer 096ff7a544
fix -Si aur & repo mix 2023-02-21 02:55:49 +01: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 2f5fd5cb1c
fix(new_engine): add missing version for devel packages in combi (#1917)
* fix missing latest-commit in devel upgrade menu

* move test grapher to inner test
2023-02-20 09:51:39 +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