-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove calls to deprecated conf_path() #1607
Comments
It seems like if many usages of conf_path were changed to drush_conf_path, and drush_conf_path made aware of anything it needs to know for 8, that may work. |
Yeah, I suggest that drush_conf_path() be added to the three commands/core/drupal/environment*.inc files. Then when you use drush_conf_path(), you should add this line right above it - |
How are you getting on cliefen? Is this ready for review? |
@iant-tui See #1611 |
Can I help with this in any way? It is a blocker to conf_path() being removed, and if we don't do that before RC1 (announced as 7th Oct) we'll need to support it until Drupal 9. |
Sorry I got delayed. You can help by making a PR. |
I take it you haven't written any code for this yet then. Are we basically suggesting copying D8's current conf_path() function into the bootstrap class? |
Correct I have not started. I have not investigated the best way to implement this. There may be a better way than just copying the code - I dont yet know. |
@weitzman Can you give me a hint on a way to test the changes, like a command that will definitely error or fail if the changes don't work? |
Full bootstrap would fail if this code broke so I think we have sufficient implicit testing already. |
Coded up a fix at #1607. Will merge when tests are green. |
The PR is #1631 |
Actually removing conf_path() from Drupal is blocked by this issue. |
conf_path() is due to be removed before Drupal 8.0.0 (see https://www.drupal.org/node/2457469 ), but doing so breaks drush. We need to remove calls to this function.
The text was updated successfully, but these errors were encountered: