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

Fixes #1113: Add support for multisite sync. #1117

Merged
merged 2 commits into from
Feb 21, 2017
Merged

Fixes #1113: Add support for multisite sync. #1117

merged 2 commits into from
Feb 21, 2017

Conversation

bobbygryzynger
Copy link
Contributor

Fixes #1113.

Changes proposed:

  • Allows site-specific config to be placed in docroot/sites/*/site.yml
    • Allows local:sync and local:refresh tasks to run against a multisite:
blt local:refresh -Dmultisite.name=secondsite

@@ -17,6 +17,26 @@

<target name="local:sync" description="Synchronize local environment from remote (remote --> local)."
depends="setup:drupal:settings">
<if>
<!-- There is multisite config. Allow it to override values for local:sync:site. -->
<available file="${blt.config-files.multisite}" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than doing this only in the context of local:sync, it seems like we should just check for this file and load its properties for every blt call. We'd add this to property.xml.

@bobbygryzynger
Copy link
Contributor Author

Ah, yeah that would be better. I'll make that change.

@grasmash grasmash added the Enhancement A feature or feature request label Feb 21, 2017
@grasmash grasmash merged commit 7ea42d8 into acquia:8.x Feb 21, 2017
@danepowell
Copy link
Contributor

Could you please document this in https://github.com/acquia/blt/blob/8.x/readme/multisite.md ?

@bobbygryzynger
Copy link
Contributor Author

bobbygryzynger commented Feb 21, 2017

@danepowell - no problem, take a look at #1124.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants