searxng/utils
Alexandre Flament 0606cde105 [mod] add make targets to manage the build files in the /searx/static directory
The idea is to avoid conflict when there are differents branches with changes are made on the static files.
A solution is to ask the administrators to build the files from the sources, but it requires to install the npm dependencies.
So the solution in this commit keep the sources and the build files in the same git repository.

In one branch, the modification of the source (*.less, *.js) are commited without the built files.
The built files are commited in a uniq commit, with a commit message "Static build"
In case of merge or rebase, this commit can be dropped.

New make targets:
* static.build.commit.drop:
    drop the last "Static build".
    The command checks that there are only build files in the commit.
* static.build.commit :
    call "make static.build.commit.drop"
    call "make themes.all"
    commit the files
* static.git.restore.staged:
    git restore --staged <build files>
* static.git.restore:
    git restore <build files>

Related to https://github.com/searxng/searxng/issues/137
2021-06-26 13:13:31 +02:00
..
templates [yamllint] ./utils/templates/etc/searx/*.yml 2021-06-12 20:46:07 +02:00
brand.env More branding 2021-04-22 21:10:22 +02:00
build_env.py [fix] utils/build_env.py: make sure to always use searx/settings.yml 2021-01-11 22:59:35 +01:00
filtron.sh [fix] typo: 'interactiv' --> 'interactive' 2021-04-28 16:29:03 +02:00
lib.sh [fix] typo: 'interactiv' --> 'interactive' 2021-04-28 16:29:03 +02:00
lxc-searx.env [mod] LXC switch to Fedora 33 / Fedora 31 reached its EOL 2021-03-05 13:17:47 +01:00
lxc.sh [mod] utils/lxc.sh: detect conflict of docker & LXC in the iptables 2021-06-23 12:47:52 +02:00
makefile.include [mod] replace makefile boilerplate by 'manage' script 2021-04-23 11:26:22 +02:00
makefile.lxc [mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env 2020-12-26 11:43:18 +01:00
manage_static.sh [mod] add make targets to manage the build files in the /searx/static directory 2021-06-26 13:13:31 +02:00
morty.sh [fix] utils/morty.sh - PUBLIC_URL_MORTY is based on PUBLIC_URL 2021-06-13 11:55:32 +02:00
searx.sh [fix] utils/searx.sh: signature of YAML settings has been changed 2021-06-23 09:56:59 +02:00