summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2019-12-24 17:45:13 +0100
committerGitHub <noreply@github.com>2019-12-24 17:45:13 +0100
commitecb054a7a058a1f62a536e5cac88eed8926b107d (patch)
tree925594876f18580732d2c8a438ff8f3bea8d9092 /manage.sh
parentcc8d4b958e274eb9e154db5c319d2e50da561d61 (diff)
parent5a0a66e9bc34af2b6404231efc7cf02f389bdfcb (diff)
Merge branch 'master' into patch-1
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/manage.sh b/manage.sh
index dbe48d31d..496a522ba 100755
--- a/manage.sh
+++ b/manage.sh
@@ -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
-----