Open florianb opened 2 years ago
A patch adding an option to suppress the messages would be nice, yes.
I would happily provide a PR. What would you say is a good approach?
I am fairly new to Flathub so i have to dig into the overall functionality to get an idea about a possible idiomatic approach. So any hints are welcome.
Providing opt-out seems fine. If printing debug messages is controlled by an environment variable, it's default value can be easily altered in the app finish-args.
Awesome - i would then propose introducing FLATPAK_IDE_QUIET:0
as a mix of FLATPAK_IDE_ENV
and the widely used quiet
option.
If you're fine i'd open a PR.
I'd rather have it the other way round - something like FLATPAK_IDE_LOGLEVEL
with values 0
for "quiet", 1
by default for current behaviour. And then greater numbers can be used in future for more verbose logging.
Aye - i create a PR. :)
I just merged the PR https://github.com/flathub/io.neovim.nvim/pull/57 which implements https://github.com/flathub/ide-flatpak-wrapper/pull/17.
Hi - i am pretty new to the flathub universe. So it might be i ended up in the wrong repo regarding this issue.
I installed Neovim using Flathub. When running io.neovim.nvim the shell prints three additional lines regarding the wrapper:
So in that regard:
Is it possible to mute these wrapper mesages?
If not would this be the right place to discuss this, and would a PR be possible be accepted?
Thanks in advance – Florian