-
Notifications
You must be signed in to change notification settings - Fork 1
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
ISAICP-6036: Initial split off from the main project. #1
base: 1.x
Are you sure you want to change the base?
Conversation
…h the base branch.
…the deprecated ones.
* | ||
* @return \Robo\Collection\CollectionBuilder | ||
*/ | ||
public function settingsSetup(array $options = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need this here. It should be in the other repo. See openeuropa/task-runner#150 review.
public function permissionsSetup(array $options = [ | ||
'root' => InputOption::VALUE_REQUIRED, | ||
'sites-subdir' => InputOption::VALUE_REQUIRED, | ||
]) | ||
{ | ||
trigger_error("The 'drupal:permissions-setup' command is deprecated in openeuropa/task-runner:1.0.0 and will be removed * in openeuropa/task-runner:2.0.0. Use the 'drupal:setup-permissions' command instead.", E_USER_DEPRECATED); | ||
return $this->setupPermissions($options); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we deprecate this? It was supposed only to be moved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way you wrote it in the issue description, we want to change the drupal:permissions-setup
to drupal:setup-permissions
without breaking BC. The way I thought of this is that both commands will work at the same time since other projects might still be using the drupal:permissions-setup
. Thus, I kept the original method but I am throwing a deprecation message that the command is to be replaced by the drupal:setup-permissions
and calling that method instead.
No description provided.