Skip to content

feat: drop --generate-app-secret from overlay env init - #28

Merged
ROBJkE merged 1 commit into
mainfrom
cursor/drop-generate-app-secret-3764
Sep 17, 2026
Merged

ROBJkE merged 1 commit into
mainfrom
cursor/drop-generate-app-secret-3764

Conversation

@ROBJkE

@ROBJkE ROBJkE commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Align this package overlay with fyrst-dev/cli#34 and fyrst-dev/recipes#38. fyrst-cli shopware env init no longer generates APP_SECRET.

APP_SECRET stays Shopware’s: shopware-cli project create already writes it. Overlay docs now treat env init as identity-only.

What changed

  • overlay/.env.example and overlay/deploy/README.md: --generate-app-secret and openssl APP_SECRET generation are gone. Identity is unchanged (shop id, deploy env, optional IMAGE, --vps commenting COMPOSE_PROJECT_NAME, merge missing keys from .env.example). Env init does not rewrite APP_SECRET.
  • README.md / CREATE.md: same contract (shopware-cli project create writes APP_SECRET; env init does not generate it).
  • tests/package.test.php: overlay docs must not mention --generate-app-secret or openssl rand; they must say env init leaves APP_SECRET alone. Identity flags stay documented.

There is no overlay/deploy/init-env.sh here (wrappers were already removed; tests still assert it is not shipped). Operators call fyrst-cli shopware env init.

Out of this PR

  • fyrst-dev/cli — already landed in #34.
  • fyrst-dev/recipes — already landed in #38.

Tests

php tests/package.test.php, php tests/packages-token.test.php, and vendor/bin/phpunit passed locally.

Open in Web Open in Cursor 

APP_SECRET stays Shopware's: shopware-cli project create writes it.
env init remains identity-only (shop id, deploy env, IMAGE, --vps,
merge from .env.example) and never rewrites APP_SECRET.

overlay/deploy/init-env.sh is not shipped (wrappers already removed).
Align overlay docs and package tests with fyrst-dev/cli#34 and
fyrst-dev/recipes#38.

Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
@ROBJkE
ROBJkE merged commit cff2e2a into main Sep 17, 2026
1 check passed
@ROBJkE
ROBJkE deleted the cursor/drop-generate-app-secret-3764 branch September 17, 2026 05:15
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