From bc37413c2a0aed4a953eedd5f0b8113994a61566 Mon Sep 17 00:00:00 2001 From: KamilSznajdrowicz Date: Thu, 26 Feb 2026 14:48:28 +0100 Subject: [PATCH 1/2] Add MSL to CI Script --- bin/5.0.x-dev/prepare_project_edition.sh | 5 ++++- bin/stable/prepare_project_edition.sh | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/5.0.x-dev/prepare_project_edition.sh b/bin/5.0.x-dev/prepare_project_edition.sh index 28793f41..c4321cdf 100755 --- a/bin/5.0.x-dev/prepare_project_edition.sh +++ b/bin/5.0.x-dev/prepare_project_edition.sh @@ -117,6 +117,9 @@ docker exec install_dependencies composer require ibexa/behat:$PROJECT_VERSION i if [[ "$PROJECT_EDITION" != "oss" ]]; then docker exec install_dependencies composer require ibexa/connector-anthropic:$PROJECT_VERSION --no-scripts --ansi --no-update fi +if [[ "$PROJECT_EDITION" == "commerce" ]]; then + docker exec install_dependencies composer require ibexa/shopping-list:$PROJECT_VERSION --no-scripts --ansi --no-update +fi # Add other dependencies if required if [ -f dependencies.json ]; then @@ -126,7 +129,7 @@ if [ -f dependencies.json ]; then PACKAGE_NAME=$(cat dependencies.json | jq -r .packages[$i].package) REQUIREMENT=$(cat dependencies.json | jq -r .packages[$i].requirement) SHOULD_BE_ADDED_AS_VCS=$(cat dependencies.json | jq -r .packages[$i].shouldBeAddedAsVCS) - if [[ $SHOULD_BE_ADDED_AS_VCS == "true" ]] ; then + if [[ $SHOULD_BE_ADDED_AS_VCS == "true" ]] ; then echo ">> Private or fork repository detected, adding VCS to Composer repositories" docker exec install_dependencies composer config repositories.$(uuidgen) vcs "$REPO_URL" fi diff --git a/bin/stable/prepare_project_edition.sh b/bin/stable/prepare_project_edition.sh index 9b0f8802..9cf7b491 100755 --- a/bin/stable/prepare_project_edition.sh +++ b/bin/stable/prepare_project_edition.sh @@ -65,6 +65,7 @@ elif [[ $PROJECT_VERSION == *"v4.6"* ]]; then fi if [[ "$PROJECT_EDITION" == "commerce" ]]; then docker exec install_dependencies composer require ibexa/discounts:$PROJECT_VERSION ibexa/discounts-codes:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi + docker exec install_dependencies composer require ibexa/shopping-list:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi fi else echo "> Installing dependencies for v5" From ba341dfd1fd90be8c02f895de77fd2ce697b2d9d Mon Sep 17 00:00:00 2001 From: KamilSznajdrowicz Date: Thu, 26 Feb 2026 14:55:11 +0100 Subject: [PATCH 2/2] Loop change position --- bin/stable/prepare_project_edition.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stable/prepare_project_edition.sh b/bin/stable/prepare_project_edition.sh index 9cf7b491..232a245f 100755 --- a/bin/stable/prepare_project_edition.sh +++ b/bin/stable/prepare_project_edition.sh @@ -65,11 +65,11 @@ elif [[ $PROJECT_VERSION == *"v4.6"* ]]; then fi if [[ "$PROJECT_EDITION" == "commerce" ]]; then docker exec install_dependencies composer require ibexa/discounts:$PROJECT_VERSION ibexa/discounts-codes:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi - docker exec install_dependencies composer require ibexa/shopping-list:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi fi else echo "> Installing dependencies for v5" docker exec install_dependencies composer require ibexa/behat:$PROJECT_VERSION ibexa/docker:$PROJECT_VERSION ibexa/connector-anthropic:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi + docker exec install_dependencies composer require ibexa/shopping-list:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi fi # Enable FriendsOfBehat SymfonyExtension in the Behat env