Skip to content

Conversation

@greg-1-anderson
Copy link
Member

@greg-1-anderson greg-1-anderson commented Mar 4, 2019

This is a start, but it looks like there are a few failures in the functional tests.

@greg-1-anderson
Copy link
Member Author

The tests like to insert --uri=dev by default, even if no one asked for that, for historical reasons. With this PR, that addition becomes significant, which broke some tests.

I think that the most recent commit gets us down to about one remaining failure.

@greg-1-anderson
Copy link
Member Author

Somewhat related to #3968

@weitzman
Copy link
Member

weitzman commented Mar 4, 2019

The way to do this today is:

Old: drush --uri=http://example.com
New: DRUSH_OPTIONS_URI=http://example.com drush ...

I think that should override the site alias. Or maybe leave the site alias without a URI and always use the env variable. Depends on your needs and setup.

@greg-1-anderson
Copy link
Member Author

DRUSH_OPTIONS_URI is a decent workaround (it does work fine today), but --uri on the commandline has better DX and is familiar. There's no downside to making the enhancement to take --uri from the commandline.

@greg-1-anderson greg-1-anderson added this to the drush9 milestone Mar 4, 2019
@weitzman
Copy link
Member

weitzman commented Mar 6, 2019

LGTM. Please close any other related issues that are still open,

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.

3 participants