(x) Make kantui use config files for initial configuration instead of CLI arguments. (kantui --help still available)
(x) Define all button names and shortcuts to be remappable from kantui_conf.toml
(x) Define a new request and a button Redeploy. Redeploy has a special option to set a shell command that is ran whenever used
(x) In default config the redeploy button calls systemctl restart kanto-auto-deployer.service
[Blocked] kantui - Being able to select text from logs (eclipse-leda/leda-utils#18):
() Be able to select/copy text fields
Possible roadblock: Cursive renders the gui in raw terminal mode. Might not be easily possible, without going too low-level.
Research notes
Might not be possible due to a general limitation in Cursive: gyscos/cursive#477
Workarounds in other cursive-based applications is to do vim-like yank in a buffer and pipe the buffer into a program like xclip: samtay/so#10. This is not usable in our case because we don't have X11 and we usually work over remote terminals (e.g. ssh).
"External" workarounds are:
Use shift+mouse to select (works on gnome terminal, vscode terminal) but this select the "UI characters " rendered on screen.
Use a terminal multiplexer in Leda image like tmux and redirect the log out into an "easy to reach file" in the current working directory and cat the file in the "neighboring" terminal - also far from ideal.
Other changes
The Cargo.lock file generated with Rust tool-chain 1.59.0 is now distributed with the repository in order do ensure reproducible recipe generation with cargo-bitbake.
A PR for work on various improvements to kantui in relation to the following enhancement requests:
Main changes
(x) kantui - Tail container log by default (eclipse-leda/leda-utils#19):
(x) kantui - Redeploy containers (eclipse-leda/leda-utils#17):
kantui_conf.toml
systemctl restart kanto-auto-deployer.service
[Blocked] kantui - Being able to select text from logs (eclipse-leda/leda-utils#18):
Research notes
Might not be possible due to a general limitation in Cursive: gyscos/cursive#477
Workarounds in other cursive-based applications is to do vim-like
yank
in a buffer and pipe the buffer into a program like xclip: samtay/so#10. This is not usable in our case because we don't have X11 and we usually work over remote terminals (e.g. ssh)."External" workarounds are:
tmux
and redirect the log out into an "easy to reach file" in the current working directory and cat the file in the "neighboring" terminal - also far from ideal.Other changes