Jo
8916cd174b
refactor(yay): move cfg inside of runtime ( #2259 )
...
* rework relationship between runtime and cfg
* separate runtime from cfg
* simplify instantiation logic
* move installer to appropriate package
* move operator to sync package
* add tests for srcinfo service
* consolidate srcinfo service in sync
* add logger to srcinfo
* add logger to preparer
* remove unused text functions
* remove remaining text.* from srcinfo
* remove global logger parts
* remove global org method exports
* remove global logger
* move text->input
* add rule to prevent fmt.Print
* update golangci go version
* remove outdated FAQs
* remove outdated FAQs
2023-08-06 21:39:41 +02:00
Jo
7483393377
fix(sync): add missing Replaces to -Si ( #2257 )
2023-08-02 07:45:14 +00:00
Jo
e28319fece
chore(yay): lift legacy engine ( #2189 )
...
* remove legacy engine
* remove legacy dep handlers
* use prepare for gendb
* remove unused method
* remove aur client old interface
* remove unused menu fns
* remove inactive upgrademenu option
* unexport printInfo
2023-05-24 08:22:18 +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
c7a51a1614
fix(text): ensure error logs go to stderr ( #2105 )
...
ensure Error logs go to stderr
2023-04-10 16:26:09 +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
d1c012085c
fix(yay): ensure yay -Qu & -Quq don't get stuck looking for deps ( #2072 )
2023-04-05 11:43:30 +00:00
Jo
0892fc7cdd
fix(query): reduce verbosity of -Qu ( #2060 )
2023-04-03 22:05:45 +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
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
Jo
3d5a43c294
chore(yay): bump version ( #1949 )
...
bump major
2023-03-07 21:04:06 +00:00
Jo
e6ed869df1
chore(yay): remove global cfg ( #1946 )
...
remove global cfg
2023-03-05 21:58:18 +00:00
Jo
a3d51a42da
fix(yay): match -Qu return ( #1924 )
...
match -Qu return
2023-02-21 02:00:39 +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
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
742b6ad79c
use aur cache for upgrades
2022-11-08 01:32:21 +01:00
Norbert Pfeiler
9c2d4ec0d1
feat(stats): add statistics about pacman and yay cache sizes ( #1679 )
2022-02-06 09:53:34 +00:00
Norbert Pfeiler
19d42ae3cd
fix(yay): Total foreign → Foreign ( #1680 )
...
Rename -Ps option
2022-02-03 09:58:55 +01:00
jguer
9eb73899fe
chore(query): unify search in number menu selection and normal search
2021-10-27 23:45:23 +02:00
jguer
555d1ead95
chore(version): bump major version
2021-09-08 22:28:08 +02:00
jguer
e231b2b02d
chore(yay): modernize exec commands
2021-08-14 00:10:43 +02:00
jguer
cb4b57f6d8
chore(golangci): add new linters
2021-08-11 22:19:55 +02:00
jguer
1a2e5b9529
refactor(settings): move args to own package to allow pacman cmd builder
2021-08-08 17:45:07 +02:00
jguer
65b1c4be69
refactor(main): move get cmds to their own file
2021-08-05 10:11:54 +02:00
jguer
79b44fd544
feat(download): download PKGBUILD repos interface
2021-08-05 10:11:54 +02:00
jguer
545ea772eb
feat(aur): customize User Agent
2021-06-09 03:57:37 +02:00
morganamilo
f04a469324
Make UpSlice a struct instead of a type alias
2021-04-24 17:28:53 +02:00
xvqxy
9fc6d9c128
fix(query): Respect --deps and --explicit.
...
This fixes #1283 .
yay --query --upgrades [--explicit|--deps] will not return same packages pacman
does extended with AUR packages.
yay --show --numberupgrades [--explicit|--deps] will also work.
2021-02-14 22:38:49 +01:00
jguer
afc72daba7
test(download): test pkgbuild fetching
2021-01-31 19:07:08 +01:00
jguer
ee3c51f6f2
feat(pkgbuild): extract logic
2021-01-31 19:07:08 +01:00
jguer
a288dd754f
fix(pkgbuild): rebase pkgbuild fetching from nycex
2021-01-31 19:07:08 +01:00
xhqr
24edabe5df
Print error if PATH is empty.
...
This fixes #881 .
Before:
```bash
$ PATH= /usr/bin/yay -Qu
$ echo $?
1
```
After:
```bash
$ PATH= ./yay -Qu
exec: "pacman-conf": executable file not found in $PATH
$ echo $?
1
```
2021-01-16 18:27:39 +01:00
x-usr
5ae510ad6f
fix(display): adapt padding to match pacman's.
...
This change fixes part of #1332 related to splitting information into
multiple lines.
Change is implemented based on current pacman's code.
2020-09-07 23:39:19 +02:00
jguer
c305e1c196
fix(color): remove duplicate colors
2020-08-17 00:09:43 +02:00
jguer
1ccfd3f0b7
fix(dbExecutor): rename functions to use dbExecutor
2020-08-17 00:02:14 +02:00
jguer
7a3794ae75
feat(interface): interface dbexecutor
2020-08-16 23:42:00 +02:00
Jguer
7bcf2ecb4c
fix(statistics): use alpm executor
2020-08-16 23:41:55 +02:00
jguer
94f650f4d3
style(main): remove alpmHandle
2020-08-16 23:41:55 +02:00
jguer
005b29373d
fix(install): remove alpmHandle
2020-08-16 23:41:55 +02:00
jguer
9fd6917bc0
fix(alpm): transfer handle initialization to executor
2020-08-16 23:41:55 +02:00
jguer
8074179112
style(filter): make filtering names more relevant
2020-07-27 01:24:28 +02:00
jguer
42f337f2a5
fix(pgp): package key importing
2020-07-11 00:48:30 +02:00
jguer
054a9ac613
refactor(dep): package dep
2020-07-10 02:36:45 +02:00
jguer
e47c9584c1
fix(format): gofumt files
2020-07-08 03:40:50 +02:00
jguer
7a32ffdd37
fix(cmdArgs): deglobal cmd args
2020-07-08 03:22:01 +02:00
jguer
36730a41e3
fix(config): package alpmHandle into runtimeSettings
2020-07-05 16:58:35 +02:00
jguer
fb5b6b74fe
fix(parser): package parser
2020-07-05 09:36:27 +02:00
jguer
cb8a988701
fix(news): package news and begin settings
2020-07-05 09:36:27 +02:00