How to modify / debug / develop Deployer package locally #3609
Unanswered
dvdinbox
asked this question in
Help needed
Replies: 1 comment
-
Deployer ships as a phar package. One simple way is to just redefine needed task in deploy.php. Another just clone the repo, composer install and use ~/path/to/deployer/bin/dep. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having an issue with this package (link below)
I'd like to try to debug and test changes to solve my issue but I can't figure out how to do that. Please note I'm relatively new to the php / composer ecosystem.
Here's what I tried.
Copied the deployer package to an alternate location and update composer.json to the following:
updated the problem 'provision:website' task in the copied package located at ./deployer/recipe/provision/website.php with
I delete the composer lock file and run composer install which reports
Package operations: 0 installs, 1 update, 0 removals
When I run
dep provision:web
, myinfo("DEBUG");
code is not execute at all. The original issue persistsHow can I debug and test changes to this package?
Related Issue:
#3542
Beta Was this translation helpful? Give feedback.
All reactions