Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build:env:create --db-only flag for initial environment creation #455

Open
daggerhart opened this issue Jun 22, 2022 · 0 comments
Open

build:env:create --db-only flag for initial environment creation #455

daggerhart opened this issue Jun 22, 2022 · 0 comments

Comments

@daggerhart
Copy link

Working on a site that has a very large file system of Drupal media. The multidevs created don't always need the entire filesystem copied over, because we can easily enable stage_file_proxy on the multidev.

The \Pantheon\TerminusBuildTools\Commands\EnvCreateCommand::createBuildEnv() method already allows fo an option called --db-only, and the \Pantheon\Terminus\Collections\Environments::create() method supports options for no-db and no-files.

At a glance, it seems trivial to allow site owners to create an environment without copying the filesystem. By interpretting the EnvCreateCommand::createBuildEnv() --db-only flag to the Environments::create() no-db option.

Is there any reason not to do this?

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

No branches or pull requests

1 participant