You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer using SSH deployment, I want to configure persistent files and directories per environment, so that custom runtime data survives releases without forcing every project to use the same layout.
Dependencies and current status
Extends #1555. An implementation exists in the current working branch; review and merge are pending.
Expose environments.<name>.ssh.shared.files and .directories in configuration and the project JSON schema.
Resolve each list independently: omitted uses Shopware defaults; an explicit list replaces those defaults; [] disables sharing for that category.
Preserve explicit empty lists when writing and reading configuration. Existing local-override merge conventions remain intact; !override [] clears a list defined by the base configuration.
Reject unsafe/non-project-relative paths, duplicates, and parent/child overlaps across both lists before opening SSH.
Only configured entries are shared. .env.local is not linked implicitly; install.lock remains release-local when it is not listed.
Delegate runtime configuration validation to Deployment Helper rather than requiring one particular shared dotenv file.
Removing a configured entry does not delete the old shared data. Existing-layout conflicts require explicit migration rather than moving live data silently.
Cover defaults, replacement, disabled sharing, configuration round-tripping, path validation and repeated rollout with custom persistent data in tests.
Out of scope
Automatic live-data migration, deletion of unused shared data, and storage/permission management outside the deployment root.
Parent: #1553 (under #1009).
User story
As a developer using SSH deployment, I want to configure persistent files and directories per environment, so that custom runtime data survives releases without forcing every project to use the same layout.
Dependencies and current status
Extends #1555. An implementation exists in the current working branch; review and merge are pending.
Configuration
Acceptance criteria
environments.<name>.ssh.shared.filesand.directoriesin configuration and the project JSON schema.[]disables sharing for that category.!override []clears a list defined by the base configuration..env.local,install.lock,public/.htaccess,public/.user.ini.config/jwt,files,var/log,public/media,public/plugins,public/thumbnail,public/sitemap,public/theme..env.localis not linked implicitly; install.lock remains release-local when it is not listed.Out of scope
Automatic live-data migration, deletion of unused shared data, and storage/permission management outside the deployment root.
Readiness checklist
deploymentbuild tag.