Commit graph

78 commits

Author SHA1 Message Date
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 9be51052f7
update deps (#1868)
* update deps

* align struct
2022-12-29 18:42:43 +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 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 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 3f7f55f260
simplify src download 2022-11-14 01:14:13 +01:00
Jo 888fb4b1d0
Fix minor question and locale issues (#1786)
* add missing locales

* use t.Setenv instead of os.Setenv for tests

* locale: present y/n if localisation is not latin. Always accept y/n in every case

* question: use operation info for question

* edge case where localised n is equal to default y

* add tests for basic locales
2022-08-13 22:56:23 +00:00
jguer 34e81d5d7d fix(clean_menu): clean menu errors don't exit yay anymore 2021-10-27 23:45:23 +02:00
jguer 2218e05981
fix(clean): missing dir caused failure to clean. closes #1610 2021-10-10 11:01:59 +02:00
jguer 555d1ead95
chore(version): bump major version 2021-09-08 22:28:08 +02:00
Eng Zer Jun e43c712c84 refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated in Go 1.16. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-08-26 15:17:47 +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 f42cbde6db refactor(parser): unify atleast modes 2021-08-09 13:32:55 +02:00
jguer 5c11c01d85 refactor(exe): move sudo loop into CmdBuilder 2021-08-08 21:02:35 +02:00
jguer 172ee1f4e8 refactor(exe): port pacman calls to cmd_builder 2021-08-08 17:45:07 +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 545ea772eb feat(aur): customize User Agent 2021-06-09 03:57:37 +02:00
jguer 3b2bb28e81
feat(exe): AddMakepkg builder 2020-08-22 01:24:52 +02:00
jguer 72f120b0f3
feat(config): refactor config to allow running without config 2020-08-21 02:39:52 +02:00
jguer c1171d4146
style(runner): use command runner for commands 2020-08-19 01:48:07 +02:00
jguer ab3c66ab98
fix(clean): Add clean directory warning on fail 2020-08-19 00:59:18 +02:00
jguer 7b70462a7c
fix(noconfirm): move noconfirm to config global 2020-08-19 00:30:41 +02:00
jguer 4a761c287b
test(upgrade): test AUR upgrades 2020-08-19 00:30:34 +02:00
jguer c305e1c196
fix(color): remove duplicate colors 2020-08-17 00:09:43 +02:00
jguer 7a3794ae75
feat(interface): interface dbexecutor 2020-08-16 23:42:00 +02:00
Jguer 0e2a02b512
fix(clean): extract alpmHandle 2020-08-16 23:41:56 +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 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 a0cff2b622
fix(cmdArgs): reorder args 2020-07-08 03:31:35 +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 968b61ac57
fix(config): pack pacmanConf into runtime 2020-07-05 15:34:27 +02:00
jguer 9b49f76bbd
fix(config): vcs filepath fix 2020-07-05 09:36:27 +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
jguer b5b4484c5c
fix(cleanafter): do not remove built packages on cleanafter 2020-07-01 09:14:54 +02:00
Matheus Alcantara 3549aeca26 Fix #1279: Error not git repository on yay -Sc 2020-06-30 09:56:31 +02:00
jguer d003e96e07
fix(ci): fix env propagation
fix broken ci artifact download
2020-06-13 19:49:57 +02:00
jguer 87d0dd64c3
fix(locale): add base locale 2020-05-08 18:13:51 +02:00
jguer 732f1a5412
feat(localization): wrap all translatable strings 2020-05-05 19:21:42 +02:00
jguer 9fccdcb30f
fix(ci): implement stricter linting settings 2020-05-02 16:17:20 +02:00
morganamilo f2959922a7
Remove tar support
tar is slower and harder to diff. I doubt any one still uses it intentially.

There's a chance some people have not cleared their cache in two years
and still have tar based packages around. But forcing them to clear
their cache is not a big deal at all.
2019-11-11 02:57:14 +00:00
morganamilo cff358d5d6
Move intrange to its own module
types is pretty generic as a module name, this should be split into
seperate modules.
2019-10-16 23:18:04 +01:00
morganamilo f2579f26a3
Move stringset to its own module
types is pretty generic as a module name, this should be split into
seperate modules.
2019-10-16 23:18:04 +01:00
morganamilo 4d91acc749
Re-add --batchinstall and fix dep issues 2019-10-16 20:59:52 +01:00