Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f63f652a authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

Sync changes from searx project

parent 41beaad0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+32 −3
Original line number Diff line number Diff line
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
+3 −1
Original line number Diff line number Diff line
@@ -28,3 +28,5 @@ gh-pages/
searx.egg-info/

*.eggs
.env
geckodriver.log
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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