[enh] new issue: include information from searx.version

This commit is contained in:
Alexandre Flament 2021-08-18 10:36:53 +02:00 committed by Markus Heiser
parent 1e942435be
commit 7dc370efe9
2 changed files with 9 additions and 0 deletions

View file

@ -6,6 +6,13 @@
<textarea name="body" class="issue-hide">{{- '' -}} <textarea name="body" class="issue-hide">{{- '' -}}
**Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG** **Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG**
{% if searx_git_url and searx_git_url != 'unknow' %}
Repository: {{ searx_git_url }}
Branch: {{ searx_git_branch }}
Version: {{ searx_version }}
<!-- Check if these values are correct -->
{% else %}
<!-- If you are running on master branch using git execute this command <!-- If you are running on master branch using git execute this command
in order to fetch the latest commit ID: in order to fetch the latest commit ID:
``` ```
@ -17,6 +24,7 @@ and check for the version after "Powered by SearXNG"
Please also stipulate if you are using a forked version of SearxNG and Please also stipulate if you are using a forked version of SearxNG and
include a link to the fork source code. include a link to the fork source code.
--> -->
{% endif %}
**How did you install SearXNG?** **How did you install SearXNG?**
<!-- Did you install SearXNG using the official wiki or using searx-docker <!-- Did you install SearXNG using the official wiki or using searx-docker
or manually by executing the searx/webapp.py file? --> or manually by executing the searx/webapp.py file? -->

View file

@ -1191,6 +1191,7 @@ def stats():
engine_stats = engine_stats, engine_stats = engine_stats,
engine_reliabilities = engine_reliabilities, engine_reliabilities = engine_reliabilities,
selected_engine_name = selected_engine_name, selected_engine_name = selected_engine_name,
searx_git_branch = GIT_BRANCH,
) )