summaryrefslogtreecommitdiff
path: root/manage.sh
AgeCommit message (Collapse)Author
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-09-10[fix] make docker produces clean tag version (0.17.0 instead of 0.17.0-- for ↵Alexandre Flament
example) Fix #2152
2020-04-29Merge branch 'master' into fix/manage.shMarkus Heiser
2020-04-29[fix] Remove english shell dependency in manage.sh scriptMarkus Heiser
see https://github.com/asciimoo/searx/pull/1479#issuecomment-569904632 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-04-29Revert "fix: Remove english shell dependency in manage.sh script"Markus Heiser
This reverts commit 7b9c8f777b9390fa915c365d785f07afd067f0e2.
2020-04-02[fix] travis: fix docker tag.Dalf
the "-dirty" ignores the searx/brand.py and utils/brand.env files.
2020-03-29bash: use build environment from MakefileMarkus Heiser
To Makefile target brand, add creation of bash environment in:: utils/brand.env In bash scripts (manage.sh) source env by:: . utils/brand.env manage.sh help: show GIT_URL and more environment Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-26test: move tests from manage.sh to MakefileMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-26build: move build styles from manage.sh to MakefileMarkus Heiser
To build all styles use: make styles To build individual styles use one of: make style.legacy make style.courgette make style.pixart make style.bootstrap Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-26Makefile: add target 'useragents.update' to fetch versions of FirefoxMarkus Heiser
Update searx/data/useragents.json with the most recent versions of Firefox. BTW: add 'useragents.update' to 'project' target and clean up the Makefile and remove it from the manage.sh script. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> closes: https://github.com/asciimoo/searx/issues/1882
2020-03-25[fix] docker build: set build argument LABEL_VCS_URL to GIT_URLMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-25[fix] brands: add GIT_URL variable to the docker buildMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-25[fix] brands: add variables from build env to grunt processMarkus Heiser
We have some variables in the build environment which are also needed in the grunt process when building themes. Theses variables are relavant if one creates a fork with its own branding. We treat these variables under the term 'brands'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-17Merge pull request #1457 from hobbestigrou/force_upgrade_requirementsAdam Tauber
[Scripts] Force upgrade requirements.
2019-12-15fix: Remove english shell dependency in manage.sh scriptÉtienne Deparis
2019-11-23add a shortcut for utils/fetch_firefox_version.py in manage.shMarc Abonce Seguin
2019-08-06manage.sh grunt_build: add node_modules/.bin to the pathDalf
2019-07-13Update Docker imageDalf
See #1561 , use uwsgi and Alpine Linux Volume: /var/log/uwsgi contains error log for 2 days (file uwsgi.log) /etc/searx contains the settings.yml and uwsgi.ini files. The docker image creates them if they don't exist. The two files can be modified after the first run. See below. Environement variables: MORTY_URL : external URL of Morty MORTY_KEY : base64 encoded key BASE_URL : external URL of Searx BIND_ADDRESS : internal HTTP port to listen to Labels : org.label-schema.schema.* Parameters: -h : display this help -d : will update the settings and quit immediately (settings.yml and uwsgi.ini) -f : always update the settings (previous version saved with suffix .old). without this parameter, the new settings are copied with suffix .new When the Docker image contains newer settings: - without -f parameter: the new versions are copied to /etc/searx/settings.yml.new and /etc/searx/uwsgi.ini.new. - with -f parameter: the old versions are renamed with .old suffix. The new version replaces /etc/searx/settings.yml and /etc/searx/uwsgi.ini Build using "./manage.sh docker_build", add "push" as parameter also push the Docker image. The script requires a git repository to work (it makes sure that the last git tag matches searx/version.py) "git describe" is used to create a meaningful version. Example : 0.15.0-90-49c5bcb4-dirty (dirty means that the docker image was made with uncommited changes). Use "docker inspect -f {{.Config.Labels.version}} searx" to get the version of an existing image. .dockerignore based on .gitignore .travis.yml: include docker stage
2019-07-06Fix ./manage.sh robot_tests (#1633)Alexandre Flament
doi_resolvers / default_doi_resolver were missing in the settings_robots.yml file, so the test server was not able to start (crash). Since the output wasn't displayed, it was not obvious why the Selenium couldn't connect to searx.
2018-12-05[Scripts] Force upgrade requirements.Natal Ngétal
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.
2018-08-26manage.sh : no error when npm is not found and not requireddalf
2018-08-01manage.sh : minor changeAlex
2018-02-21change echo to printfNoémi Ványi
2018-02-21remove the option of sourcing manage.shNoémi Ványi
2017-12-10[mod] simplify manage.shAlexandre Flament
- npm install less@2.7 less-plugin-clean-css grunt-cli is moved inside manage.sh - if it is possible to source manage.sh to update the PATH (to start grunt) - tidy the help documentation - update the geckodriver version to 0.19.1
2017-10-06adjust whitespace in shell scriptsThirnearez
2017-10-06handle input carefully in shell scriptsThirnearez
- prevent whitespace-splitting of variable expansions - prevent interpretation of values as flags/options (mostly)
2017-10-06fix a shell typo that generated a bogus fileThirnearez
2017-09-17Switch to code-covAlexandre Flament
2017-08-16"./manage.sh update_packages" updates pip and setuptoolsAlexandre Flament
Fix issue #887, #962
2017-08-16[fix] manage.sh: add quotes arround parameters dealing with directories or ↵Alexandre Flament
files.
2017-08-13[mod] travis build : travis uses ./manage.sh to install the geckodriverAlexandre Flament
./manage.sh don't build css that are built by ./manage.sh grunt_build
2017-08-13[fix] travis build : various fix about grunt buildsAlexandre Flament
2017-08-13[fix] fix selenium testsAlexandre Flament
2017-08-06[enh] add simple theme (WIP)Alexandre Flament
2017-01-26[fix] do not do unnecessary package upgradesAdam Tauber
2017-01-03[mod] ./manage.sh can download geckodriver and install it into the virtual ↵Alexandre Flament
environment
2016-09-22[mod] rename "default" theme to "legacy"Adam Tauber
2016-07-15[fix] styles fix according to the new oscar dir structureAdam Tauber
2016-07-05Quote variables and backticksJan Verbeek
Otherwise the script fails with spaces or asterisks in the directory path.
2016-03-17[fix] manage.sh return with actions exit statusAdam Tauber
2016-03-17[fix] posix compatibilityAdam Tauber
2016-03-02[fix] improve argument parsing of manage.shThomas Pointhuber
2016-01-18[fix] pep8 compatibiltyAdam Tauber
2016-01-10[fix] manage.sh dev package update helpAdam Tauber
2016-01-10[mod] update core deps with dev depsAdam Tauber
2016-01-10[doc] command descriptionsAdam Tauber
2016-01-10[fix] grunt action nameAdam Tauber
2016-01-10[fix] robot tests and pep8 checkAdam Tauber
2016-01-10[mod] remove buildout/makefile infrastructureAdam Tauber