Commit Graph

24 Commits

Author SHA1 Message Date
Jo
0a8bc1fe2e
fix(new_engine): add missing latest-commit in devel upgrade menu (#1916)
* fix missing latest-commit in devel upgrade menu

* move test grapher to inner test
2023-02-17 19:29:46 +00:00
Jo
0bf4c2e502
feat(new_install): show (#1915)
* show new packages in upgrade form if they exist

* refactor up select

* remove unused graph parts

* readd len

* Complete upgrade graphing

* Extract to upgrade pkg

* remove unused dep method

* remove uneeded dep

* cleanup method

* specify io Reader for testing

* use specified input vector

* fix non-active devel

* test base cases

* add devel test cases

* add range tests

* add logger struct

* use logger struct in upgrade

* follow golangci recommendations

* update deps

* update golangci
2023-02-17 19:01:26 +00:00
jguer
5aeb0d696c
support contains 2022-11-13 23:53:37 +01:00
jguer
ba935ccf95
add support for target install 2022-10-28 00:38:11 +02:00
jguer
bc4732e9e1
add debug mode 2022-09-20 00:11:10 +02:00
linweiyuan
7ebe64871d
fix(yay): fix -Si alignment when language is Chinese (#1799) (#1803) 2022-08-29 15:33:48 +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
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
f925b719e8 chore(text): make input overflow its own error 2021-10-27 23:45:23 +02:00
jguer
d096d15973 feat(menus): extract menus package 2021-10-27 23:45:23 +02:00
jguer
cb4b57f6d8 chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
x-usr
5ae510ad6f fix(display): adapt padding to match pacman's.
This change fixes part of #1332 related to splitting information into
multiple lines.
Change is implemented based on current pacman's code.
2020-09-07 23:39:19 +02:00
jguer
005b29373d
fix(install): remove alpmHandle 2020-08-16 23:41:55 +02:00
jguer
45d7da4df6
fix(tests): move runes test to text package 2020-07-24 23:24:53 +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
jguer
2f88858ce6
fix(parser): squash globals into options 2020-07-06 02:02:12 +02:00
jguer
cb8a988701
fix(news): package news and begin settings 2020-07-05 09:36:27 +02:00
jguer
acf95aed5b
fix(format): move time format to text 2020-06-26 09:15:36 +02:00
jguer
d0450179f9
fix(usecolor): usecolor belongs to text. remove deprecated 2020-06-26 09:03:45 +02:00
jguer
0c45a390a2
fix(locale): make install with locale 2020-05-30 00:43:18 +02:00
jguer
87d0dd64c3
fix(locale): add base locale 2020-05-08 18:13:51 +02:00
jguer
732f1a5412
feat(localization): wrap all translatable strings 2020-05-05 19:21:42 +02:00