-
Notifications
You must be signed in to change notification settings - Fork 3
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
Confusing post install instructions #1
Comments
This is coming from scripts/composer/ScriptHandler.php. Not sure what project that is coming from. Outuput that @smmccabe is referring to looks like this:
Section from scripts/composer/ScriptHandler.php that is generating this: // Prepare the settings file for installation
if (!$fs->exists($root . '/sites/default/settings.php') and $fs->exists($root . '/sites/default/default.settings.php')) {
$fs->copy($root . '/sites/default/default.settings.php', $root . '/sites/default/settings.php');
$fs->chmod($root . '/sites/default/settings.php', 0666);
$event->getIO()->write("Create a sites/default/settings.php file with chmod 0666");
}
// Prepare the services file for installation
if (!$fs->exists($root . '/sites/default/services.yml') and $fs->exists($root . '/sites/default/default.services.yml')) {
$fs->copy($root . '/sites/default/default.services.yml', $root . '/sites/default/services.yml');
$fs->chmod($root . '/sites/default/services.yml', 0666);
$event->getIO()->write("Create a sites/default/services.yml file with chmod 0666");
}
// Create the files directory with chmod 0777
if (!$fs->exists($root . '/sites/default/files')) {
$oldmask = umask(0);
$fs->mkdir($root . '/sites/default/files', 0777);
umask($oldmask);
$event->getIO()->write("Create a sites/default/files directory with chmod 0777");
} I think the wording should for each of these sentences should be changed to "Now creating . . . Thanks! |
I found the related project AcroMedia/commerce-install-backend that contains this code. Can one of the maintainers move this issue to that project? |
It's actually upstream from that repo, coming from the drupalcommerce/project-base or perhaps it inherits from what it's based on. Either way, we should probably remove them. |
@smmccabe @joshmiller83 so is this something we can change in this project? can i close this issue? |
reported by andyd in slack:
At end of composer install come the
The text was updated successfully, but these errors were encountered: