Commit Graph

2092 Commits

Author SHA1 Message Date
Jo
39f0d4e9a1
chore(yay): remove unused constant (#2179)
remove unused constant

Co-authored-by: christian-heusel <christian@heusel.eu>
2023-05-22 20:59:30 +00:00
Andrew Geng
d33bf8841d
Fix yay -Sc wiping ~/.cache/yay on 3rd question. (#2175)
If you answer yes to
    :: Do you want to remove all other AUR packages from cache? [Y/n]
then we run cleanAUR(), intending to remove subdirectories of
~/.cache/yay that do not share a name with installed packages not
found in the sync repositories.

Where this was going wrong was cleanAUR() was getting an empty map from
dbExecutor.InstalledRemotePackages()---because InstalledRemotePackages
only recomputes its result if installedRemotePkgMap is nil, whereas
NewExecutor initialized it to an empty map. The symptom was it emptied
my ~/.cache/yay.

We do want a non-nil, empty installedRemotePkgMap to block recomputing
(that is, to indicate the user really has no remote packages), so now
NewExecutor initializes it to nil, and getPackageNamesBySource is
responsible for making sure it's non-nil before writing to it.

Fixes #2152, which seems to have been introduced in
4626a0409c.
2023-05-22 20:34:51 +00:00
Jo
bd79057fd9
feat(pkgbuild): use gitlab git repo for retrieving PKGBUILDs (#2177)
use gitlab git repo for retrieving PKGBUILDs
2023-05-22 20:22:49 +00:00
smolx
a0a5e45fe7
Fix -Qu exit code for empty update lists (#2162)
Fix -Qu exit code for empty update lists (#2061)

Previously, -Qun and -Qum without available updates could exit
with code 0 in some cases.
Also fix present and add more tests for such cases.
2023-05-22 18:35:27 +00:00
smolx
ec15a5b363
Implement tests for -Qu/q (#2156)
Implement tests for -Qu/q (#2061)
2023-05-15 10:33:12 +02:00
Jo
d568a73ab8
fix(metadata): reduce cache validity (#2161)
fix metadata cache validity too long
2023-05-15 08:30:41 +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
transifex-integration[bot]
4dfee1f82f
Translate 'po/en.po' in 'fr_FR' (#2150)
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-05-04 16:14:26 +00:00
transifex-integration[bot]
5cf215a00a
Translate 'po/en.po' in 'es' (#2151)
Translate po/en.po in es

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

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-05-04 16:14:15 +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
c721fe7f3b
fix(search): fix -Si crash when using metadata engine (#2146)
fix missing By query in metadata search
2023-05-01 12:52:43 +00:00
Jo
b51c10ca3e
doc(yay): specify search narrowing in man (#2145)
specify search narrowing in man
2023-05-01 12:33:19 +00:00
Tanmay Chaudhry
4832ec59db
Fix version diff word detection (#2124)
* Fix version diff word detection

* remove double negation

* preserve text color after tests
2023-04-27 07:23:25 +00:00
Jo
49267b9cd9
feat(upgrade): separate menu for pulled along dependencies (#2141)
try separate menu for pulled along

use installed as term

fix order gap

fix tests

add aur db + aur scenario
2023-04-27 07:20:21 +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
Tanmay Chaudhry
15400c5fc5
Switch the TZ to UTC temporarily for running the News tests (#2121)
* switch the TZ to UTC temporarily for running the tests

* Remove unnecessary environment reset

* Set test specific environment.

Co-authored-by: Jo <me@jguer.space>

---------

Co-authored-by: Jo <me@jguer.space>
2023-04-26 13:54:37 +02:00
transifex-integration[bot]
822b11b4d6
Translate 'po/en.po' in 'pt' (#2133)
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-04-26 13:53:54 +02:00
transifex-integration[bot]
71432a447e
Translate 'po/en.po' in 'cs' (#2130)
Translate po/en.po in cs

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

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-04-26 13:53:29 +02:00
transifex-integration[bot]
957292a911
Translate 'po/en.po' in 'zh_TW' (#2138)
Translate po/en.po in zh_TW

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

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-04-26 13:46:06 +02:00
transifex-integration[bot]
8c69356bd4
Translate 'po/en.po' in 'it_IT' (#2126)
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-04-20 08:58:19 +02:00
transifex-integration[bot]
64bb346fbe
Translate 'po/en.po' in 'de' (#2119)
* Translate po/en.po in de

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

* Translate po/en.po in de

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

* Translate po/en.po in de

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

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2023-04-16 16:23:42 +00:00
transifex-integration[bot]
797b7485ab
Translate 'po/en.po' in 'sv' (#2118)
* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* Translate po/en.po in sv

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

* 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-04-16 16:23:27 +00:00
Jo
57a3a090f1
fix(vcs): improve timeout handling for vcs upgrade check (#2120)
remove timeout from full operation and increase timeout for single checking
2023-04-16 16:23:10 +00:00
transifex-integration[bot]
f0bfe63ced
Translate 'po/en.po' in 'ko' (#2116)
* Translate po/en.po in ko

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

* Translate po/en.po in ko

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

* Translate po/en.po in ko

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

* Translate po/en.po in ko

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

* Translate po/en.po in ko

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

* 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-04-13 06:50:20 +00:00
Jo
83214fbc1c
chore(yay): add local newer to AUR warnings (#2113) 2023-04-11 21:15:47 +00:00
Jo
161fede450
chore(yay): use new aur client for -Si (#2112)
* chore(yay): use new aur client for -Si

* chore(yay): use new client for clean
2023-04-11 21:15:21 +00:00
Jo
26c9ab5a87
fix(yay): fix panic -Si when package is missing (#2111)
fix panic -Si
2023-04-11 16:45:20 +00:00
Jo
4a9c736e2a
chore(upgrade): add makedep explain to the upgrade menu (#2110)
* display required by

* cutoff at 2
2023-04-11 16:41:34 +00:00
adasauce
76e5ee1fa6
fix: querybuilder GetTargets start iteration at 1, when include is 0 causes a crash (#2109) 2023-04-11 16:23:19 +00:00
Jo
88008e4eb3
feat(yay): skip confirmed confirms (#2107)
* skip pacman confirmations when yay confirmations are done

* default to double confirm

* fix tests
2023-04-11 11:51:39 +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
transifex-integration[bot]
6a971df635
Translate 'po/en.po' in 'ca' (#2100)
* Translate po/en.po in ca

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

* Translate po/en.po in ca

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

* Translate po/en.po in ca

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

* Translate po/en.po in ca

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

* 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-04-10 15:47:31 +00:00
Jo
511b95769e
docs(yay): correct order of editor var evaluation (#2104)
correct documentation on order of editor preference. Use logger for editfn
2023-04-10 15:46:46 +00:00
transifex-integration[bot]
4e9a865388
Translate 'po/en.po' in 'id' (#2092)
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-04-08 07:58:54 +00:00
transifex-integration[bot]
9270f00c7e
Translate 'po/en.po' in 'pt' (#2093)
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-04-08 07:58:37 +00:00
transifex-integration[bot]
527c3a5058
Translate 'po/en.po' in 'tr' (#2089)
* Translate po/en.po in tr

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

* 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-04-06 20:57:20 +00:00
Jo
1ee94f28d3
fix(new_engine): add missing warnings to AUR updates (#2087)
* add missing warnings to AUR updates

* fix tests
2023-04-06 17:06:46 +00:00
Jo
a64180464b
chore(man): fix wording on operation order to make it more clear (#2088)
fix wording on operation order to make it more clear
2023-04-06 16:49:18 +00:00
transifex-integration[bot]
a31ca0d7dc
Translate 'po/en.po' in 'it_IT' (#2084)
* Translate po/en.po in it_IT

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

* Translate po/en.po in it_IT

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

* Translate po/en.po in it_IT

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

* Translate po/en.po in it_IT

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

* Translate po/en.po in it_IT

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

* Translate po/en.po in it_IT

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

* 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-04-06 16:32:53 +00:00
transifex-integration[bot]
1bc3171abd
Translate 'po/en.po' in 'sv' (#2075)
* Translate po/en.po in sv

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

* 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-04-06 16:32:45 +00:00
Jo
2d7297ae6d
fix(upgrades): don't include makedeps into -Qu/a (#2085)
don't include makedeps into -Qu/a
2023-04-06 16:32:22 +00:00
Jo
ce0cb35510
feat(new_engine): add support for --nocombinedupgrade (#2083)
* feat(new_engine): add support for --nocombinedupgrade

* update en.po
2023-04-06 11:54:03 +00:00
transifex-integration[bot]
d9b57790fa
Translate 'po/en.po' in 'pt' (#2081)
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-04-06 11:45:53 +00:00
Jo
5a3f277574
chore(yay): make warning less scary (#2074) 2023-04-05 11:53:11 +00:00
Jo
d1c012085c
fix(yay): ensure yay -Qu & -Quq don't get stuck looking for deps (#2072) 2023-04-05 11:43:30 +00:00
Jo
89f47f8ebe
fix(yay): correct operation order for preparer (#2071)
* fix(yay): reset to origin/HEAD for clean_menu

* fix(yay): correct operation order for preparer

* test(yay): fix flaky test
2023-04-05 11:27:42 +00:00
transifex-integration[bot]
5b5617c7e7
Translate 'po/en.po' in 'it_IT' (#2065)
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-04-05 10:36:52 +02:00
transifex-integration[bot]
b80ef15add
Translate 'po/en.po' in 'sv' (#2063)
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-04-05 10:36:42 +02:00
transifex-integration[bot]
e0fbb4495a
Translate 'po/en.po' in 'id' (#2068)
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-04-05 10:36:35 +02:00