-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Currently the installer only copies in a puphpet.yaml file, if found. This leaves a big chunk of PuPHPet's customization unavailable since there's no automatic integration for the puphpet/files/ folder.
My current best suggestion is to mirror how we handle the /puphpet.yaml ➡️ /puphpet/config.yaml copy step, but for the normal /puphpet/files/ directory as well. This would have to be a merge, to ensure that anything that comes "stock" from PuPHPet gets installed first, then possibly updated by the consuming project's version of the folder.
There may also be an issue with the SSH keys that are generated. When someone composer updates an existing installation, we don't want to wipe out the key files that were created in the target directory. Since we currently don't purge the existing directory it might not yet be an issue, but really we should be syncing "deletes" from the upstream PuPHPet release into the installed folder too. When that happens, the ssh keys would appear to need to be deleted since they wouldn't exist in the release/ folder we copy from. They'll need to be preserved somehow.