AppImage / AppImage/AppImageKit

Silence verbose output when VERBOSE environment variable is not set

Open
#1,233 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
9.4k
Forks
588
PR merge metrics
PR metrics pending

Description

Hello,

I sometimes run appimages in docker containers, which do not allow mounting of filesystems by default, so I run them with

`APPIMAGE_EXTRACT_AND_RUN=1 NO_CLEANUP=1 `

After the first execution, subsequent runs produce many lines of "File exists and file size matches, skipping". It would be nice if we could silence these informational messages (redirecting `stderr `to `/dev/null` is not ideal as this also redirects error messages from the bundled app).

This string is output [here](https://github.com/AppImage/AppImageKit/blob/master/src/runtime.c#L364), and the function this lives in already has access to a verbosity flag [here](https://github.com/AppImage/AppImageKit/blob/master/src/runtime.c#L277); so it looks reasonably straightforward to implement it. Would this be possible?

Thanks for your work on this!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.