Commit Graph

1980 Commits

Author SHA1 Message Date
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
transifex-integration[bot]
9df087bd3d
Translate '/po/en.po' in 'pt' (#1845)
Translate /po/en.po in pt

translation completed 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>
2022-12-06 18:19:59 +01:00
Jo
1b5f0d66fe
Fix legacy engine install issues (#1842)
* fix debug pkg clearing pkg archive slice

* add debug messages and limit check for srcinfo

* treat pkgbuildDirs as expected directory, not proven directory

Co-authored-by: David Tomaschik <david@systemoverlord.com>

Co-authored-by: David Tomaschik <david@systemoverlord.com>
2022-11-29 13:23:52 +00:00
Jo
4f1f539217
Ignore last layer fails and keep building (#1841)
* fix: do not instantiate cleaning hooks if there's no AUR pkg

* chore: squash local and sync install

* still update completions in local mode

* allow failures on the last install layer
2022-11-29 12:25:36 +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
transifex-integration[bot]
63f20599cd
Translate '/po/en.po' in 'ca' (#1833)
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2022-11-19 19:18:49 +00:00
Jo
0f45a99efa
yay v12: new AUR query engine, Local PKGBuild install, debug mode, new install engine + bugs (#1826)
yay v12: new AUR query engine, Local PKGBuild install, debug mode, new install engine + bugs (+bugs)
2022-11-16 01:32:26 +00:00
jguer
f52db80a9d
po update 2022-11-16 02:21:35 +01: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
481c63db91
remove local build from -U 2022-11-16 00:56:24 +01:00
jguer
5e8d9ac846
add make to dockerfile 2022-11-16 00:54:21 +01:00
jguer
085e2c8aea
rename -Ui to -Bi 2022-11-16 00:51:57 +01:00
jguer
1153ee6dbb
support multiple targets. Remove working directory logic 2022-11-16 00:45:59 +01:00