SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[debug] CI - add debug to trace issue #5490 (#5519)
Markus Heiser5e0e1c6b3182
diff --git a/utils/lib_sxng_weblate.sh b/utils/lib_sxng_weblate.shindex 6aa71cd65..1ffee8bf3 100755--- a/utils/lib_sxng_weblate.sh+++ b/utils/lib_sxng_weblate.sh@@ -25,8 +25,7 @@ weblate.translations.worktree() {git remote add weblate https://translate.codeberg.org/git/searxng/searxng/fiif [ -d "${TRANSLATIONS_WORKTREE}" ]; then- pushd .- cd "${TRANSLATIONS_WORKTREE}"+ pushd "${TRANSLATIONS_WORKTREE}"git reset --hard HEADgit pull origin translationspopd@@ -60,6 +59,8 @@ weblate.to.translations() {wlc pullwlc commit+ set -x # https://github.com/searxng/searxng/issues/5490+# get the translations in a worktreeweblate.translations.worktree@@ -85,12 +86,14 @@ weblate.translations.commit() {# lock change on weblatewlc lock+ set -x # https://github.com/searxng/searxng/issues/5490+# get translations branch in git worktree (TRANSLATIONS_WORKTREE)weblate.translations.worktree- existing_commit_hash=$(- cd "${TRANSLATIONS_WORKTREE}"- git log -n1 --pretty=format:'%h'- )++ pushd "${TRANSLATIONS_WORKTREE}"+ existing_commit_hash=$(git log -n1 --pretty=format:'%h')+ popd# pull weblate commitsweblate.to.translations@@ -147,6 +150,9 @@ weblate.push.translations() {(set -epyenv.activate++ set -x # https://github.com/searxng/searxng/issues/5490+# get translations branch in git worktree (TRANSLATIONS_WORKTREE)weblate.translations.worktree