aboutsummaryrefslogtreecommitdiff
path: root/www/py-searxng-devel/files/patch-searx_version.py
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-searxng-devel/files/patch-searx_version.py')
-rw-r--r--www/py-searxng-devel/files/patch-searx_version.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/py-searxng-devel/files/patch-searx_version.py b/www/py-searxng-devel/files/patch-searx_version.py
new file mode 100644
index 000000000000..7b9b32f09608
--- /dev/null
+++ b/www/py-searxng-devel/files/patch-searx_version.py
@@ -0,0 +1,18 @@
+--- searx/version.py.orig 2025-08-19 19:13:19 UTC
++++ searx/version.py
+@@ -91,15 +91,6 @@ def get_information():
+ git_url = GIT_URL
+ git_branch = GIT_BRANCH
+
+- try:
+- version_string, version_tag, docker_tag = get_git_version()
+- except subprocess.CalledProcessError as ex:
+- logger.error("Error while getting the version: %s", ex.stderr)
+- try:
+- git_url, git_branch = get_git_url_and_branch()
+- except subprocess.CalledProcessError as ex:
+- logger.error("Error while getting the git URL & branch: %s", ex.stderr)
+-
+ return version_string, version_tag, docker_tag, git_url, git_branch
+
+