Get app info from server

Thought I would ask and see if anyone knows how I can obtain a few pieces of information from within an app server side:

  1. App Name, App Title, or Package Name (from the settings pages)
    Something more readable than .get_app_origin(), especially for debug environments.

  2. The current git commit hash of the running app
    I’ve poked around a bit with subprocess.run(['git', ...]) and it looks like git is installed in the container but I can’t find a repo.

1 Like