Repository navigation
feat: drop --generate-app-secret from env init recipe tests - #38
Merged
Merged
Conversation
Align fyrst-cli shopware env init acceptance checks with fyrst-dev/cli#34. APP_SECRET stays Shopware's (shopware-cli project create). env init still sets identity keys, optional IMAGE, --vps, and merges missing .env.example keys, and does not generate or rewrite APP_SECRET. Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
ROBJkE
marked this pull request as ready for review
September 17, 2026 04:26
ROBJkE
added a commit
to fyrst-dev/shopware-cd
that referenced
this pull request
Sep 17, 2026
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: Cursor Agent <cursoragent@cursor.com> Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Align this private Flex recipe with fyrst-dev/cli#34.
fyrst-cli shopware env initno longer generatesAPP_SECRET.APP_SECRETstays Shopware’s:shopware-cli project createalready writes it. Recipe tests and Flex-owned docs now treat env init as identity-only.What changed
tests/init-env.test.sh:--generate-app-secretis rejected; emptyAPP_SECRETstays empty; existingAPP_SECRETis still not clobbered. Identity behavior is unchanged (shop id, deploy env, optionalIMAGE,--vpscommentingCOMPOSE_PROJECT_NAME, merge missing keys from.env.example).tests/wrappers.test.sh: recipe docs must not mention--generate-app-secret.post-install.txt, recipe README, repo README): env init does not generateAPP_SECRET.This recipe is thin (
copy-from-package). There is noroot/deploy/init-env.shhere anymore (removed in #37). Tests callfyrst-clidirectly.Out of this PR
overlay/.env.exampleandoverlay/deploy/README.mdstill mention--generate-app-secret. Those files are package overlay, not Flex recipe metadata. Follow-up belongs in shopware-cd, not here.add-fyrst-shopware-cd— already a thinmanifest.json+post-install.txt(merged as symfony/recipes-contrib#2049). Noinit-env.shto mirror. Contribpost-install.txtnever advertised the flag.Tests
All six overlay scripts passed against fyrst-cli built from
main(post #34):wrappers,init-env,sync-runtime,sync-dump,sync-rewrite,vps-hardening. Released0.1.0still has the flag; these checks need the post-#34 binary.