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

Add sut alias record to repository rather than building it dynamically #3822

Merged
merged 5 commits into from
Dec 10, 2018

Conversation

greg-1-anderson
Copy link
Member

We don't need to dynamically generate these any more.

@greg-1-anderson
Copy link
Member Author

I should point out that this is using wildcard aliases, which means that we have a new feature. drush @sut.foo st is the same as drush --root=/path/to/sut --uri=foo st. Drupal won't find a foo directory, so it will select default. The database creds will be read from settings.php rather than taken from the alias. You can create foo via site:install.

If this is undesirable, we can explicitly list all of the environments rather than use the wildcard.

@@ -0,0 +1,5 @@
common:
root: /Users/ganderson/local/drupal/drush9/drush/sut
Copy link
Member

Choose a reason for hiding this comment

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

Is this a mistake? If not please add a comment. My path is different.

Also add link to wildcard aliases docs.

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a mistake.

@greg-1-anderson greg-1-anderson merged commit 80e230f into master Dec 10, 2018
@weitzman weitzman deleted the commit-sut-aliases branch December 13, 2019 15:44
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