Commit graph

131 commits

Author SHA1 Message Date
Jo 714fee0b18
Chore: Cleanup (#1800) 2022-08-22 22:20:09 +00:00
J Guerreiro e4a1f018ea
feat(search): Add fuzzy name matching and mixed sources (#1719)
* fix(alpm): fix callback text

* feat(yay): Add mixed search result

* remove old result structs

* add option for controlling query builder

* only set query builder after parsing args

* add parser args

* update manpage

* write test for results

* write test for results

* mixed source test

* only sort 1 time with every mode
2022-03-06 23:48:15 +00:00
Norbert Pfeiler 9c2d4ec0d1
feat(stats): add statistics about pacman and yay cache sizes (#1679) 2022-02-06 09:53:34 +00:00
jguer e38d0138a6 feat(yay): simplify sort mode and use it for calculating number menu indices, fixes #1627 2021-11-07 00:18:26 +01:00
Matt Alexander 22c165a11f feat(search): add optional setting that formats each search result on a single line, Part II 2021-11-05 09:26:34 +01:00
jguer 9eb73899fe chore(query): unify search in number menu selection and normal search 2021-10-27 23:45:23 +02:00
morganamilo 1a0cfd85f2 Fix caps in search leading to no results 2021-10-05 09:06:26 +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 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 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
nycex d9b440c929
implement yay -Pp option
fix linting errors

format with make fmt

fix completions

resolve most of the requested changes

move loop over dbSlice back into makeRequest

query aur in chunks of 20

check for status codes

continue instead of return in for loop

format code
2021-01-31 19:07:08 +01:00
jguer 3e698f313a
test(alpm): implement alpm interfaces 2020-10-01 13:38:03 +02:00
jguer d6aa288ab8
fix(alpm): update alpm version 2020-09-20 17:00:45 +02:00
jguer c1171d4146
style(runner): use command runner for commands 2020-08-19 01:48:07 +02:00
jguer 7a3794ae75
feat(interface): interface dbexecutor 2020-08-16 23:42:00 +02:00
Jguer 6b973c6bc5
fix(pkgbuild_download): remove alpmHandle 2020-08-16 23:41:56 +02:00
Jguer 0e2a02b512
fix(clean): extract alpmHandle 2020-08-16 23:41:56 +02:00
Jguer 7bcf2ecb4c
fix(statistics): use alpm executor 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 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 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 1970dfa71b
fix(query): fix package indexing on narrow search 2020-06-15 08:50:06 +02:00
r4v3n6101 35a7d504fa Fix wrong loop indexing 2020-06-15 06:58:22 +03:00
jguer d003e96e07
fix(ci): fix env propagation
fix broken ci artifact download
2020-06-13 19:49:57 +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 ab956ea3d2
Hide warnings for ignored packages 2019-11-11 07:15:27 +00:00
morganamilo dacd77012c
Move multierror 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 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 0856edcf04
Move LessRunes into main
This comparitor function could hardly be considored a type. It's also
very small and probably not too useful overall so keep it in utils.
2019-10-16 22:02:50 +01:00
J Guerreiro 7b710b796b
Merge pull request #1056 from Morganamilo/searchby
Add --searchby
2019-10-13 23:38:28 +01:00
Jguer a591b33262
Add errguards throughout the code to enable golangci-lint 2019-10-13 20:56:27 +01:00
morganamilo ab2101ab49
Add --searchby
Allow using the RPC's &by= field during -Ss
2019-10-10 17:43:22 +01:00
Jguer bf89b3383c
Move IntRange definition to types package 2019-10-05 19:23:13 +01:00
Jguer b01790f752
Moved StringSet definition to types package 2019-10-05 18:39:31 +01:00
Jguer 3d31b52799
Moved LessRunes to types package 2019-10-05 18:11:49 +01:00
Jguer 9e205eef4b
Move MultiError to types package 2019-10-05 17:35:46 +01:00
morganamilo 112046853b
Use correct case on go-alpm import 2019-04-23 16:53:20 +01:00