Skip to content

feat: call sales-channel:update:domain after non-live import - #39

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/sales-channel-update-domain-2bfa
Sep 22, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/sales-channel-update-domain-2bfa

Conversation

@ROBJkE

@ROBJkE ROBJkE commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

After a non-live DB import, sync apply and sync pull run Shopware sales-channel:update:domain instead of fyrst:sales-channel:rewrite-urls.

The compose invocation stays run --rm --pull never --entrypoint php web bin/console. The only argument is the host parsed from APP_URL (scheme and path stripped; port is not passed). APP_URL=https://staging.example.com becomes staging.example.com.

Flags that existed only for our command are dropped: --app-url, --deploy-env, --sync-env, --checkout-basename. Failure text no longer tells the operator to composer update fyrst/shopware-cd.

Still skipped when SHOPWARE_DEPLOY_ENV is live (SHOPWARE_ALLOW_LIVE_RESTORE does not enable it), when no dump was imported, or when APP_URL is unset. Bare db import does not call it. backup recover is unchanged and still goes through the shared apply module.

Open in Web Open in Cursor 

After a non-live DB import, sync apply and sync pull run Shopware's
sales-channel:update:domain with the host parsed from APP_URL.

Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as ready for review September 22, 2026 06:31
@cursor
cursor Bot merged commit 89497da into main Sep 22, 2026
1 check passed
@cursor
cursor Bot deleted the cursor/sales-channel-update-domain-2bfa branch September 22, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants