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

OPENEUROPA-2155: Add dev option to settings setup command #105

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

dxvargas
Copy link
Member

@dxvargas dxvargas commented Sep 5, 2019

OPENEUROPA-2155

Description

Add dev option to settings setup command, it will create and use settings.local.phpp .

Change log

  • Added: dev option to settings setup command.
  • Added: logic to create and use settings.local.php when dev option is given.
  • Added: tests.

Copy link
Member

@sergepavle sergepavle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments

src/Commands/AbstractDrupalCommands.php Outdated Show resolved Hide resolved
src/Commands/AbstractDrupalCommands.php Show resolved Hide resolved
tests/CommandsTest.php Outdated Show resolved Hide resolved
tests/CommandsTest.php Show resolved Hide resolved
sergepavle
sergepavle previously approved these changes Sep 16, 2019
ademarco
ademarco previously approved these changes Jan 27, 2020
Copy link
Member

@sergepavle sergepavle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have left a few comments.

- file: "build/sites/default/settings.local.php"
contains: "// Initial config."

- configuration:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like duplication with line 47.

src/Commands/AbstractDrupalCommands.php Show resolved Hide resolved
src/Commands/AbstractDrupalCommands.php Outdated Show resolved Hide resolved
@@ -0,0 +1,92 @@
- configuration:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be it is out from scope but could we also test correct working with multisiting?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point, evil, but fair. I'll do it.

Copy link

@ghost ghost Jan 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Real multisite integration would require extra work to allow for building multiple config folders.

I have some thoughts on how this can best be accomplished. Would require the runner.yml to define site.keys under which you can define the regular properties.

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