| Age | Commit message (Collapse) | Author |
|
[clean] drop deprecated files .codecov.yml, .landscape.yaml & tox.ini
|
|
.codecov.yml :
code coverage reports are attached on each build. See for example:
https://github.com/searxng/searxng/actions/runs/788360104 (Artifacts section)
.landscape.yaml :
landscape.io is offline
tox.ini :
not in use
|
|
[mod] processors: show identical error messages on /search and /stats
|
|
[mod] searx.metrics.error_recorder: store relative file name instead of the full absolute file name.
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] manage - fix miss usage of 'set -e'
|
|
|
|
Requirement idna was added in 181c12ae04ba but I don't know why. This package
is not directly used by searxng but its a sub-requirement of some other packages
using package `requests` (with different range of supported versions, see
below). In summary one can say: the version of idna should be depend on package
`requests`::
...
Pallets-Sphinx-Themes==1.2.3
...
- Sphinx [required: Any, installed: 3.5.4]
...
- requests [required: >=2.5.0, installed: 2.25.1]
...
- idna [required: >=2.5,<3, installed: 2.10]
...
...
transifex-client==0.14.2
- requests [required: >=2.19.1,<3.0.0, installed: 2.25.1]
...
- idna [required: >=2.5,<3, installed: 2.10]
twine==3.4.1
...
- requests [required: >=2.20, installed: 2.25.1]
...
- idna [required: >=2.5,<3, installed: 2.10]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
The philosophy of set -e is typically that it only exits upon uncaught
errors. Here, the presence of || outside the subshell seems to tell the shell
that the error inside the subshell is 'caught' and therefore set -e does not
cause an exit after false [1].
The shell does not exit if the command that fails is ... part of any command
executed in a && or || list except the command following the final && or ||, any
command in a pipeline but the last, or if the command’s return status is being
inverted with ! [2]
[1] https://unix.stackexchange.com/questions/296526/set-e-in-a-subshell
[2] https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html#The-Set-Builtin
BTW: fix error reported by 'make test.shell'
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
full absolute file name.
|
|
[pylint] get PYLINT_FILES from tag '# lint: pylint'
|
|
These py files are linted by test.pylint(), all other files are linted by
test.pep8()
close: https://github.com/searxng/searxng/issues/21
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
These py files are linted by `test.pylint`, all other files are linted by
`test.pep8`.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Bump pygments from 2.8.0 to 2.8.1 and run
./manage pyenv.cmd searx_extra/update/update_pygments.py
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
BTW: remove trailing whitespace
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Bumps [pygments](https://github.com/pygments/pygments) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/2.8.1/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.8.0...2.8.1)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.5.3 to 3.5.4.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/commits/v3.5.4)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
[brand] README.rst fix img.shields.io and searxng.github.io URLs
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] debug log: UnicodeEncodeError: 'ascii' codec can't encode
|
|
The issue exists only in the debug log::
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1086, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 79-89: ordinal not in range(128)
Call stack:
File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 2464, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/searx/searx-src/searx/webapp.py", line 1316, in __call__
return self.app(environ, start_response)
File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/werkzeug/middleware/proxy_fix.py", line 169, in __call__
return self.app(environ, start_response)
File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/searx/searx-src/searx/webapp.py", line 766, in search
number_of_results=format_decimal(number_of_results),
File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask_babel/__init__.py", line 458, in format_decimal
locale = get_locale()
File "/usr/local/searx/searx-pyenv/lib/python3.9/site-packages/flask_babel/__init__.py", line 226, in get_locale
rv = babel.locale_selector_func()
File "/usr/local/searx/searx-src/searx/webapp.py", line 249, in get_locale
logger.debug("%s uses locale `%s` from %s", request.url, locale, locale_source)
Unable to print the message and arguments - possible formatting error.
Use the traceback above to help find the error.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Metrics stats engines
|
|
SearxNG brand
|
|
allow to submit a github issue including the technical details
(exceptions, errors, warning, checker result)
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[github] searxng does not use github's discussion
|
|
Remove gihtub's discussion template and add a issue template used for questions
& discussions.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix doc] manage.sh update_packages does not exists anymore
|
|
Reported-by: https://github.com/searx/searx/issues/2776
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Add a search engine for core.ac.uk
|
|
It is the whole engine definition that should be comment out : without the
api_key nothing works.
Signed-off-by: Markus Heiser <markus@darmarit.de>
|
|
- add to list of pylint scripts
- add debug log messages
- move API key int `settings.yml`
- improved readability
- add some metadata to results
Signed-off-by: Markus Heiser <markus@darmarit.de>
|
|
|
|
|
|
|
|
Replace Makefile boilerplate by shell scripts
|
|
|
|
[mod] update /stats
|
|
|
|
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
|
|
[CI] JamesIves/github-pages-deploy-action COMMIT_MESSAGE
|
|
remove rocket symbol from the commit message
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Suggested-by: https://github.com/JamesIves/github-pages-deploy-action/pull/576
|
|
[CI] JamesIves/github-pages-deploy-action SINGLE_COMMIT
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Renamed 'test.sh' to 'test.shell' seems to solve this issue on my ubu204::
$ make test.sh
...
TEST robot
...
INSTALL gecko.driver
...
Running 7 tests
cat test.sh >test
cat: test.sh: Datei oder Verzeichnis nicht gefunden
make: *** [<eingebaut>: test] Fehler 1
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
ERROR: When pyenv build fails, the pyenv command runs into a recursion [1]:
....
BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV ERROR: Cannot install idna==3.1 and requests[socks]==2.25.1 because these package versions have conflicting dependencies.
BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV
BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV BUILDENV The conflict is caused by:
[1] https://github.com/return42/searx-next/pull/4#issuecomment-821999497
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|