{"action":"created","issue":{"url":"https://api.github.com/repos/drush-ops/drush/issues/3968","repository_url":"https://api.github.com/repos/drush-ops/drush","labels_url":"https://api.github.com/repos/drush-ops/drush/issues/3968/labels{/name}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/3968/comments","events_url":"https://api.github.com/repos/drush-ops/drush/issues/3968/events","html_url":"https://github.com/drush-ops/drush/issues/3968","id":416901088,"node_id":"MDU6SXNzdWU0MTY5MDEwODg=","number":3968,"title":"Multisite installs do not load `drush.yml`","user":{"login":"greg-1-anderson","id":612191,"node_id":"MDQ6VXNlcjYxMjE5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/612191?v=4","gravatar_id":"","url":"https://api.github.com/users/greg-1-anderson","html_url":"https://github.com/greg-1-anderson","followers_url":"https://api.github.com/users/greg-1-anderson/followers","following_url":"https://api.github.com/users/greg-1-anderson/following{/other_user}","gists_url":"https://api.github.com/users/greg-1-anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-1-anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-1-anderson/subscriptions","organizations_url":"https://api.github.com/users/greg-1-anderson/orgs","repos_url":"https://api.github.com/users/greg-1-anderson/repos","events_url":"https://api.github.com/users/greg-1-anderson/events{/privacy}","received_events_url":"https://api.github.com/users/greg-1-anderson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2019-03-04T17:05:30Z","updated_at":"2019-03-05T00:19:04Z","closed_at":null,"author_association":"MEMBER","body":"**Describe the bug**\r\n`drush.yml` is not loaded for multisite installs.\r\n\r\n**To Reproduce**\r\nPut a `drush.yml` in `web/sites/default/drush.yml`\r\n\r\n**Expected behavior**\r\nThe path to that drush.yml file should appear in `drush status`\r\n\r\n**Actual behavior**\r\nNothing at all.\r\n\r\n**Workaround**\r\nUnknown; maybe set `uri` in settings.php. Drush.yml might be used for other things though.\r\n\r\n### System Configuration\r\n| Q               | A\r\n| --------------- | ---\r\n| Drush version?  | 9.6.0-rc3\r\n\r\n**Additional information**\r\nDrush is [attempting to add the configuration in ConfigLocator](https://github.com/drush-ops/drush/blob/9.6.0-rc3/src/Config/ConfigLocator.php#L282\r\n), but something is amis.\r\n\r\nFixing this was previously attempted and rejected in #3278.\r\n"},"comment":{"url":"https://api.github.com/repos/drush-ops/drush/issues/comments/469481468","html_url":"https://github.com/drush-ops/drush/issues/3968#issuecomment-469481468","issue_url":"https://api.github.com/repos/drush-ops/drush/issues/3968","id":469481468,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2OTQ4MTQ2OA==","user":{"login":"greg-1-anderson","id":612191,"node_id":"MDQ6VXNlcjYxMjE5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/612191?v=4","gravatar_id":"","url":"https://api.github.com/users/greg-1-anderson","html_url":"https://github.com/greg-1-anderson","followers_url":"https://api.github.com/users/greg-1-anderson/followers","following_url":"https://api.github.com/users/greg-1-anderson/following{/other_user}","gists_url":"https://api.github.com/users/greg-1-anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-1-anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-1-anderson/subscriptions","organizations_url":"https://api.github.com/users/greg-1-anderson/orgs","repos_url":"https://api.github.com/users/greg-1-anderson/repos","events_url":"https://api.github.com/users/greg-1-anderson/events{/privacy}","received_events_url":"https://api.github.com/users/greg-1-anderson/received_events","type":"User","site_admin":false},"created_at":"2019-03-05T00:19:04Z","updated_at":"2019-03-05T00:19:04Z","author_association":"MEMBER","body":"I was going to say that I don't have any multisites to confirm, but the SUT is a multisite. I thought I would try to use sites.php to correct the URI for the staging multidev:\r\n\r\nDefault answer:\r\n```\r\n$ ./drush @sut.stage st --field=uri \r\nhttp://stage\r\n```\r\nUpon trying it, I discovered that sites.php maps in the other direction. It can go from `https://stage.example.com` to the `stage` directory, but it cannot produce `https://stage.example.com` if the URI is passed in as `stage`.\r\n\r\nSo, in conclusion, it seems that sites.php is orthogonal to this feature request. I suppose my [concern above](https://github.com/drush-ops/drush/issues/3968#issuecomment-469377009) might still be an issue, but I didn't try to reproduce."}}
{"actor":{"display_login":"greg-1-anderson"}}