`whippet deploy` PHP Fatal error: Call to private method Dxw\Whippet\Dependencies\Installer::install()
tommarshall opened this issue · 0 comments
tommarshall commented
whippet deploy
is throwing a PHP Fatal error and failing deploy on the current version of the master branch (ee90be0).
Reduced test case:
mkdir /tmp/whippet-testing
cd /tmp/whippet-testing
git clone git@github.com:dxw/whippet.git
whippet/bin/whippet generate app
mkdir -p htdocs/{shared/uploads,releases}
touch htdocs/shared/wp-config.php
cd whippet-app
../whippet/bin/whippet deps migrate # `whippet generate app` generates old `plugins` manifest
git init
git add .
git commit -m 'foo'
../whippet/bin/whippet deps update
../whippet/bin/whippet deploy ../htdocs
Output from ../whippet/bin/whippet deploy ../htdocs
:
Cloning into '../htdocs/releases/2d20a81f66cefdfbb7fd27c462c28829f91cef8a'...
remote: Counting objects: 256225, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 256225 (delta 3), reused 0 (delta 0), pack-reused 256214
Receiving objects: 100% (256225/256225), 165.80 MiB | 3.26 MiB/s, done.
Resolving deltas: 100% (202037/202037), done.
Already on 'master'
PHP Fatal error: Call to private method Dxw\Whippet\Dependencies\Installer::install() from context 'Dxw\Whippet\Modules\Release' in /private/tmp/whippet-testing/whippet/src/Modules/Release.php on line 87
Fatal error: Call to private method Dxw\Whippet\Dependencies\Installer::install() from context 'Dxw\Whippet\Modules\Release' in /private/tmp/whippet-testing/whippet/src/Modules/Release.php on line 87
git bisect
suggests this was introduced by 8caec0e.