21 Commits

Author SHA1 Message Date
Jo
b745f87210 chore(ci): update golangci lint v2.1.5 (#2615)
* chore(ci): update golangci-lint to v2.1.5 in ci.Dockerfile

* add golangci

* fix lint

* fix lint pkg/upgrade

* reenable lint
2025-05-01 10:00:10 +02:00
Jo
3a118b7690 chore: fix failing build actions (#2503) 2024-09-17 17:14:26 +02:00
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
smolx
6dd7933fbe Fix handling targets with specified db (#2218)
* Fix handling targets with specified db

Handle it in a similar way to handling targets with unspecified db.

Also refactored GraphSyncPkg method to make stuff more DRY.

* update go-mod
2023-07-06 06:53:46 +00:00
Jo
3d5a43c294 chore(yay): bump version (#1949)
bump major
2023-03-07 21:04:06 +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
jguer
c00cd8d88e rename AUR metadata client 2022-11-15 16:22:57 +01:00
Jo
3f5dffc188 build: update golangci (#1829) 2022-11-15 14:17:56 +00:00
Jo
2a2040c570 chore: use stdlib vars in code (#1793) 2022-08-14 17:41:54 +00: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
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
jguer
555d1ead95 chore(version): bump major version 2021-09-08 22:28:08 +02:00
jguer
cb4b57f6d8 chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
jguer
ab902e9cc6 chore(vcs): port VCS to download package 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
ca7165ecb6 ci(yay): update golangci and remove deprecated 2021-04-12 16:54:51 +02:00
D1CED
260594f42a disable interfacer check 2021-03-12 18:11:30 +01:00
jguer
ee3c51f6f2 feat(pkgbuild): extract logic 2021-01-31 19:07:08 +01:00
jguer
d003e96e07 fix(ci): fix env propagation
fix broken ci artifact download
2020-06-13 19:49:57 +02:00
jguer
9fccdcb30f fix(ci): implement stricter linting settings 2020-05-02 16:17:20 +02:00
jguer
e7b1fe4d53 fix(ci): add stricter linting settings and fix upload issues 2020-05-02 10:27:47 +02:00