-
Notifications
You must be signed in to change notification settings - Fork 53
Different defaults for Drupal 8 #305
Comments
I've had something like this in mind for a while, in fact I think there was either an issue or a discussion about it at some point but it never got any further. I think creating a D8 settings.yml file is a great idea though, especially as we move into the D8 release phase. I have to admit that when I know I'll be working on a D8 site it takes me a few minutes to collate all of the settings needed. I've found that the best settings for D8 are to add the following:
D8 needs a little more memory than usual so bumping that up slightly allows things to function well. We'll also need to incorporate Drupal console into the system, but we need to make a role for that :) |
Or find a good one ;) |
Well, as installing the Drupal Console is only two commands I've added it in now :) |
Actually, it's not complete. It needs to be much more idempotent. |
Is geerlingguy's role usable?
|
Actually, I didn't look to see if he had one, but having installed Drupal Console a couple of times now I went ahead and created a little role. It's only a couple of commands, one to download and another to make sure the command is available system-wide. Turns out our approaches weren't too dissimilar. I've added some idempotent rules to the task now so it behaves much better. |
Awesome, I'll likely be using that soon.
|
I think what we really could do with is a variable for which major core version you intend to use with the VM. Fresh from committing a change to help address #310 our default drush commands (
Both of those issues have now been addressed but I also noticed that Separate D8 defaults isn't enough IMHO, we might as well scale this idea a bit more and build a system for different defaults for any version major core version. |
Sufficient separation of build process would also allow you to do things like conditionally install twig (i.e. #294 ) which is useful for 8 but a waste of build time for 7. |
Here's something I've been thinking about. If you end up building drupal 8 projects with composer the way that https://github.com/drupal-composer/drupal-project recommends, you'll already have a copy of both |
Drupal Console is disabled in |
One thing that would help is if, through one variable, we could auto-change a number of defaults in provisioning. For example, for D8 we should use PHP 5.6 (or PHP 7?), clone Drush master, perhaps install Drupal Console, etc. Maybe an easy first pass as this is to have an
example-8.settings.yml
?What do you think?
The text was updated successfully, but these errors were encountered: