From 9b22c9a470130cb52622e811a3a98d53b9569a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 16 Jul 2026 11:42:25 +0200 Subject: [PATCH] chore: cleanup for Weblate 2026.8 Remove compatibility that allowed both 2026.7 and 2026.8. --- start | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/start b/start index 419d98136..320f41736 100755 --- a/start +++ b/start @@ -47,11 +47,6 @@ run_weblate() { "$WEBLATE_CMD" "$@" } -# Compatibility with older Weblate releases, remove in 2026.8. -weblate_has_compress() { - run_weblate help --commands | grep -qx compress -} - runserver_has_web_service() { local weblate_service=${WEBLATE_SERVICE:-} [[ -z $weblate_service || $weblate_service == "web" ]] @@ -395,10 +390,6 @@ run_startup_maintenance() { fi collect_web_static_assets - if weblate_has_compress; then - # Compress js and css. - run_weblate compress --force --traceback - fi } collect_web_static_assets() { @@ -406,12 +397,7 @@ collect_web_static_assets() { return 0 fi - if weblate_has_compress; then - # Run with --clear to ensure all files are up to date. - run_weblate collectstatic --noinput --clear - else - run_weblate collectstatic --noinput - fi + run_weblate collectstatic --noinput EARLY_COLLECTSTATIC_DONE=1 }