Baikal: let composer install the twig version Baikal pins (#19147)

Baikal requires twig/twig ~3.27.1 and every 3.27 release has an advisory,
so composer's advisory blocking refused to resolve the release at all
(10 failed installs in two days).
This commit is contained in:
CanbiZ (MickLesk)
2026-11-28 16:19:02 +01:00
committed by GitHub
parent 97d88e53e4
commit b0c0609e0c
2 changed files with 2 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ function update_script() {
msg_info "Configuring Baikal"
cd /opt/baikal
export COMPOSER_NO_SECURITY_BLOCKING=1
$STD composer install || { msg_warn "composer.lock doesn't match composer.json (known upstream packaging issue) - regenerating"; $STD composer update; }
msg_ok "Configured Baikal"

View File

@@ -25,6 +25,7 @@ PG_DB_NAME="baikal_db" PG_DB_USER="baikal_user" PG_DB_PASS="$(random_password 16
msg_info "Configuring Baikal"
cd /opt/baikal
export COMPOSER_NO_SECURITY_BLOCKING=1
$STD composer install || { msg_warn "composer.lock doesn't match composer.json (known upstream packaging issue) - regenerating"; $STD composer update; }
cat <<EOF >/opt/baikal/config/baikal.yaml
database: