diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-01-28 10:59:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-28 10:59:03 +0000 |
| commit | e64ff38217a1ba49afd4bb1c595121d94cbb2e33 (patch) | |
| tree | d8461b0392143da9d8ec9ae598b8a12c50914104 /manage.sh | |
| parent | 0e7b6c9a032d67bf5cbdcfc062d8466c18a62abd (diff) | |
| parent | bda189565589b0065152f5a9fba4565404f9bd9a (diff) | |
Merge branch 'master' into fix-infinite-scroll
Diffstat (limited to 'manage.sh')
| -rwxr-xr-x | manage.sh | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -18,12 +18,12 @@ ACTION="$1" update_packages() { pip install --upgrade pip pip install --upgrade setuptools - pip install -r "$BASE_DIR/requirements.txt" + pip install -Ur "$BASE_DIR/requirements.txt" } update_dev_packages() { update_packages - pip install -r "$BASE_DIR/requirements-dev.txt" + pip install -Ur "$BASE_DIR/requirements-dev.txt" } install_geckodriver() { @@ -70,6 +70,11 @@ locales() { pybabel compile -d "$SEARX_DIR/translations" } +update_useragents() { + echo '[!] Updating user agent versions' + python utils/fetch_firefox_version.py +} + pep8_check() { echo '[!] Running pep8 check' # ignored rules: @@ -246,6 +251,7 @@ Commands update_dev_packages - Check & update development and production dependency changes install_geckodriver - Download & install geckodriver if not already installed (required for robot_tests) npm_packages - Download & install npm dependencies + update_useragents - Update useragents.json with the most recent versions of Firefox Build ----- |