Repository navigation
feat: drop --generate-app-secret from overlay env init - #28
Merged
Merged
Conversation
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>
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 package overlay with fyrst-dev/cli#34 and fyrst-dev/recipes#38.
fyrst-cli shopware env initno longer generatesAPP_SECRET.APP_SECRETstays Shopware’s:shopware-cli project createalready writes it. Overlay docs now treat env init as identity-only.What changed
overlay/.env.exampleandoverlay/deploy/README.md:--generate-app-secretand opensslAPP_SECRETgeneration are gone. Identity is unchanged (shop id, deploy env, optionalIMAGE,--vpscommentingCOMPOSE_PROJECT_NAME, merge missing keys from.env.example). Env init does not rewriteAPP_SECRET.README.md/CREATE.md: same contract (shopware-cli project createwritesAPP_SECRET; env init does not generate it).tests/package.test.php: overlay docs must not mention--generate-app-secretoropenssl rand; they must say env init leavesAPP_SECRETalone. Identity flags stay documented.There is no
overlay/deploy/init-env.shhere (wrappers were already removed; tests still assert it is not shipped). Operators callfyrst-cli shopware env init.Out of this PR
Tests
php tests/package.test.php,php tests/packages-token.test.php, andvendor/bin/phpunitpassed locally.