Commit Graph

2195 Commits

Author SHA1 Message Date
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
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
transifex-integration[bot]
04c4b0aa59
Translate '/po/en.po' in 'ru' (#1898)
Translate /po/en.po in ru

translation completed for the source file '/po/en.po'
on the 'ru' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-23 17:03:14 +01: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
transifex-integration[bot]
2f1ebb9fde
Translate '/po/en.po' in 'tr' (#1888)
Translate /po/en.po in tr

translation completed 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>
Co-authored-by: jguer <me@jguer.space>
2023-01-19 10:51:43 +01:00
transifex-integration[bot]
5626ed3ff4
Translate '/po/en.po' in 'he' (#1895)
Translate /po/en.po in he

translation completed for the source file '/po/en.po'
on the 'he' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-18 11:46:45 +01:00
Balki
e09209bb19
fix(zsh): fix zsh completion for yay specific flags (#1893) 2023-01-13 13:50:09 +00:00
Jo
c40e949752
fix(build): fix issue where shell conditional output is passed to go build (#1887)
fix issue where shell conditional output is passed to go build

(cherry picked from commit 6744fa721f)
2023-01-05 15:50:53 +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
86bba8a289
fix(ci): run ci on all PRs (#1884)
* fix devel sysupgrade

* fix ci stuck on .po
2023-01-03 19:35:44 +00:00
transifex-integration[bot]
47b1428a25
Translate '/po/en.po' in 'fr_FR' (#1882)
Translate /po/en.po in fr_FR

translation completed 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-01-03 19:30:47 +00:00
Jo
b3c334e014
fix(new_engine): fix devel sysupgrade (#1883)
fix devel sysupgrade
2023-01-03 19:24:28 +00:00
transifex-integration[bot]
b41e67f31e
Translate '/po/en.po' in 'sv' [manual sync] (#1876)
Translate /po/en.po in sv

at least 90% translated for the source file '/po/en.po'
on the 'sv' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-02 19:06:30 +01:00
transifex-integration[bot]
13109992c5
Translate '/po/en.po' in 'zh_CN' [manual sync] (#1877)
Translate /po/en.po in zh_CN

at least 90% translated for the source file '/po/en.po'
on the 'zh_CN' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-02 19:04:56 +01:00
transifex-integration[bot]
ed95688c1b
Translate '/po/en.po' in 'zh_TW' [manual sync] (#1878)
Translate /po/en.po in zh_TW

at least 90% translated for the source file '/po/en.po'
on the 'zh_TW' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-02 19:04:32 +01:00
transifex-integration[bot]
b8b085599a
Translate '/po/en.po' in 'fr_FR' [manual sync] (#1879)
Translate /po/en.po in fr_FR

at least 90% translated for the source file '/po/en.po'
on the 'fr_FR' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-02 19:03:50 +01:00
transifex-integration[bot]
7a2db4f448
Translate '/po/en.po' in 'it_IT' [manual sync] (#1880)
Translate /po/en.po in it_IT

at least 90% translated for the source file '/po/en.po'
on the 'it_IT' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-02 19:02:54 +01:00
transifex-integration[bot]
40f058fd19
Translate '/po/en.po' in 'cs' [manual sync] (#1873)
Translate /po/en.po in cs

at least 90% translated for the source file '/po/en.po'
on the 'cs' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-02 19:00:45 +01:00
transifex-integration[bot]
f771424336
Translate '/po/en.po' in 'de' [manual sync] (#1874)
Translate /po/en.po in de

at least 90% translated for the source file '/po/en.po'
on the 'de' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-02 18:59:38 +01:00
transifex-integration[bot]
36282a8192
Translate '/po/en.po' in 'id' [manual sync] (#1875)
Translate /po/en.po in id

at least 90% translated for the source file '/po/en.po'
on the 'id' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-01-02 18:58:51 +01: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
Joey H
d3fbfa26ca
fix(pre-commit): update URL and versions in the pre-commit configuration (#1865)
There was a dead link in the pre-commit-golang URL. Also, Woile/commitizen redirects to commitizen-tools/commitizen, so change that URL as well. Last, update all the versions using pre-commit autoupdate.

This will make it easier for new contributers to use the pre-commit
hooks when contributing.
2022-12-27 18:56:28 +00:00
Joey H
8c61bc9b45
fix(cmd): pass install flags into pacman in yogurt mode (#1864)
Fixes #1560
2022-12-27 18:55:42 +00:00
Joan Bruguera
2bda76e431
fix(clean): notify RemoveAll error when cleaning AUR (#1863)
otherwise if any hard-to-delete file lands in the AUR cache folder, running
`yay -Scc` will appear to succeed to the user, but actually abort midway.
2022-12-21 10:09:59 +01:00
Jo
9a23b792c4
Improve warning messages (#1857)
improve warning messages
2022-12-19 18:17:47 +00:00
Jo
4e3c664ab3
ci(yay) : attempt to use caches more effectively in CI (#1862)
* attempt to use caches more effectively

* fix cache key

* specify cache file
2022-12-18 20:42:22 +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
0b1ae938a3
fix(ci): do not install packages at pacman-git CI level (#1860)
* fix(ci): do not attempt to install extra packages for building pacman-git

* install needed in ci image

* fix missing pacman key

* wip

* add missing deps
2022-12-18 18:24:56 +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
transifex-integration[bot]
c826456d4d
Translate '/po/en.po' in 'ko' (#1851)
Translate /po/en.po in ko

translation completed 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>
2022-12-12 09:40:33 +00:00