Closed marknotton closed 3 years ago
Although still archived, you could use:
"deployer/recipes": "dev-master"
That is at least what I use for a recipe that I require.
I could be mistaken, but it seems like moving the recipes into the core is slated for an upcoming v7.0 release that hasn't happened as of this writing.
If that is indeed the case, it's unfortunate that the recipes package was abandoned "early".
Old versions are still tagged and working. Abandoned is added notify contributors what recipes should be updates in master repo instead.
We use require 'vendor/deployer/recipes/cachetool.php';
in deploy.php
and post composer install
it now seems to be in vendor/deployer/recipes/recipe/cachetool.php
. Seems composer install
caused a update to last version set and now cachetool.php
is located elsewhere. Did the recipes path change in 6.8?
I am cleaning up on issues. Fill free to reopen if needed. Also, we have a new section available: discussions.
When following the installation guidelines for Deployer Recipes a warning is thrown:
Package deployer/recipes is abandoned, you should avoid using it. No replacement was suggested.
The deployerphp/recipes repo has been archived in favour of baking them directly into the main repo.
The problem is the start of my deploy.php follows the usage examples like this:
Which throws this PHP Warning:
I thought maybe I just need to point my
require
paths to the new location in the "contrib" directory. But it doesn't exist.My projects installation (via composer) doesn't contain any "contrib" folder or recipes as-per the official repo in the 'vendors' folder:
Globally I have version 6.8.0 of the "deployer.phar" installed.
Via Composer I am using
I'm not particularly proficient with PHP so this is possibly a user error (especially when understanding scopes). I just can't seem to see any obvious way to include those recipes anymore. If that is the case I might suggest that the recipe installation guidelines need clearer instructions for the less experienced developers like myself.
In the meantime I'm going to continue using the archived recipes