Commit Graph

29 Commits

Author SHA1 Message Date
Jo
714fee0b18
Chore: Cleanup (#1800) 2022-08-22 22:20:09 +00:00
Jo
2a2040c570
chore: use stdlib vars in code (#1793) 2022-08-14 17:41:54 +00:00
jguer
1a52da5891
Make provides disabled by default. Add Migration to set provides to disabled 2022-08-05 22:55:54 +02: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
xvqxy
b52e3cf0d2
fix(aur): -Ss fails on multi arg if no results. (#1716)
This fixes #1674.

If search command included multiple packages and no results were found
in AUR, response from `query.queryAUR` was returned
as nil slice instead of non-nil empty slice and as nil slice is treated
during subsequent validation in `query.SourceQueryBuilder.Results` as
meaning that searching in AUR was not executed, command was failing.
Now empty non-nil slice is returned if results were not found.
2022-02-21 09:14:11 +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
53e8ec70f8 fix(search): Fixed unit test; make test names unique and more descriptive 2021-11-05 09:26:34 +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
f88bf5c212
fix(search): in case there are no results, don't display number menu 2021-11-03 00:04:00 +01:00
jguer
15d91e4661
fix(search): revert repo query revert. Fixes #1623 2021-10-28 17:41:51 +02: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
f42cbde6db refactor(parser): unify atleast modes 2021-08-09 13:32: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
545ea772eb feat(aur): customize User Agent 2021-06-09 03:57:37 +02:00
Ferdinand Bachmann
64e5b9e93d fix(query): allocate capacity in filterDebugPkgs
(addresses review in PR #1484 by Jguer)
2021-04-20 22:01:46 +02:00
Ferdinand Bachmann
3efb43af95 feat(query): list debug packages missing from AUR separately 2021-04-20 22:01:46 +02:00
Jannis M. Hoffmann
df1361aa05 moved Upgrade to db
to reduce dependencies
2021-03-12 18:11:30 +01:00
Jannis M. Hoffmann
5d2c763fdb reroute dep->rpc dependency via query 2021-03-12 18:11:30 +01:00
jguer
8d9fed2ad0
fix(query): fix remote package slow filtering 2020-11-16 08:59:35 +01:00
jguer
3e698f313a
test(alpm): implement alpm interfaces 2020-10-01 13:38:03 +02:00
jguer
7a3794ae75
feat(interface): interface dbexecutor 2020-08-16 23:42:00 +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
054a9ac613
refactor(dep): package dep 2020-07-10 02:36:45 +02:00
jguer
cb8a988701
fix(news): package news and begin settings 2020-07-05 09:36:27 +02:00