Commit graph

18 commits

Author SHA1 Message Date
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
Jo fdcf6ef664
ci(yay): add integration test framework (#2178)
* add integration test framework

* fix integration tests

* fix integration tests
2023-05-22 21:38:02 +00:00
Tanmay Chaudhry 15400c5fc5
Switch the TZ to UTC temporarily for running the News tests (#2121)
* switch the TZ to UTC temporarily for running the tests

* Remove unnecessary environment reset

* Set test specific environment.

Co-authored-by: Jo <me@jguer.space>

---------

Co-authored-by: Jo <me@jguer.space>
2023-04-26 13:54:37 +02: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
Jo 2a2040c570
chore: use stdlib vars in code (#1793) 2022-08-14 17:41:54 +00:00
jguer 1c22cc491c chore(linting): code lint 2022-01-03 13:46:52 +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
jguer b2a728151e
test(news): remove parallel from test with race 2021-09-09 09:03:48 +02:00
jguer 84e872ebe3
test(news): add test case for edge case of news in same day as build 2021-09-08 22:48:55 +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 c7cf7baa48 chore(http): use client for news feed 2021-06-09 03:57:37 +02:00
jguer 37372c883f
test(news): add tests for news package 2020-07-27 00:46:32 +02:00
jguer 5b7cee1422
style(news): clarify variable 2020-07-27 00:11:24 +02:00
jguer cb8a988701
fix(news): package news and begin settings 2020-07-05 09:36:27 +02:00