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
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
Jo
83214fbc1c
chore(yay): add local newer to AUR warnings ( #2113 )
2023-04-11 21:15:47 +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
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
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
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
Jo
5a3f277574
chore(yay): make warning less scary ( #2074 )
2023-04-05 11:53:11 +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
Jo
0892fc7cdd
fix(query): reduce verbosity of -Qu ( #2060 )
2023-04-03 22:05:45 +00:00
Jo
ada8261bca
fix(yay): check if downgrade has smaller version ( #2054 )
2023-04-03 16:37:41 +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
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
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
3d5a43c294
chore(yay): bump version ( #1949 )
...
bump major
2023-03-07 21:04:06 +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
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
6c870db1f1
fix(aur): respect -uu for AUR downgrade ( #1925 )
...
respect -uu for AUR downgrade
2023-02-21 01:51:52 +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
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
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
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
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
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
jguer
f042713aaa
fix: fix linting errors
2022-11-15 15:44:50 +01:00
jguer
b5bdcfbd1a
add basic sync upgrade capabilities
2022-11-01 23:48:35 +01:00
Norbert Pfeiler
1f49b7e11c
align test numbers, also color expected output ( #1815 )
2022-10-11 08:39:08 +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
95bc333a92
test(yay): port tests to parallel
2021-08-11 22:19:55 +02:00
jguer
cb4b57f6d8
chore(golangci): add new linters
2021-08-11 22:19:55 +02:00
jguer
5c11c01d85
refactor(exe): move sudo loop into CmdBuilder
2021-08-08 21:02:35 +02:00
jguer
50c0ece9a7
chore(style): run gofumpt on packages
2021-08-05 10:11:54 +02:00
jguer
545ea772eb
feat(aur): customize User Agent
2021-06-09 03:57:37 +02:00
morganamilo
29f4c43227
Sort upslice by pacman repo order
2021-04-24 17:28:53 +02:00
morganamilo
f04a469324
Make UpSlice a struct instead of a type alias
2021-04-24 17:28:53 +02:00
D1CED
eb9ff86aa9
fixed lint issues
2021-03-12 18:11:30 +01:00
Jannis M. Hoffmann
df1361aa05
moved Upgrade to db
...
to reduce dependencies
2021-03-12 18:11:30 +01: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
678d10e04e
fix(upgrade): export upgrades
2020-10-01 14:06:21 +02:00
jguer
005b29373d
fix(install): remove alpmHandle
2020-08-16 23:41:55 +02:00