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

ISAICP-6036: Initial split off from the main project. #1

Open
wants to merge 14 commits into
base: 1.x
Choose a base branch
from

Conversation

idimopoulos
Copy link

No description provided.

@idimopoulos idimopoulos changed the base branch from master to 1.x March 3, 2021 13:51
*
* @return \Robo\Collection\CollectionBuilder
*/
public function settingsSetup(array $options = [

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.

Comment on lines +440 to +447
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);
}

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.

Copy link
Author

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.

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