Loading .github/workflows/data-update.yml +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' python-version: '3.10' architecture: 'x64' - name: Install Python dependencies Loading .github/workflows/integration.yml +32 −3 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04] python-version: [3.6, 3.7, 3.8, 3.9] python-version: [3.7, 3.8, 3.9, "3.10"] steps: - name: Checkout uses: actions/checkout@v2 Loading Loading @@ -56,6 +56,17 @@ jobs: uses: actions/checkout@v2 - name: Install Ubuntu packages run: sudo ./utils/searx.sh install packages - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' architecture: 'x64' - name: Cache Python dependencies id: cache-python uses: actions/cache@v2 with: path: ./local key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }} - name: Install node dependencies run: make V=1 node.env - name: Build themes Loading @@ -68,14 +79,21 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: '0' persist-credentials: false - name: Install Ubuntu packages run: sudo ./utils/searx.sh install buildhost - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' python-version: '3.10' architecture: 'x64' - name: Cache Python dependencies id: cache-python uses: actions/cache@v2 with: path: ./local key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }} - name: Build documentation run: | make V=1 docs.clean docs.html Loading @@ -97,7 +115,7 @@ jobs: - documentation env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} runs-on: ubuntu-18.04 runs-on: ubuntu-20.04 steps: - name: Checkout if: env.DOCKERHUB_USERNAME != null Loading @@ -105,6 +123,17 @@ jobs: with: # make sure "make docker.push" can get the git history fetch-depth: '0' - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' architecture: 'x64' - name: Cache Python dependencies id: cache-python uses: actions/cache@v2 with: path: ./local key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }} - name: Set up QEMU if: env.DOCKERHUB_USERNAME != null uses: docker/setup-qemu-action@v1 Loading .gitignore +3 −1 Original line number Diff line number Diff line Loading @@ -28,3 +28,5 @@ gh-pages/ searx.egg-info/ *.eggs .env geckodriver.log .pylintrc +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ confidence= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" disable=bad-whitespace, duplicate-code disable=bad-whitespace, duplicate-code, consider-using-f-string # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option Loading docs/dev/engine_overview.rst +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ headers set HTTP header information data set HTTP data information cookies set HTTP cookies verify bool Performing SSL-Validity check allow_redirects bool Follow redirects follow_redirects bool Follow redirects max_redirects int maximum redirects, hard limit soft_max_redirects int maximum redirects, soft limit. Record an error but don't stop the engine raise_for_httperror bool True by default: raise an exception if the HTTP code of response is >= 300 Loading Loading
.github/workflows/data-update.yml +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' python-version: '3.10' architecture: 'x64' - name: Install Python dependencies Loading
.github/workflows/integration.yml +32 −3 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04] python-version: [3.6, 3.7, 3.8, 3.9] python-version: [3.7, 3.8, 3.9, "3.10"] steps: - name: Checkout uses: actions/checkout@v2 Loading Loading @@ -56,6 +56,17 @@ jobs: uses: actions/checkout@v2 - name: Install Ubuntu packages run: sudo ./utils/searx.sh install packages - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' architecture: 'x64' - name: Cache Python dependencies id: cache-python uses: actions/cache@v2 with: path: ./local key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }} - name: Install node dependencies run: make V=1 node.env - name: Build themes Loading @@ -68,14 +79,21 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: '0' persist-credentials: false - name: Install Ubuntu packages run: sudo ./utils/searx.sh install buildhost - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' python-version: '3.10' architecture: 'x64' - name: Cache Python dependencies id: cache-python uses: actions/cache@v2 with: path: ./local key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }} - name: Build documentation run: | make V=1 docs.clean docs.html Loading @@ -97,7 +115,7 @@ jobs: - documentation env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} runs-on: ubuntu-18.04 runs-on: ubuntu-20.04 steps: - name: Checkout if: env.DOCKERHUB_USERNAME != null Loading @@ -105,6 +123,17 @@ jobs: with: # make sure "make docker.push" can get the git history fetch-depth: '0' - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.9' architecture: 'x64' - name: Cache Python dependencies id: cache-python uses: actions/cache@v2 with: path: ./local key: python-ubuntu-20.04-3.9-${{ hashFiles('requirements*.txt', 'setup.py') }} - name: Set up QEMU if: env.DOCKERHUB_USERNAME != null uses: docker/setup-qemu-action@v1 Loading
.gitignore +3 −1 Original line number Diff line number Diff line Loading @@ -28,3 +28,5 @@ gh-pages/ searx.egg-info/ *.eggs .env geckodriver.log
.pylintrc +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ confidence= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" disable=bad-whitespace, duplicate-code disable=bad-whitespace, duplicate-code, consider-using-f-string # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option Loading
docs/dev/engine_overview.rst +1 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ headers set HTTP header information data set HTTP data information cookies set HTTP cookies verify bool Performing SSL-Validity check allow_redirects bool Follow redirects follow_redirects bool Follow redirects max_redirects int maximum redirects, hard limit soft_max_redirects int maximum redirects, soft limit. Record an error but don't stop the engine raise_for_httperror bool True by default: raise an exception if the HTTP code of response is >= 300 Loading