SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
build environment: add GIT_BRANCH variable
Markus Heiser0742c2504dae
diff --git a/Makefile b/Makefileindex 335fa8efd..3c1bbdc66 100644--- a/Makefile+++ b/Makefile@@ -2,6 +2,7 @@.DEFAULT_GOAL=helpexport GIT_URL=https://github.com/asciimoo/searx+export GIT_BRANCH=masterexport SEARX_URL=https://searx.meexport DOCS_URL=https://asciimoo.github.io/searx@@ -114,12 +115,14 @@ useragents.update: pyenvinstallsearx.brand:$(Q)echo "build searx/brand.py"$(Q)echo "GIT_URL = '$(GIT_URL)'" > searx/brand.py+ $(Q)echo "GIT_BRANCH = '$(GIT_BRANCH)'" >> searx/brand.py$(Q)echo "ISSUE_URL = 'https://github.com/asciimoo/searx/issues'" >> searx/brand.py$(Q)echo "SEARX_URL = '$(SEARX_URL)'" >> searx/brand.py$(Q)echo "DOCS_URL = '$(DOCS_URL)'" >> searx/brand.py$(Q)echo "PUBLIC_INSTANCES = 'https://searx.space'" >> searx/brand.py$(Q)echo "build utils/brand.env"$(Q)echo "export GIT_URL='$(GIT_URL)'" > utils/brand.env+ $(Q)echo "export GIT_BRANCH='$(GIT_BRANCH)'" >> utils/brand.env$(Q)echo "export ISSUE_URL='https://github.com/asciimoo/searx/issues'" >> utils/brand.env$(Q)echo "export SEARX_URL='$(SEARX_URL)'" >> utils/brand.env$(Q)echo "export DOCS_URL='$(DOCS_URL)'" >> utils/brand.envdiff --git a/docs/conf.py b/docs/conf.pyindex 761465c47..9e6d32931 100644--- a/docs/conf.py+++ b/docs/conf.py@@ -6,7 +6,7 @@ from searx.version import VERSION_STRINGfrom pallets_sphinx_themes import ProjectLinkfrom searx.brand import GIT_URL-GIT_BRANCH =os.environ.get("GIT_BRANCH", "master")+GIT_BRANCH = os.environ.get("GIT_BRANCH", "master")from searx.brand import SEARX_URLfrom searx.brand import DOCS_URLdiff --git a/docs/dev/makefile.rst b/docs/dev/makefile.rstindex 85aea8ae9..fc0b4639c 100644--- a/docs/dev/makefile.rst+++ b/docs/dev/makefile.rst@@ -46,9 +46,9 @@ Makefile setupThe main setup is done in the :origin:`Makefile`::- export SEARX_URL=https://searx.me-export GIT_URL=https://github.com/asciimoo/searx+ export GIT_BRANCH=master+ export SEARX_URL=https://searx.meexport DOCS_URL=https://asciimoo.github.io/searx.. sidebar:: fork & upstream@@ -58,6 +58,8 @@ The main setup is done in the :origin:`Makefile`:::GIT_URL: Changes this, to point to your searx fork.+:GIT_BRANCH: Changes this, to point to your searx branch.+:SEARX_URL: Changes this, to point to your searx instance.:DOCS_URL: If you host your own (branded) documentation, change this URL.diff --git a/searx/brand.py b/searx/brand.pyindex d563447f6..91d2ab321 100644--- a/searx/brand.py+++ b/searx/brand.py@@ -1,4 +1,5 @@GIT_URL = 'https://github.com/asciimoo/searx'+GIT_BRANCH = 'master'ISSUE_URL = 'https://github.com/asciimoo/searx/issues'SEARX_URL = 'https://searx.me'DOCS_URL = 'https://asciimoo.github.io/searx'diff --git a/utils/brand.env b/utils/brand.envindex 7fe1a3911..5d5b39513 100644--- a/utils/brand.env+++ b/utils/brand.env@@ -1,4 +1,5 @@export GIT_URL='https://github.com/asciimoo/searx'+export GIT_BRANCH='master'export ISSUE_URL='https://github.com/asciimoo/searx/issues'export SEARX_URL='https://searx.me'export DOCS_URL='https://asciimoo.github.io/searx'