Skip to content

Drop the sales-channel URL rewriter - #32

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/drop-sales-channel-rewriter-9453
Sep 22, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/drop-sales-channel-rewriter-9453

Conversation

@ROBJkE

@ROBJkE ROBJkE commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Shopware’s sales-channel:update:domain replaces fyrst:sales-channel:rewrite-urls. fyrst-cli calls that command with the host from APP_URL. This package does not shell it and does not call sales-channel:replace:url.

  • Deleted src/Command/RewriteSalesChannelUrlsCommand.php and src/SalesChannel/, plus the planner and rewrite-command PHPUnit tests.
  • FyrstShopwareCdBundle stays as an empty bundle (extra.symfony.bundle is unchanged) so Flex bundles and existing config/bundles.php entries still load.
  • README, CREATE.md, package tests, and overlay docs (deploy/README.md, sync-runtime.md, backup-runtime.md) describe the native command: sync passes the host from APP_URL, skipped on live, scheme/port/path stay as in the dump.
  • Dropped unused doctrine/dbal, symfony/console, and symfony/dependency-injection. The bundle still requires symfony/http-kernel.
  • extra.branch-alias.dev-main is 1.2.x-dev. Do not tag in this PR. Tag 1.2.0 after merge to main.

Test plan

  • vendor/bin/phpunit
  • php tests/package.test.php
  • php tests/packages-token.test.php
  • composer validate --no-check-publish
Open in Web Open in Cursor 

Shopware sales-channel:update:domain replaces fyrst:sales-channel:rewrite-urls.
fyrst-cli passes the host from APP_URL; this package does not shell it.
FyrstShopwareCdBundle stays empty so Flex bundles and config/bundles.php still load.
Bump dev-main branch-alias to 1.2.x-dev. Tag 1.2.0 after merge to main.

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 7c411ac into main Sep 22, 2026
1 check passed
@cursor
cursor Bot deleted the cursor/drop-sales-channel-rewriter-9453 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