Commit graph

7 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 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
Drumstickx 94cff87927
Fix ContinueTask user prompt for locales with uppercase yes (#1735)
* Fix ContinueTask user prompt for locales with uppercase yes

The yes/y strings have to be converted to lowercase to enable matching of
the user input converted to lowercase. Otherwise, locales with uppercase
yes/y strings (e.g., German: `Ja/J`) will never match.

* Addess linter issue

* Remove obsolete lowercase conversion
2022-03-31 14:19:43 +02:00
jguer 1c22cc491c chore(linting): code lint 2022-01-03 13:46:52 +00:00
jguer cb4b57f6d8 chore(golangci): add new linters 2021-08-11 22:19:55 +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