From e75af78d7aacdd545825ebb2aee902276e9d55a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Natal=20Ng=C3=A9tal?= Date: Wed, 5 Dec 2018 18:52:36 +0100 Subject: [Scripts] Force upgrade requirements. Force the upgrade of requirements with pip. At the moment, if the version in the requirement file is changed, there will be no effect, because the dependencies is already present. --- manage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manage.sh') diff --git a/manage.sh b/manage.sh index a352ccc6e..20d2cba3d 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() { -- cgit v1.2.3 From 90b24f1060daf97cbf8e18f4a0087cd74ffb7581 Mon Sep 17 00:00:00 2001 From: Dalf Date: Tue, 23 Jul 2019 14:10:10 +0200 Subject: manage.sh grunt_build: add node_modules/.bin to the path --- manage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'manage.sh') diff --git a/manage.sh b/manage.sh index 7279eaf39..dbe48d31d 100755 --- a/manage.sh +++ b/manage.sh @@ -152,6 +152,8 @@ styles() { } grunt_build() { + npm_path_setup + echo '[!] Grunt build : oscar theme' grunt --gruntfile "$SEARX_DIR/static/themes/oscar/gruntfile.js" echo '[!] Grunt build : simple theme' @@ -243,7 +245,7 @@ Commands update_packages - Check & update production dependency changes 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 (source manage.sh to update the PATH) + npm_packages - Download & install npm dependencies Build ----- -- cgit v1.2.3 From 94ca30de1b53ce8a03a83bfe3545ec6b642d560b Mon Sep 17 00:00:00 2001 From: Marc Abonce Seguin Date: Thu, 27 Jun 2019 21:11:57 -0500 Subject: add a shortcut for utils/fetch_firefox_version.py in manage.sh --- manage.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manage.sh') diff --git a/manage.sh b/manage.sh index dbe48d31d..a450c6dfd 100755 --- a/manage.sh +++ b/manage.sh @@ -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 ----- -- cgit v1.2.3