Skip to content

feat: always strip COMPOSE_PROJECT_NAME; drop --vps from env init docs - #39

Merged
ROBJkE merged 1 commit into
mainfrom
cursor/env-init-always-strip-01bc
Sep 17, 2026
Merged

ROBJkE merged 1 commit into
mainfrom
cursor/env-init-always-strip-01bc

Conversation

@ROBJkE

@ROBJkE ROBJkE commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Align this private Flex recipe with the CLI hard-cut: fyrst-cli shopware env init always comments out create’s COMPOSE_PROJECT_NAME and no longer has --vps. Laptop and VPS use the same command.

What changed

  • tests/init-env.test.sh: env init without --vps comments COMPOSE_PROJECT_NAME (live and laptop/dev); --vps is rejected; --help must not list --vps; second run is idempotent; docs must say always-strip / laptop and VPS same.
  • tests/wrappers.test.sh: --help has no --vps; CLI rejects --vps; recipe docs must not mention --vps.
  • tests/vps-hardening.test.sh: docs checks require always-strip wording and forbid --vps (create footgun warning stays).
  • Operator docs (post-install.txt, recipe README, repo README): remove --vps; document that env init always comments COMPOSE_PROJECT_NAME.

This recipe is thin (copy-from-package). Tests call fyrst-cli directly.

Out of this PR

  • fyrst-dev/cli — landing in parallel (or already). Do not change CLI here.
  • fyrst-dev/shopware-cd overlay — overlay/.env.example and overlay/deploy/README.md still mention --vps. Follow-up belongs in shopware-cd, not here.

Tests

All six overlay scripts passed against a local fyrst-cli with always-strip / no --vps: wrappers, init-env, sync-runtime, sync-dump, sync-rewrite, vps-hardening. Released 0.1.0 still has the flag; these checks need the post-hard-cut binary.

Open in Web Open in Cursor 

Align the thin Flex recipe with the CLI hard-cut: fyrst-cli shopware
env init always comments out create's COMPOSE_PROJECT_NAME and no
longer accepts --vps. Laptop and VPS use the same command.

Co-authored-by: ROBJkE <ROBJkE@users.noreply.github.com>
@ROBJkE
ROBJkE merged commit e4d7d03 into main Sep 17, 2026
@ROBJkE
ROBJkE deleted the cursor/env-init-always-strip-01bc branch September 17, 2026 05:41
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